• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 package org.bouncycastle.asn1.sec;
2 
3 import org.bouncycastle.asn1.ASN1ObjectIdentifier;
4 import org.bouncycastle.asn1.x9.X9ObjectIdentifiers;
5 
6 /**
7  * Certicom object identifiers
8  * <pre>
9  *  ellipticCurve OBJECT IDENTIFIER ::= {
10  *        iso(1) identified-organization(3) certicom(132) curve(0)
11  *  }
12  * </pre>
13  */
14 public interface SECObjectIdentifiers
15 {
16     /** Base OID: 1.3.132.0 */
17     static final ASN1ObjectIdentifier ellipticCurve = new ASN1ObjectIdentifier("1.3.132.0");
18 
19     /**  sect163k1 OID: 1.3.132.0.1 */
20     static final ASN1ObjectIdentifier sect163k1 = ellipticCurve.branch("1");
21     /**  sect163r1 OID: 1.3.132.0.2 */
22     static final ASN1ObjectIdentifier sect163r1 = ellipticCurve.branch("2");
23     /**  sect239k1 OID: 1.3.132.0.3 */
24     static final ASN1ObjectIdentifier sect239k1 = ellipticCurve.branch("3");
25     /**  sect113r1 OID: 1.3.132.0.4 */
26     static final ASN1ObjectIdentifier sect113r1 = ellipticCurve.branch("4");
27     /**  sect113r2 OID: 1.3.132.0.5 */
28     static final ASN1ObjectIdentifier sect113r2 = ellipticCurve.branch("5");
29     /**  secp112r1 OID: 1.3.132.0.6 */
30     static final ASN1ObjectIdentifier secp112r1 = ellipticCurve.branch("6");
31     /**  secp112r2 OID: 1.3.132.0.7 */
32     static final ASN1ObjectIdentifier secp112r2 = ellipticCurve.branch("7");
33     /**  secp160r1 OID: 1.3.132.0.8 */
34     static final ASN1ObjectIdentifier secp160r1 = ellipticCurve.branch("8");
35     /**  secp160k1 OID: 1.3.132.0.9 */
36     static final ASN1ObjectIdentifier secp160k1 = ellipticCurve.branch("9");
37     /**  secp256k1 OID: 1.3.132.0.10 */
38     static final ASN1ObjectIdentifier secp256k1 = ellipticCurve.branch("10");
39     /**  sect163r2 OID: 1.3.132.0.15 */
40     static final ASN1ObjectIdentifier sect163r2 = ellipticCurve.branch("15");
41     /**  sect283k1 OID: 1.3.132.0.16 */
42     static final ASN1ObjectIdentifier sect283k1 = ellipticCurve.branch("16");
43     /**  sect283r1 OID: 1.3.132.0.17 */
44     static final ASN1ObjectIdentifier sect283r1 = ellipticCurve.branch("17");
45     /**  sect131r1 OID: 1.3.132.0.22 */
46     static final ASN1ObjectIdentifier sect131r1 = ellipticCurve.branch("22");
47     /**  sect131r2 OID: 1.3.132.0.23 */
48     static final ASN1ObjectIdentifier sect131r2 = ellipticCurve.branch("23");
49     /**  sect193r1 OID: 1.3.132.0.24 */
50     static final ASN1ObjectIdentifier sect193r1 = ellipticCurve.branch("24");
51     /**  sect193r2 OID: 1.3.132.0.25 */
52     static final ASN1ObjectIdentifier sect193r2 = ellipticCurve.branch("25");
53     /**  sect233k1 OID: 1.3.132.0.26 */
54     static final ASN1ObjectIdentifier sect233k1 = ellipticCurve.branch("26");
55     /**  sect233r1 OID: 1.3.132.0.27 */
56     static final ASN1ObjectIdentifier sect233r1 = ellipticCurve.branch("27");
57     /**  secp128r1 OID: 1.3.132.0.28 */
58     static final ASN1ObjectIdentifier secp128r1 = ellipticCurve.branch("28");
59     /**  secp128r2 OID: 1.3.132.0.29 */
60     static final ASN1ObjectIdentifier secp128r2 = ellipticCurve.branch("29");
61     /**  secp160r2 OID: 1.3.132.0.30 */
62     static final ASN1ObjectIdentifier secp160r2 = ellipticCurve.branch("30");
63     /**  secp192k1 OID: 1.3.132.0.31 */
64     static final ASN1ObjectIdentifier secp192k1 = ellipticCurve.branch("31");
65     /**  secp224k1 OID: 1.3.132.0.32 */
66     static final ASN1ObjectIdentifier secp224k1 = ellipticCurve.branch("32");
67     /**  secp224r1 OID: 1.3.132.0.33 */
68     static final ASN1ObjectIdentifier secp224r1 = ellipticCurve.branch("33");
69     /**  secp384r1 OID: 1.3.132.0.34 */
70     static final ASN1ObjectIdentifier secp384r1 = ellipticCurve.branch("34");
71     /**  secp521r1 OID: 1.3.132.0.35 */
72     static final ASN1ObjectIdentifier secp521r1 = ellipticCurve.branch("35");
73     /**  sect409k1 OID: 1.3.132.0.36 */
74     static final ASN1ObjectIdentifier sect409k1 = ellipticCurve.branch("36");
75     /**  sect409r1 OID: 1.3.132.0.37 */
76     static final ASN1ObjectIdentifier sect409r1 = ellipticCurve.branch("37");
77     /**  sect571k1 OID: 1.3.132.0.38 */
78     static final ASN1ObjectIdentifier sect571k1 = ellipticCurve.branch("38");
79     /**  sect571r1 OID: 1.3.132.0.39 */
80     static final ASN1ObjectIdentifier sect571r1 = ellipticCurve.branch("39");
81 
82     /**  secp192r1 OID: 1.3.132.0.prime192v1 */
83     static final ASN1ObjectIdentifier secp192r1 = X9ObjectIdentifiers.prime192v1;
84     /**  secp256r1 OID: 1.3.132.0.prime256v1 */
85     static final ASN1ObjectIdentifier secp256r1 = X9ObjectIdentifiers.prime256v1;
86 
87     static final ASN1ObjectIdentifier secg_scheme = new ASN1ObjectIdentifier("1.3.132.1");
88 
89     static final ASN1ObjectIdentifier dhSinglePass_stdDH_sha224kdf_scheme = secg_scheme.branch("11.0");
90     static final ASN1ObjectIdentifier dhSinglePass_stdDH_sha256kdf_scheme = secg_scheme.branch("11.1");
91     static final ASN1ObjectIdentifier dhSinglePass_stdDH_sha384kdf_scheme = secg_scheme.branch("11.2");
92     static final ASN1ObjectIdentifier dhSinglePass_stdDH_sha512kdf_scheme = secg_scheme.branch("11.3");
93 
94     static final ASN1ObjectIdentifier dhSinglePass_cofactorDH_sha224kdf_scheme = secg_scheme.branch("14.0");
95     static final ASN1ObjectIdentifier dhSinglePass_cofactorDH_sha256kdf_scheme = secg_scheme.branch("14.1");
96     static final ASN1ObjectIdentifier dhSinglePass_cofactorDH_sha384kdf_scheme = secg_scheme.branch("14.2");
97     static final ASN1ObjectIdentifier dhSinglePass_cofactorDH_sha512kdf_scheme = secg_scheme.branch("14.3");
98 
99     static final ASN1ObjectIdentifier mqvSinglePass_sha224kdf_scheme = secg_scheme.branch("15.0");
100     static final ASN1ObjectIdentifier mqvSinglePass_sha256kdf_scheme = secg_scheme.branch("15.1");
101     static final ASN1ObjectIdentifier mqvSinglePass_sha384kdf_scheme = secg_scheme.branch("15.2");
102     static final ASN1ObjectIdentifier mqvSinglePass_sha512kdf_scheme = secg_scheme.branch("15.3");
103 
104     static final ASN1ObjectIdentifier mqvFull_sha224kdf_scheme = secg_scheme.branch("16.0");
105     static final ASN1ObjectIdentifier mqvFull_sha256kdf_scheme = secg_scheme.branch("16.1");
106     static final ASN1ObjectIdentifier mqvFull_sha384kdf_scheme = secg_scheme.branch("16.2");
107     static final ASN1ObjectIdentifier mqvFull_sha512kdf_scheme = secg_scheme.branch("16.3");
108 }
109