Differences From Artifact [f03e4c690c]:
- File
asn1-x509.h
— part of check-in
[ef50f6c143]
at
2010-05-20 23:45:53
on branch trunk
— Corrected unpadding
Changed label to be generated, rather than derived from card
Added support for reading the modulus and exponent from an X.509 certificate
Added additional attributes (user: rkeene, size: 825) [annotate] [blame] [check-ins using]
To Artifact [69520a462e]:
- File
asn1-x509.h
— part of check-in
[02f5cea2da]
at
2011-09-08 01:47:17
on branch trunk
— CACKey 0.6.2
Updated to include sha1.c, md5.c, and asn1-x509.c in the cackey.c translation unit so that these symbols never get exported and conflict with existing programs
Updated to try harder to remove and weaken symbols from shared object (user: rkeene, size: 874) [annotate] [blame] [check-ins using]
1 2 3 4 5 6 7 8 9 10 11 12 | #ifndef USACEIT_ASN1_X509_H #define USACEIT_ASN1_X509_H 1 #ifdef HAVE_CONFIG_H # include "config.h" # ifdef HAVE_UNISTD_H # include <unistd.h> # endif #else # include <unistd.h> #endif | | | | | | | | | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | #ifndef USACEIT_ASN1_X509_H #define USACEIT_ASN1_X509_H 1 #ifdef HAVE_CONFIG_H # include "config.h" # ifdef HAVE_UNISTD_H # include <unistd.h> # endif #else # include <unistd.h> #endif static ssize_t x509_to_subject(void *x509_der_buf, size_t x509_der_buf_len, void **outbuf); static ssize_t x509_to_issuer(void *x509_der_buf, size_t x509_der_buf_len, void **outbuf); static ssize_t x509_to_serial(void *x509_der_buf, size_t x509_der_buf_len, void **outbuf); static ssize_t x509_to_modulus(void *x509_der_buf, size_t x509_der_buf_len, void **outbuf); static ssize_t x509_to_exponent(void *x509_der_buf, size_t x509_der_buf_len, void **outbuf); static ssize_t x509_to_keysize(void *x509_der_buf, size_t x509_der_buf_len); static ssize_t x509_dn_to_string(void *asn1_der_buf, size_t asn1_der_buf_len, char *outbuf, size_t outbuf_len, char *matchlabel); #endif |