Overview
Comment: | Break out some ASN.1 to OFString conversion functionality |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
8cb0b716eaea87248bbf00cccaf9d901 |
User & Date: | florob@babelmonkeys.de on 2011-10-07 23:56:55 |
Other Links: | manifest | tags |
Context
2011-10-08
| ||
03:44 | Add support for fetching some SAN types from X509 certificates check-in: ca9555b85f user: florob@babelmonkeys.de tags: trunk | |
2011-10-07
| ||
23:56 | Break out some ASN.1 to OFString conversion functionality check-in: 8cb0b716ea user: florob@babelmonkeys.de tags: trunk | |
23:13 | Very basic X509 class check-in: 057c289c6b user: florob@babelmonkeys.de tags: trunk | |
Changes
Modified src/X509Certificate.h from [a776e0422b] to [24b4f5fcd2].
︙ | |||
35 36 37 38 39 40 41 42 | 35 36 37 38 39 40 41 42 43 44 | + + | #endif - initWithFile: (OFString*)file; - initWithStruct: (X509*)cert; - (OFDictionary*)issuer; - (OFDictionary*)subject; - (OFDictionary*)X509_dictionaryFromX509Name: (X509_NAME*)name; - (OFString*)X509_stringFromASN1Object: (ASN1_OBJECT*)obj; - (OFString*) X509_stringFromASN1String: (ASN1_STRING*)str; @end |
Modified src/X509Certificate.m from [4b0c950416] to [235fa6b4e5].
︙ | |||
100 101 102 103 104 105 106 | 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 | - - - - - + + - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + | { int i; int count = X509_NAME_entry_count(name); OFAutoreleasePool *pool = [[OFAutoreleasePool alloc] init]; OFMutableDictionary *dict = [OFMutableDictionary dictionary]; for (i = 0; i < count; i++) { |