hare

[hare] The Hare programming language
git clone https://git.torresjrjr.com/hare.git
Log | Files | Refs | README | LICENSE

db.ha (10703B)


      1 // SPDX-License-Identifier: MPL-2.0
      2 // (c) Hare authors <https://harelang.org>
      3 // This is an auto generated file. Do not edit.
      4 
      5 use encoding::asn1;
      6 
      7 const _db = asn1::oiddb {
      8 	lut = [
      9 		0x03, 0x2b, 0x65, 0x70, 0x09, 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x0d, 0x01,
     10 		0x01, 0x01, 0x09, 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x0d, 0x01, 0x01, 0x05,
     11 		0x09, 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x0d, 0x01, 0x01, 0x08, 0x09, 0x2a,
     12 		0x86, 0x48, 0x86, 0xf7, 0x0d, 0x01, 0x01, 0x0a, 0x09, 0x2a, 0x86, 0x48,
     13 		0x86, 0xf7, 0x0d, 0x01, 0x01, 0x0e, 0x09, 0x2a, 0x86, 0x48, 0x86, 0xf7,
     14 		0x0d, 0x01, 0x01, 0x0b, 0x09, 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x0d, 0x01,
     15 		0x01, 0x0c, 0x09, 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x0d, 0x01, 0x01, 0x0d,
     16 		0x05, 0x2b, 0x0e, 0x03, 0x02, 0x1a, 0x09, 0x60, 0x86, 0x48, 0x01, 0x65,
     17 		0x03, 0x04, 0x02, 0x01, 0x09, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04,
     18 		0x02, 0x02, 0x09, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x03,
     19 		0x09, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x04, 0x07, 0x2a,
     20 		0x86, 0x48, 0xce, 0x3d, 0x02, 0x01, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d,
     21 		0x03, 0x01, 0x07, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x03, 0x01, 0x07,
     22 		0x05, 0x2b, 0x81, 0x04, 0x00, 0x22, 0x05, 0x2b, 0x81, 0x04, 0x00, 0x23,
     23 		0x07, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x01, 0x08, 0x2a, 0x86, 0x48,
     24 		0xce, 0x3d, 0x04, 0x03, 0x01, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04,
     25 		0x03, 0x02, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x03, 0x08,
     26 		0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x04, 0x03, 0x55, 0x04, 0x03,
     27 		0x03, 0x55, 0x04, 0x04, 0x03, 0x55, 0x04, 0x05, 0x03, 0x55, 0x04, 0x06,
     28 		0x03, 0x55, 0x04, 0x07, 0x03, 0x55, 0x04, 0x08, 0x03, 0x55, 0x04, 0x0a,
     29 		0x03, 0x55, 0x04, 0x0b, 0x03, 0x55, 0x04, 0x0c, 0x03, 0x55, 0x04, 0x2a,
     30 		0x03, 0x55, 0x04, 0x2b, 0x03, 0x55, 0x04, 0x2b, 0x03, 0x55, 0x04, 0x2e,
     31 		0x03, 0x55, 0x04, 0x41, 0x0a, 0x09, 0x92, 0x26, 0x89, 0x93, 0xf2, 0x2c,
     32 		0x64, 0x01, 0x19, 0x03, 0x55, 0x1d, 0x09, 0x03, 0x55, 0x1d, 0x0e, 0x03,
     33 		0x55, 0x1d, 0x0f, 0x03, 0x55, 0x1d, 0x11, 0x03, 0x55, 0x1d, 0x12, 0x03,
     34 		0x55, 0x1d, 0x13, 0x03, 0x55, 0x1d, 0x1e, 0x03, 0x55, 0x1d, 0x1f, 0x03,
     35 		0x55, 0x1d, 0x20, 0x03, 0x55, 0x1d, 0x21, 0x03, 0x55, 0x1d, 0x23, 0x03,
     36 		0x55, 0x1d, 0x24, 0x03, 0x55, 0x1d, 0x25, 0x03, 0x55, 0x1d, 0x2e, 0x03,
     37 		0x55, 0x1d, 0x36, 0x04, 0x55, 0x1d, 0x25, 0x00, 0x08, 0x2b, 0x06, 0x01,
     38 		0x05, 0x05, 0x07, 0x03, 0x01, 0x08, 0x2b, 0x06, 0x01, 0x05, 0x05, 0x07,
     39 		0x03, 0x02, 0x08, 0x2b, 0x06, 0x01, 0x05, 0x05, 0x07, 0x03, 0x03, 0x08,
     40 		0x2b, 0x06, 0x01, 0x05, 0x05, 0x07, 0x03, 0x04, 0x08, 0x2b, 0x06, 0x01,
     41 		0x05, 0x05, 0x07, 0x03, 0x08, 0x08, 0x2b, 0x06, 0x01, 0x05, 0x05, 0x07,
     42 		0x03, 0x09,
     43 	],
     44 	index = [
     45 		0x0000, 0x0004, 0x000e, 0x0018, 0x0022, 0x002c, 0x0036, 0x0040, 0x004a,
     46 		0x0054, 0x005a, 0x0064, 0x006e, 0x0078, 0x0082, 0x008a, 0x0093, 0x009c,
     47 		0x00a2, 0x00a8, 0x00b0, 0x00b9, 0x00c2, 0x00cb, 0x00d4, 0x00d8, 0x00dc,
     48 		0x00e0, 0x00e4, 0x00e8, 0x00ec, 0x00f0, 0x00f4, 0x00f8, 0x00fc, 0x0100,
     49 		0x0104, 0x0108, 0x010c, 0x0117, 0x011b, 0x011f, 0x0123, 0x0127, 0x012b,
     50 		0x012f, 0x0133, 0x0137, 0x013b, 0x013f, 0x0143, 0x0147, 0x014b, 0x014f,
     51 		0x0153, 0x0158, 0x0161, 0x016a, 0x0173, 0x017c, 0x0185,
     52 	],
     53 	names = [
     54 		"ed25519",
     55 		"rsaEncryption",
     56 		"sha1WithRSAEncryption",
     57 		"id-mgf1",
     58 		"rsassa-pss",
     59 		"sha224WithRSAEncryption",
     60 		"sha256WithRSAEncryption",
     61 		"sha384WithRSAEncryption",
     62 		"sha512WithRSAEncryption",
     63 		"id-sha1",
     64 		"id-sha256",
     65 		"id-sha384",
     66 		"id-sha512",
     67 		"id-sha224",
     68 		"id-ecPublicKey",
     69 		"prime256v1",
     70 		"ansix9p256r1",
     71 		"ansix9p384r1",
     72 		"ansix9p521r1",
     73 		"ecdsa-with-SHA1",
     74 		"ecdsa-with-SHA224",
     75 		"ecdsa-with-SHA256",
     76 		"ecdsa-with-SHA384",
     77 		"ecdsa-with-SHA512",
     78 		"id-at-commonName",
     79 		"id-at-surname",
     80 		"id-at-serialNumber",
     81 		"id-at-countryName",
     82 		"id-at-localityName",
     83 		"id-at-stateOrProvinceName",
     84 		"id-at-organizationName",
     85 		"id-at-organizationalUnitName",
     86 		"id-at-title",
     87 		"id-at-givenName",
     88 		"id-at-initials",
     89 		"id-at-generationQualifier",
     90 		"id-at-dnQualifier",
     91 		"id-at-pseudonym",
     92 		"id-domainComponent",
     93 		"id-ce-subjectDirectoryAttributes",
     94 		"id-ce-subjectKeyIdentifier",
     95 		"id-ce-keyUsage",
     96 		"id-ce-subjectAltName",
     97 		"id-ce-issuerAltName",
     98 		"id-ce-basicConstraints",
     99 		"id-ce-nameConstraints",
    100 		"id-ce-cRLDistributionPoints",
    101 		"id-ce-certificatePolicies",
    102 		"id-ce-policyMappings",
    103 		"id-ce-authorityKeyIdentifier",
    104 		"id-ce-policyConstraints",
    105 		"id-ce-extKeyUsage",
    106 		"id-ce-freshestCRL",
    107 		"id-ce-inhibitAnyPolicy",
    108 		"anyExtendedKeyUsage",
    109 		"id-kp-serverAuth",
    110 		"id-kp-clientAuth",
    111 		"id-kp-codeSigning",
    112 		"id-kp-emailProtection",
    113 		"id-kp-timeStamping",
    114 		"id-kp-OCSPSigning",
    115 	],
    116 };
    117 
    118 // Database
    119 export const db = &_db;
    120 
    121 // id:   1.3.101.112
    122 // name: ed25519
    123 export def ED25519: asn1::oid = 0;
    124 
    125 // id:   1.2.840.113549.1.1.1
    126 // name: rsaEncryption
    127 export def RSA_ENCRYPTION: asn1::oid = 1;
    128 
    129 // id:   1.2.840.113549.1.1.5
    130 // name: sha1WithRSAEncryption
    131 export def SHA1_WITH_RSAENCRYPTION: asn1::oid = 2;
    132 
    133 // id:   1.2.840.113549.1.1.8
    134 // name: id-mgf1
    135 export def ID_MGF1: asn1::oid = 3;
    136 
    137 // id:   1.2.840.113549.1.1.10
    138 // name: rsassa-pss
    139 export def RSASSA_PSS: asn1::oid = 4;
    140 
    141 // id:   1.2.840.113549.1.1.14
    142 // name: sha224WithRSAEncryption
    143 export def SHA224_WITH_RSAENCRYPTION: asn1::oid = 5;
    144 
    145 // id:   1.2.840.113549.1.1.11
    146 // name: sha256WithRSAEncryption
    147 export def SHA256_WITH_RSAENCRYPTION: asn1::oid = 6;
    148 
    149 // id:   1.2.840.113549.1.1.12
    150 // name: sha384WithRSAEncryption
    151 export def SHA384_WITH_RSAENCRYPTION: asn1::oid = 7;
    152 
    153 // id:   1.2.840.113549.1.1.13
    154 // name: sha512WithRSAEncryption
    155 export def SHA512_WITH_RSAENCRYPTION: asn1::oid = 8;
    156 
    157 // id:   1.3.14.3.2.26
    158 // name: id-sha1
    159 export def ID_SHA1: asn1::oid = 9;
    160 
    161 // id:   2.16.840.1.101.3.4.2.1
    162 // name: id-sha256
    163 export def ID_SHA256: asn1::oid = 10;
    164 
    165 // id:   2.16.840.1.101.3.4.2.2
    166 // name: id-sha384
    167 export def ID_SHA384: asn1::oid = 11;
    168 
    169 // id:   2.16.840.1.101.3.4.2.3
    170 // name: id-sha512
    171 export def ID_SHA512: asn1::oid = 12;
    172 
    173 // id:   2.16.840.1.101.3.4.2.4
    174 // name: id-sha224
    175 export def ID_SHA224: asn1::oid = 13;
    176 
    177 // id:   1.2.840.10045.2.1
    178 // name: id-ecPublicKey
    179 export def ID_EC_PUBLIC_KEY: asn1::oid = 14;
    180 
    181 // id:   1.2.840.10045.3.1.7
    182 // name: prime256v1
    183 export def PRIME256V1: asn1::oid = 15;
    184 
    185 // id:   1.2.840.10045.3.1.7
    186 // name: ansix9p256r1
    187 export def ANSIX9P256R1: asn1::oid = 16;
    188 
    189 // id:   1.3.132.0.34
    190 // name: ansix9p384r1
    191 export def ANSIX9P384R1: asn1::oid = 17;
    192 
    193 // id:   1.3.132.0.35
    194 // name: ansix9p521r1
    195 export def ANSIX9P521R1: asn1::oid = 18;
    196 
    197 // id:   1.2.840.10045.4.1
    198 // name: ecdsa-with-SHA1
    199 export def ECDSA_WITH_SHA1: asn1::oid = 19;
    200 
    201 // id:   1.2.840.10045.4.3.1
    202 // name: ecdsa-with-SHA224
    203 export def ECDSA_WITH_SHA224: asn1::oid = 20;
    204 
    205 // id:   1.2.840.10045.4.3.2
    206 // name: ecdsa-with-SHA256
    207 export def ECDSA_WITH_SHA256: asn1::oid = 21;
    208 
    209 // id:   1.2.840.10045.4.3.3
    210 // name: ecdsa-with-SHA384
    211 export def ECDSA_WITH_SHA384: asn1::oid = 22;
    212 
    213 // id:   1.2.840.10045.4.3.4
    214 // name: ecdsa-with-SHA512
    215 export def ECDSA_WITH_SHA512: asn1::oid = 23;
    216 
    217 // id:   2.5.4.3
    218 // name: id-at-commonName
    219 export def ID_AT_COMMON_NAME: asn1::oid = 24;
    220 
    221 // id:   2.5.4.4
    222 // name: id-at-surname
    223 export def ID_AT_SURNAME: asn1::oid = 25;
    224 
    225 // id:   2.5.4.5
    226 // name: id-at-serialNumber
    227 export def ID_AT_SERIAL_NUMBER: asn1::oid = 26;
    228 
    229 // id:   2.5.4.6
    230 // name: id-at-countryName
    231 export def ID_AT_COUNTRY_NAME: asn1::oid = 27;
    232 
    233 // id:   2.5.4.7
    234 // name: id-at-localityName
    235 export def ID_AT_LOCALITY_NAME: asn1::oid = 28;
    236 
    237 // id:   2.5.4.8
    238 // name: id-at-stateOrProvinceName
    239 export def ID_AT_STATE_OR_PROVINCE_NAME: asn1::oid = 29;
    240 
    241 // id:   2.5.4.10
    242 // name: id-at-organizationName
    243 export def ID_AT_ORGANIZATION_NAME: asn1::oid = 30;
    244 
    245 // id:   2.5.4.11
    246 // name: id-at-organizationalUnitName
    247 export def ID_AT_ORGANIZATIONAL_UNIT_NAME: asn1::oid = 31;
    248 
    249 // id:   2.5.4.12
    250 // name: id-at-title
    251 export def ID_AT_TITLE: asn1::oid = 32;
    252 
    253 // id:   2.5.4.42
    254 // name: id-at-givenName
    255 export def ID_AT_GIVEN_NAME: asn1::oid = 33;
    256 
    257 // id:   2.5.4.43
    258 // name: id-at-initials
    259 export def ID_AT_INITIALS: asn1::oid = 34;
    260 
    261 // id:   2.5.4.43
    262 // name: id-at-generationQualifier
    263 export def ID_AT_GENERATION_QUALIFIER: asn1::oid = 35;
    264 
    265 // id:   2.5.4.46
    266 // name: id-at-dnQualifier
    267 export def ID_AT_DN_QUALIFIER: asn1::oid = 36;
    268 
    269 // id:   2.5.4.65
    270 // name: id-at-pseudonym
    271 export def ID_AT_PSEUDONYM: asn1::oid = 37;
    272 
    273 // id:   0.9.2342.19200300.100.1.25
    274 // name: id-domainComponent
    275 export def ID_DOMAIN_COMPONENT: asn1::oid = 38;
    276 
    277 // id:   2.5.29.9
    278 // name: id-ce-subjectDirectoryAttributes
    279 export def ID_CE_SUBJECT_DIRECTORY_ATTRIBUTES: asn1::oid = 39;
    280 
    281 // id:   2.5.29.14
    282 // name: id-ce-subjectKeyIdentifier
    283 export def ID_CE_SUBJECT_KEY_IDENTIFIER: asn1::oid = 40;
    284 
    285 // id:   2.5.29.15
    286 // name: id-ce-keyUsage
    287 export def ID_CE_KEY_USAGE: asn1::oid = 41;
    288 
    289 // id:   2.5.29.17
    290 // name: id-ce-subjectAltName
    291 export def ID_CE_SUBJECT_ALT_NAME: asn1::oid = 42;
    292 
    293 // id:   2.5.29.18
    294 // name: id-ce-issuerAltName
    295 export def ID_CE_ISSUER_ALT_NAME: asn1::oid = 43;
    296 
    297 // id:   2.5.29.19
    298 // name: id-ce-basicConstraints
    299 export def ID_CE_BASIC_CONSTRAINTS: asn1::oid = 44;
    300 
    301 // id:   2.5.29.30
    302 // name: id-ce-nameConstraints
    303 export def ID_CE_NAME_CONSTRAINTS: asn1::oid = 45;
    304 
    305 // id:   2.5.29.31
    306 // name: id-ce-cRLDistributionPoints
    307 export def ID_CE_C_RLDISTRIBUTION_POINTS: asn1::oid = 46;
    308 
    309 // id:   2.5.29.32
    310 // name: id-ce-certificatePolicies
    311 export def ID_CE_CERTIFICATE_POLICIES: asn1::oid = 47;
    312 
    313 // id:   2.5.29.33
    314 // name: id-ce-policyMappings
    315 export def ID_CE_POLICY_MAPPINGS: asn1::oid = 48;
    316 
    317 // id:   2.5.29.35
    318 // name: id-ce-authorityKeyIdentifier
    319 export def ID_CE_AUTHORITY_KEY_IDENTIFIER: asn1::oid = 49;
    320 
    321 // id:   2.5.29.36
    322 // name: id-ce-policyConstraints
    323 export def ID_CE_POLICY_CONSTRAINTS: asn1::oid = 50;
    324 
    325 // id:   2.5.29.37
    326 // name: id-ce-extKeyUsage
    327 export def ID_CE_EXT_KEY_USAGE: asn1::oid = 51;
    328 
    329 // id:   2.5.29.46
    330 // name: id-ce-freshestCRL
    331 export def ID_CE_FRESHEST_CRL: asn1::oid = 52;
    332 
    333 // id:   2.5.29.54
    334 // name: id-ce-inhibitAnyPolicy
    335 export def ID_CE_INHIBIT_ANY_POLICY: asn1::oid = 53;
    336 
    337 // id:   2.5.29.37.0
    338 // name: anyExtendedKeyUsage
    339 export def ANY_EXTENDED_KEY_USAGE: asn1::oid = 54;
    340 
    341 // id:   1.3.6.1.5.5.7.3.1
    342 // name: id-kp-serverAuth
    343 export def ID_KP_SERVER_AUTH: asn1::oid = 55;
    344 
    345 // id:   1.3.6.1.5.5.7.3.2
    346 // name: id-kp-clientAuth
    347 export def ID_KP_CLIENT_AUTH: asn1::oid = 56;
    348 
    349 // id:   1.3.6.1.5.5.7.3.3
    350 // name: id-kp-codeSigning
    351 export def ID_KP_CODE_SIGNING: asn1::oid = 57;
    352 
    353 // id:   1.3.6.1.5.5.7.3.4
    354 // name: id-kp-emailProtection
    355 export def ID_KP_EMAIL_PROTECTION: asn1::oid = 58;
    356 
    357 // id:   1.3.6.1.5.5.7.3.8
    358 // name: id-kp-timeStamping
    359 export def ID_KP_TIME_STAMPING: asn1::oid = 59;
    360 
    361 // id:   1.3.6.1.5.5.7.3.9
    362 // name: id-kp-OCSPSigning
    363 export def ID_KP_OCSPSIGNING: asn1::oid = 60;