aboutsummaryrefslogtreecommitdiffstats
path: root/kbx/keybox-blob.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * keybox-defs.h: New BLOBTYPTE_EMPTY.Werner Koch2002-07-221-3/+12
| | | | | | | | | | * keybox-dump.c (_keybox_dump_blob): Handle new type. * keybox-file.c (_keybox_read_blob): Skip over empty blobs. Store the file offset. * keybox-blob.c (_keybox_new_blob): Add new arg OFF. (_keybox_get_blob_fileoffset): New. * keybox-update.c (keybox_delete): Implemented.
* * keybox-init.c (keybox_set_ephemeral): New.Werner Koch2002-06-191-8/+9
| | | | | | | | | | | * keybox-blob.c (create_blob_header): Store epheermal flag. (_keybox_create_x509_blob): Pass epheermal flag on. * keybox-update.c (keybox_insert_cert): Ditto. * keybox-search.c (blob_get_blob_flags): New. (keybox_search): Ignore ephemeral blobs when not in ephemeral mode. * keybox-dump.c (_keybox_dump_blob): Print blob flags as strings.
* * keybox-blob.c (_keybox_create_x509_blob): Skip the leadingWerner Koch2001-12-201-7/+13
| | | | | | | parenthesis of the serial number's S-exp. (_keybox_create_x509_blob): And fixed length calculation. (create_blob_header): Don't add an offset when writing the serial.
* * keybox-blob.c (_keybox_create_x509_blob): Skip the leadingWerner Koch2001-12-201-1/+5
| | | | | parenthesis of the serial number's S-exp.
* Changes to be used with the new libksba interface.Werner Koch2001-12-181-3/+11
| | | | | libgcrypt-1.1.5 is required (cvs or tarball)
* * keybox-blob.c (x509_email_kludge): New.Werner Koch2001-12-141-14/+22
| | | | | | | (_keybox_create_x509_blob): Insert an extra email address if the subject's DN has an email part. * keybox-defs.h: Added the xtoi_2 and digitp macros.
* * util.h (digitp, hexdigitp): New ctype like macros.Werner Koch2001-12-141-1/+28
| | | | | | | | (atoi_1,atoi_2,atoi_4,xtoi_1,xtoi_2): New. * command.c: Removed the conversion macros as they are now in ../common/util.h.
* * keybox-search.c (blob_cmp_name): Kludge to allow searching forWerner Koch2001-12-131-18/+55
| | | | | | | | | | | | more than one name. (has_subject_or_alt): New. (blob_cmp_mail): New. (has_mail): New. (keybox_search): Implemented exact search and exact mail search. * kbx/keybox-blob.c (_keybox_create_x509_blob): Insert alternate names.
* We have reached a state where we are able to import certs andWerner Koch2001-11-131-81/+233
| | | | | check the certification path.
* Started with keybox implementation by basing it on code from the GnuPGWerner Koch2001-11-101-0/+755
devel branch.