UNPKG

@peculiar/asn1-ecc

Version:

ASN.1 schema of `Elliptic Curve Private Key Structure` (RFC5915)

170 lines (169 loc) 4.47 kB
/** * ```asn1 * id-ecPublicKey OBJECT IDENTIFIER ::= { * iso(1) member-body(2) us(840) ansi-X9-62(10045) keyType(2) 1 } * ``` */ export declare const id_ecPublicKey = "1.2.840.10045.2.1"; /** * ```asn1 * id-ecDH OBJECT IDENTIFIER ::= { * iso(1) identified-organization(3) certicom(132) schemes(1) * ecdh(12) } * ``` */ export declare const id_ecDH = "1.3.132.1.12"; /** * ```asn1 * id-ecMQV OBJECT IDENTIFIER ::= { * iso(1) identified-organization(3) certicom(132) schemes(1) * ecmqv(13) } * ``` */ export declare const id_ecMQV = "1.3.132.1.13"; /** * ```asn1 * ecdsa-with-SHA1 OBJECT IDENTIFIER ::= { * iso(1) member-body(2) us(840) ansi-X9-62(10045) signatures(4) 1 } * ``` */ export declare const id_ecdsaWithSHA1 = "1.2.840.10045.4.1"; /** * ```asn1 * ecdsa-with-SHA224 OBJECT IDENTIFIER ::= { * iso(1) member-body(2) us(840) ansi-X9-62(10045) signatures(4) * ecdsa-with-SHA2(3) 1 } * ``` */ export declare const id_ecdsaWithSHA224 = "1.2.840.10045.4.3.1"; /** * ```asn1 * ecdsa-with-SHA256 OBJECT IDENTIFIER ::= { * iso(1) member-body(2) us(840) ansi-X9-62(10045) signatures(4) * ecdsa-with-SHA2(3) 2 } * ``` */ export declare const id_ecdsaWithSHA256 = "1.2.840.10045.4.3.2"; /** * ```asn1 * ecdsa-with-SHA384 OBJECT IDENTIFIER ::= { * iso(1) member-body(2) us(840) ansi-X9-62(10045) signatures(4) * ecdsa-with-SHA2(3) 3 } * ``` */ export declare const id_ecdsaWithSHA384 = "1.2.840.10045.4.3.3"; /** * ```asn1 * ecdsa-with-SHA512 OBJECT IDENTIFIER ::= { * iso(1) member-body(2) us(840) ansi-X9-62(10045) signatures(4) * ecdsa-with-SHA2(3) 4 } * ``` */ export declare const id_ecdsaWithSHA512 = "1.2.840.10045.4.3.4"; /** * ```asn1 * secp192r1 OBJECT IDENTIFIER ::= { * iso(1) member-body(2) us(840) ansi-X9-62(10045) curves(3) * prime(1) 1 } * ``` */ export declare const id_secp192r1 = "1.2.840.10045.3.1.1"; /** * ```asn1 * sect163k1 OBJECT IDENTIFIER ::= { * iso(1) identified-organization(3) certicom(132) curve(0) 1 } * ``` */ export declare const id_sect163k1 = "1.3.132.0.1"; /** * ```asn1 * sect163r2 OBJECT IDENTIFIER ::= { * iso(1) identified-organization(3) certicom(132) curve(0) 15 } * ``` */ export declare const id_sect163r2 = "1.3.132.0.15"; /** * ```asn1 * secp224r1 OBJECT IDENTIFIER ::= { * iso(1) identified-organization(3) certicom(132) curve(0) 33 } * ``` */ export declare const id_secp224r1 = "1.3.132.0.33"; /** * ```asn1 * sect233k1 OBJECT IDENTIFIER ::= { * iso(1) identified-organization(3) certicom(132) curve(0) 26 } * ``` */ export declare const id_sect233k1 = "1.3.132.0.26"; /** * ```asn1 * sect233r1 OBJECT IDENTIFIER ::= { * iso(1) identified-organization(3) certicom(132) curve(0) 27 } * ``` */ export declare const id_sect233r1 = "1.3.132.0.27"; /** * ```asn1 * secp256r1 OBJECT IDENTIFIER ::= { * iso(1) member-body(2) us(840) ansi-X9-62(10045) curves(3) * prime(1) 7 } * ``` */ export declare const id_secp256r1 = "1.2.840.10045.3.1.7"; /** * ```asn1 * sect283k1 OBJECT IDENTIFIER ::= { * iso(1) identified-organization(3) certicom(132) curve(0) 16 } * ``` */ export declare const id_sect283k1 = "1.3.132.0.16"; /** * ```asn1 * sect283r1 OBJECT IDENTIFIER ::= { * iso(1) identified-organization(3) certicom(132) curve(0) 17 } * ``` */ export declare const id_sect283r1 = "1.3.132.0.17"; /** * ```asn1 * secp384r1 OBJECT IDENTIFIER ::= { * iso(1) identified-organization(3) certicom(132) curve(0) 34 } * ``` */ export declare const id_secp384r1 = "1.3.132.0.34"; /** * ```asn1 * sect409k1 OBJECT IDENTIFIER ::= { * iso(1) identified-organization(3) certicom(132) curve(0) 36 } * ``` */ export declare const id_sect409k1 = "1.3.132.0.36"; /** * ```asn1 * sect409r1 OBJECT IDENTIFIER ::= { * iso(1) identified-organization(3) certicom(132) curve(0) 37 } * ``` */ export declare const id_sect409r1 = "1.3.132.0.37"; /** * ```asn1 * secp521r1 OBJECT IDENTIFIER ::= { * iso(1) identified-organization(3) certicom(132) curve(0) 35 } * ``` */ export declare const id_secp521r1 = "1.3.132.0.35"; /** * ```asn1 * sect571k1 OBJECT IDENTIFIER ::= { * iso(1) identified-organization(3) certicom(132) curve(0) 38 } * ``` */ export declare const id_sect571k1 = "1.3.132.0.38"; /** * ```asn1 * sect571r1 OBJECT IDENTIFIER ::= { * iso(1) identified-organization(3) certicom(132) curve(0) 39 } * ``` */ export declare const id_sect571r1 = "1.3.132.0.39";