summaryrefslogtreecommitdiff
path: root/src/libstrongswan/asn1/oid.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstrongswan/asn1/oid.c')
-rw-r--r--src/libstrongswan/asn1/oid.c276
1 files changed, 173 insertions, 103 deletions
diff --git a/src/libstrongswan/asn1/oid.c b/src/libstrongswan/asn1/oid.c
index 63896be6b..f9eb26d1d 100644
--- a/src/libstrongswan/asn1/oid.c
+++ b/src/libstrongswan/asn1/oid.c
@@ -62,10 +62,10 @@ const oid_t oid_names[] = {
{ 0x25, 50, 0, "extendedKeyUsage" }, /* 49 */
{ 0x37, 51, 0, "targetInformation" }, /* 50 */
{ 0x38, 0, 0, "noRevAvail" }, /* 51 */
- {0x2A, 95, 1, "" }, /* 52 */
+ {0x2A, 131, 1, "" }, /* 52 */
{ 0x86, 0, 1, "" }, /* 53 */
{ 0x48, 0, 1, "" }, /* 54 */
- { 0x86, 0, 1, "" }, /* 55 */
+ { 0x86, 95, 1, "" }, /* 55 */
{ 0xF6, 61, 1, "" }, /* 56 */
{ 0x7D, 0, 1, "NortelNetworks" }, /* 57 */
{ 0x07, 0, 1, "Entrust" }, /* 58 */
@@ -105,105 +105,175 @@ const oid_t oid_names[] = {
{ 0x05, 0, 0, "md5" }, /* 92 */
{ 0x03, 0, 1, "encryptionAlgorithm" }, /* 93 */
{ 0x07, 0, 0, "3des-ede-cbc" }, /* 94 */
- {0x2B, 161, 1, "" }, /* 95 */
- { 0x06, 148, 1, "dod" }, /* 96 */
- { 0x01, 0, 1, "internet" }, /* 97 */
- { 0x04, 116, 1, "private" }, /* 98 */
- { 0x01, 0, 1, "enterprise" }, /* 99 */
- { 0x82, 109, 1, "" }, /* 100 */
- { 0x37, 0, 1, "Microsoft" }, /* 101 */
- { 0x0A, 106, 1, "" }, /* 102 */
- { 0x03, 0, 1, "" }, /* 103 */
- { 0x03, 105, 0, "msSGC" }, /* 104 */
- { 0x04, 0, 0, "msEncryptingFileSystem" }, /* 105 */
- { 0x14, 0, 1, "msEnrollmentInfrastructure"}, /* 106 */
- { 0x02, 0, 1, "msCertificateTypeExtension"}, /* 107 */
- { 0x02, 0, 0, "msSmartcardLogon" }, /* 108 */
- { 0x89, 0, 1, "" }, /* 109 */
- { 0x31, 0, 1, "" }, /* 110 */
- { 0x01, 0, 1, "" }, /* 111 */
- { 0x01, 0, 1, "" }, /* 112 */
- { 0x02, 0, 1, "" }, /* 113 */
- { 0x02, 115, 0, "" }, /* 114 */
- { 0x4B, 0, 0, "TCGID" }, /* 115 */
- { 0x05, 0, 1, "security" }, /* 116 */
- { 0x05, 0, 1, "mechanisms" }, /* 117 */
- { 0x07, 0, 1, "id-pkix" }, /* 118 */
- { 0x01, 121, 1, "id-pe" }, /* 119 */
- { 0x01, 0, 0, "authorityInfoAccess" }, /* 120 */
- { 0x03, 131, 1, "id-kp" }, /* 121 */
- { 0x01, 123, 0, "serverAuth" }, /* 122 */
- { 0x02, 124, 0, "clientAuth" }, /* 123 */
- { 0x03, 125, 0, "codeSigning" }, /* 124 */
- { 0x04, 126, 0, "emailProtection" }, /* 125 */
- { 0x05, 127, 0, "ipsecEndSystem" }, /* 126 */
- { 0x06, 128, 0, "ipsecTunnel" }, /* 127 */
- { 0x07, 129, 0, "ipsecUser" }, /* 128 */
- { 0x08, 130, 0, "timeStamping" }, /* 129 */
- { 0x09, 0, 0, "ocspSigning" }, /* 130 */
- { 0x08, 133, 1, "id-otherNames" }, /* 131 */
- { 0x05, 0, 0, "xmppAddr" }, /* 132 */
- { 0x0A, 138, 1, "id-aca" }, /* 133 */
- { 0x01, 135, 0, "authenticationInfo" }, /* 134 */
- { 0x02, 136, 0, "accessIdentity" }, /* 135 */
- { 0x03, 137, 0, "chargingIdentity" }, /* 136 */
- { 0x04, 0, 0, "group" }, /* 137 */
- { 0x30, 0, 1, "id-ad" }, /* 138 */
- { 0x01, 147, 1, "ocsp" }, /* 139 */
- { 0x01, 141, 0, "basic" }, /* 140 */
- { 0x02, 142, 0, "nonce" }, /* 141 */
- { 0x03, 143, 0, "crl" }, /* 142 */
- { 0x04, 144, 0, "response" }, /* 143 */
- { 0x05, 145, 0, "noCheck" }, /* 144 */
- { 0x06, 146, 0, "archiveCutoff" }, /* 145 */
- { 0x07, 0, 0, "serviceLocator" }, /* 146 */
- { 0x02, 0, 0, "caIssuers" }, /* 147 */
- { 0x0E, 154, 1, "oiw" }, /* 148 */
- { 0x03, 0, 1, "secsig" }, /* 149 */
- { 0x02, 0, 1, "algorithms" }, /* 150 */
- { 0x07, 152, 0, "des-cbc" }, /* 151 */
- { 0x1A, 153, 0, "sha-1" }, /* 152 */
- { 0x1D, 0, 0, "sha-1WithRSASignature" }, /* 153 */
- { 0x24, 0, 1, "TeleTrusT" }, /* 154 */
- { 0x03, 0, 1, "algorithm" }, /* 155 */
- { 0x03, 0, 1, "signatureAlgorithm" }, /* 156 */
- { 0x01, 0, 1, "rsaSignature" }, /* 157 */
- { 0x02, 159, 0, "rsaSigWithripemd160" }, /* 158 */
- { 0x03, 160, 0, "rsaSigWithripemd128" }, /* 159 */
- { 0x04, 0, 0, "rsaSigWithripemd256" }, /* 160 */
- {0x60, 0, 1, "" }, /* 161 */
- { 0x86, 0, 1, "" }, /* 162 */
- { 0x48, 0, 1, "" }, /* 163 */
- { 0x01, 0, 1, "organization" }, /* 164 */
- { 0x65, 172, 1, "gov" }, /* 165 */
- { 0x03, 0, 1, "csor" }, /* 166 */
- { 0x04, 0, 1, "nistalgorithm" }, /* 167 */
- { 0x02, 0, 1, "hashalgs" }, /* 168 */
- { 0x01, 170, 0, "id-SHA-256" }, /* 169 */
- { 0x02, 171, 0, "id-SHA-384" }, /* 170 */
- { 0x03, 0, 0, "id-SHA-512" }, /* 171 */
- { 0x86, 0, 1, "" }, /* 172 */
- { 0xf8, 0, 1, "" }, /* 173 */
- { 0x42, 186, 1, "netscape" }, /* 174 */
- { 0x01, 181, 1, "" }, /* 175 */
- { 0x01, 177, 0, "nsCertType" }, /* 176 */
- { 0x03, 178, 0, "nsRevocationUrl" }, /* 177 */
- { 0x04, 179, 0, "nsCaRevocationUrl" }, /* 178 */
- { 0x08, 180, 0, "nsCaPolicyUrl" }, /* 179 */
- { 0x0d, 0, 0, "nsComment" }, /* 180 */
- { 0x03, 184, 1, "directory" }, /* 181 */
- { 0x01, 0, 1, "" }, /* 182 */
- { 0x03, 0, 0, "employeeNumber" }, /* 183 */
- { 0x04, 0, 1, "policy" }, /* 184 */
- { 0x01, 0, 0, "nsSGC" }, /* 185 */
- { 0x45, 0, 1, "verisign" }, /* 186 */
- { 0x01, 0, 1, "pki" }, /* 187 */
- { 0x09, 0, 1, "attributes" }, /* 188 */
- { 0x02, 190, 0, "messageType" }, /* 189 */
- { 0x03, 191, 0, "pkiStatus" }, /* 190 */
- { 0x04, 192, 0, "failInfo" }, /* 191 */
- { 0x05, 193, 0, "senderNonce" }, /* 192 */
- { 0x06, 194, 0, "recipientNonce" }, /* 193 */
- { 0x07, 195, 0, "transID" }, /* 194 */
- { 0x08, 0, 0, "extensionReq" } /* 195 */
+ { 0xCE, 0, 1, "" }, /* 95 */
+ { 0x3D, 0, 1, "ansi-X9-62" }, /* 96 */
+ { 0x02, 99, 1, "id-publicKeyType" }, /* 97 */
+ { 0x01, 0, 0, "id-ecPublicKey" }, /* 98 */
+ { 0x03, 129, 1, "ellipticCurve" }, /* 99 */
+ { 0x00, 121, 1, "c-TwoCurve" }, /* 100 */
+ { 0x01, 102, 0, "c2pnb163v1" }, /* 101 */
+ { 0x02, 103, 0, "c2pnb163v2" }, /* 102 */
+ { 0x03, 104, 0, "c2pnb163v3" }, /* 103 */
+ { 0x04, 105, 0, "c2pnb176w1" }, /* 104 */
+ { 0x05, 106, 0, "c2tnb191v1" }, /* 105 */
+ { 0x06, 107, 0, "c2tnb191v2" }, /* 106 */
+ { 0x07, 108, 0, "c2tnb191v3" }, /* 107 */
+ { 0x08, 109, 0, "c2onb191v4" }, /* 108 */
+ { 0x09, 110, 0, "c2onb191v5" }, /* 109 */
+ { 0x0A, 111, 0, "c2pnb208w1" }, /* 110 */
+ { 0x0B, 112, 0, "c2tnb239v1" }, /* 111 */
+ { 0x0C, 113, 0, "c2tnb239v2" }, /* 112 */
+ { 0x0D, 114, 0, "c2tnb239v3" }, /* 113 */
+ { 0x0E, 115, 0, "c2onb239v4" }, /* 114 */
+ { 0x0F, 116, 0, "c2onb239v5" }, /* 115 */
+ { 0x10, 117, 0, "c2pnb272w1" }, /* 116 */
+ { 0x11, 118, 0, "c2pnb304w1" }, /* 117 */
+ { 0x12, 119, 0, "c2tnb359v1" }, /* 118 */
+ { 0x13, 120, 0, "c2pnb368w1" }, /* 119 */
+ { 0x14, 0, 0, "c2tnb431r1" }, /* 120 */
+ { 0x01, 0, 1, "primeCurve" }, /* 121 */
+ { 0x01, 123, 0, "prime192v1" }, /* 122 */
+ { 0x02, 124, 0, "prime192v2" }, /* 123 */
+ { 0x03, 125, 0, "prime192v3" }, /* 124 */
+ { 0x04, 126, 0, "prime239v1" }, /* 125 */
+ { 0x05, 127, 0, "prime239v2" }, /* 126 */
+ { 0x06, 128, 0, "prime239v3" }, /* 127 */
+ { 0x07, 0, 0, "prime256v1" }, /* 128 */
+ { 0x04, 0, 1, "id-ecSigType" }, /* 129 */
+ { 0x01, 0, 0, "ecdsa-with-SHA1" }, /* 130 */
+ {0x2B, 231, 1, "" }, /* 131 */
+ { 0x06, 184, 1, "dod" }, /* 132 */
+ { 0x01, 0, 1, "internet" }, /* 133 */
+ { 0x04, 152, 1, "private" }, /* 134 */
+ { 0x01, 0, 1, "enterprise" }, /* 135 */
+ { 0x82, 145, 1, "" }, /* 136 */
+ { 0x37, 0, 1, "Microsoft" }, /* 137 */
+ { 0x0A, 142, 1, "" }, /* 138 */
+ { 0x03, 0, 1, "" }, /* 139 */
+ { 0x03, 141, 0, "msSGC" }, /* 140 */
+ { 0x04, 0, 0, "msEncryptingFileSystem" }, /* 141 */
+ { 0x14, 0, 1, "msEnrollmentInfrastructure"}, /* 142 */
+ { 0x02, 0, 1, "msCertificateTypeExtension"}, /* 143 */
+ { 0x02, 0, 0, "msSmartcardLogon" }, /* 144 */
+ { 0x89, 0, 1, "" }, /* 145 */
+ { 0x31, 0, 1, "" }, /* 146 */
+ { 0x01, 0, 1, "" }, /* 147 */
+ { 0x01, 0, 1, "" }, /* 148 */
+ { 0x02, 0, 1, "" }, /* 149 */
+ { 0x02, 151, 0, "" }, /* 150 */
+ { 0x4B, 0, 0, "TCGID" }, /* 151 */
+ { 0x05, 0, 1, "security" }, /* 152 */
+ { 0x05, 0, 1, "mechanisms" }, /* 153 */
+ { 0x07, 0, 1, "id-pkix" }, /* 154 */
+ { 0x01, 157, 1, "id-pe" }, /* 155 */
+ { 0x01, 0, 0, "authorityInfoAccess" }, /* 156 */
+ { 0x03, 167, 1, "id-kp" }, /* 157 */
+ { 0x01, 159, 0, "serverAuth" }, /* 158 */
+ { 0x02, 160, 0, "clientAuth" }, /* 159 */
+ { 0x03, 161, 0, "codeSigning" }, /* 160 */
+ { 0x04, 162, 0, "emailProtection" }, /* 161 */
+ { 0x05, 163, 0, "ipsecEndSystem" }, /* 162 */
+ { 0x06, 164, 0, "ipsecTunnel" }, /* 163 */
+ { 0x07, 165, 0, "ipsecUser" }, /* 164 */
+ { 0x08, 166, 0, "timeStamping" }, /* 165 */
+ { 0x09, 0, 0, "ocspSigning" }, /* 166 */
+ { 0x08, 169, 1, "id-otherNames" }, /* 167 */
+ { 0x05, 0, 0, "xmppAddr" }, /* 168 */
+ { 0x0A, 174, 1, "id-aca" }, /* 169 */
+ { 0x01, 171, 0, "authenticationInfo" }, /* 170 */
+ { 0x02, 172, 0, "accessIdentity" }, /* 171 */
+ { 0x03, 173, 0, "chargingIdentity" }, /* 172 */
+ { 0x04, 0, 0, "group" }, /* 173 */
+ { 0x30, 0, 1, "id-ad" }, /* 174 */
+ { 0x01, 183, 1, "ocsp" }, /* 175 */
+ { 0x01, 177, 0, "basic" }, /* 176 */
+ { 0x02, 178, 0, "nonce" }, /* 177 */
+ { 0x03, 179, 0, "crl" }, /* 178 */
+ { 0x04, 180, 0, "response" }, /* 179 */
+ { 0x05, 181, 0, "noCheck" }, /* 180 */
+ { 0x06, 182, 0, "archiveCutoff" }, /* 181 */
+ { 0x07, 0, 0, "serviceLocator" }, /* 182 */
+ { 0x02, 0, 0, "caIssuers" }, /* 183 */
+ { 0x0E, 190, 1, "oiw" }, /* 184 */
+ { 0x03, 0, 1, "secsig" }, /* 185 */
+ { 0x02, 0, 1, "algorithms" }, /* 186 */
+ { 0x07, 188, 0, "des-cbc" }, /* 187 */
+ { 0x1A, 189, 0, "sha-1" }, /* 188 */
+ { 0x1D, 0, 0, "sha-1WithRSASignature" }, /* 189 */
+ { 0x24, 197, 1, "TeleTrusT" }, /* 190 */
+ { 0x03, 0, 1, "algorithm" }, /* 191 */
+ { 0x03, 0, 1, "signatureAlgorithm" }, /* 192 */
+ { 0x01, 0, 1, "rsaSignature" }, /* 193 */
+ { 0x02, 195, 0, "rsaSigWithripemd160" }, /* 194 */
+ { 0x03, 196, 0, "rsaSigWithripemd128" }, /* 195 */
+ { 0x04, 0, 0, "rsaSigWithripemd256" }, /* 196 */
+ { 0x81, 0, 1, "" }, /* 197 */
+ { 0x04, 0, 1, "Certicom" }, /* 198 */
+ { 0x00, 0, 1, "curve" }, /* 199 */
+ { 0x01, 201, 0, "sect163k1" }, /* 200 */
+ { 0x02, 202, 0, "sect163r1" }, /* 201 */
+ { 0x03, 203, 0, "sect239k1" }, /* 202 */
+ { 0x04, 204, 0, "sect113r1" }, /* 203 */
+ { 0x05, 205, 0, "sect113r2" }, /* 204 */
+ { 0x06, 206, 0, "secp112r1" }, /* 205 */
+ { 0x07, 207, 0, "secp112r2" }, /* 206 */
+ { 0x08, 208, 0, "secp160r1" }, /* 207 */
+ { 0x09, 209, 0, "secp160k1" }, /* 208 */
+ { 0x0A, 210, 0, "secp256k1" }, /* 209 */
+ { 0x0F, 211, 0, "sect163r2" }, /* 210 */
+ { 0x10, 212, 0, "sect283k1" }, /* 211 */
+ { 0x11, 213, 0, "sect283r1" }, /* 212 */
+ { 0x16, 214, 0, "sect131r1" }, /* 213 */
+ { 0x17, 215, 0, "sect131r2" }, /* 214 */
+ { 0x18, 216, 0, "sect193r1" }, /* 215 */
+ { 0x19, 217, 0, "sect193r2" }, /* 216 */
+ { 0x1A, 218, 0, "sect233k1" }, /* 217 */
+ { 0x1B, 219, 0, "sect233r1" }, /* 218 */
+ { 0x1C, 220, 0, "secp128r1" }, /* 219 */
+ { 0x1D, 221, 0, "secp128r2" }, /* 220 */
+ { 0x1E, 222, 0, "secp160r2" }, /* 221 */
+ { 0x1F, 223, 0, "secp192k1" }, /* 222 */
+ { 0x20, 224, 0, "secp224k1" }, /* 223 */
+ { 0x21, 225, 0, "secp224r1" }, /* 224 */
+ { 0x22, 226, 0, "secp384r1" }, /* 225 */
+ { 0x23, 227, 0, "secp521r1" }, /* 226 */
+ { 0x24, 228, 0, "sect409k1" }, /* 227 */
+ { 0x25, 229, 0, "sect409r1" }, /* 228 */
+ { 0x26, 230, 0, "sect571k1" }, /* 229 */
+ { 0x27, 0, 0, "sect571r1" }, /* 230 */
+ {0x60, 0, 1, "" }, /* 231 */
+ { 0x86, 0, 1, "" }, /* 232 */
+ { 0x48, 0, 1, "" }, /* 233 */
+ { 0x01, 0, 1, "organization" }, /* 234 */
+ { 0x65, 242, 1, "gov" }, /* 235 */
+ { 0x03, 0, 1, "csor" }, /* 236 */
+ { 0x04, 0, 1, "nistalgorithm" }, /* 237 */
+ { 0x02, 0, 1, "hashalgs" }, /* 238 */
+ { 0x01, 240, 0, "id-SHA-256" }, /* 239 */
+ { 0x02, 241, 0, "id-SHA-384" }, /* 240 */
+ { 0x03, 0, 0, "id-SHA-512" }, /* 241 */
+ { 0x86, 0, 1, "" }, /* 242 */
+ { 0xf8, 0, 1, "" }, /* 243 */
+ { 0x42, 256, 1, "netscape" }, /* 244 */
+ { 0x01, 251, 1, "" }, /* 245 */
+ { 0x01, 247, 0, "nsCertType" }, /* 246 */
+ { 0x03, 248, 0, "nsRevocationUrl" }, /* 247 */
+ { 0x04, 249, 0, "nsCaRevocationUrl" }, /* 248 */
+ { 0x08, 250, 0, "nsCaPolicyUrl" }, /* 249 */
+ { 0x0d, 0, 0, "nsComment" }, /* 250 */
+ { 0x03, 254, 1, "directory" }, /* 251 */
+ { 0x01, 0, 1, "" }, /* 252 */
+ { 0x03, 0, 0, "employeeNumber" }, /* 253 */
+ { 0x04, 0, 1, "policy" }, /* 254 */
+ { 0x01, 0, 0, "nsSGC" }, /* 255 */
+ { 0x45, 0, 1, "verisign" }, /* 256 */
+ { 0x01, 0, 1, "pki" }, /* 257 */
+ { 0x09, 0, 1, "attributes" }, /* 258 */
+ { 0x02, 260, 0, "messageType" }, /* 259 */
+ { 0x03, 261, 0, "pkiStatus" }, /* 260 */
+ { 0x04, 262, 0, "failInfo" }, /* 261 */
+ { 0x05, 263, 0, "senderNonce" }, /* 262 */
+ { 0x06, 264, 0, "recipientNonce" }, /* 263 */
+ { 0x07, 265, 0, "transID" }, /* 264 */
+ { 0x08, 0, 0, "extensionReq" } /* 265 */
};