Differences From Artifact [24b4f5fcd2]:
- File src/X509Certificate.h — part of check-in [8cb0b716ea] at 2011-10-07 23:56:55 on branch trunk — Break out some ASN.1 to OFString conversion functionality (user: florob@babelmonkeys.de, size: 1627) [annotate] [blame] [check-ins using]
To Artifact [61c41fa21c]:
- File
src/X509Certificate.h
— part of check-in
[ca9555b85f]
at
2011-10-08 03:44:36
on branch trunk
— Add support for fetching some SAN types from X509 certificates
Note: valgrind complains about uninitialized data when UTF8Strings are passed to
ASN1_STRING_to_UTF8(), however the result is fine. Accessing the same data by
other means does not yield the error, I therefore suspect it a false positive. (user: florob@babelmonkeys.de, size: 1668) [annotate] [blame] [check-ins using]
︙ | |||
34 35 36 37 38 39 40 41 42 43 44 | 34 35 36 37 38 39 40 41 42 43 44 45 | + | // @property (opts) Type *name; #endif - initWithFile: (OFString*)file; - initWithStruct: (X509*)cert; - (OFDictionary*)issuer; - (OFDictionary*)subject; - (OFDictionary*)subjectAlternativeName; - (OFDictionary*)X509_dictionaryFromX509Name: (X509_NAME*)name; - (OFString*)X509_stringFromASN1Object: (ASN1_OBJECT*)obj; - (OFString*) X509_stringFromASN1String: (ASN1_STRING*)str; @end |