diff options
author | David Hook <dgh@cryptoworkshop.com> | 2013-05-31 11:07:45 +0400 |
---|---|---|
committer | David Hook <dgh@cryptoworkshop.com> | 2013-05-31 11:07:45 +0400 |
commit | 2b976f5364cfdbc37d3086019d93483c983eb80b (patch) | |
tree | cb846af3fd1d43f9c2562a1fb2d06b997ad8f229 /core/src/main/java/org/bouncycastle/asn1/sec/SECObjectIdentifiers.java | |
parent | 5f714bd92fbd780d22406f4bc3681be005f6f04a (diff) |
initial reshuffle
Diffstat (limited to 'core/src/main/java/org/bouncycastle/asn1/sec/SECObjectIdentifiers.java')
-rw-r--r-- | core/src/main/java/org/bouncycastle/asn1/sec/SECObjectIdentifiers.java | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/core/src/main/java/org/bouncycastle/asn1/sec/SECObjectIdentifiers.java b/core/src/main/java/org/bouncycastle/asn1/sec/SECObjectIdentifiers.java new file mode 100644 index 00000000..8b19cd68 --- /dev/null +++ b/core/src/main/java/org/bouncycastle/asn1/sec/SECObjectIdentifiers.java @@ -0,0 +1,50 @@ +package org.bouncycastle.asn1.sec; + +import org.bouncycastle.asn1.ASN1ObjectIdentifier; +import org.bouncycastle.asn1.x9.X9ObjectIdentifiers; + +public interface SECObjectIdentifiers +{ + /** + * ellipticCurve OBJECT IDENTIFIER ::= { + * iso(1) identified-organization(3) certicom(132) curve(0) + * } + */ + static final ASN1ObjectIdentifier ellipticCurve = new ASN1ObjectIdentifier("1.3.132.0"); + + static final ASN1ObjectIdentifier sect163k1 = ellipticCurve.branch("1"); + static final ASN1ObjectIdentifier sect163r1 = ellipticCurve.branch("2"); + static final ASN1ObjectIdentifier sect239k1 = ellipticCurve.branch("3"); + static final ASN1ObjectIdentifier sect113r1 = ellipticCurve.branch("4"); + static final ASN1ObjectIdentifier sect113r2 = ellipticCurve.branch("5"); + static final ASN1ObjectIdentifier secp112r1 = ellipticCurve.branch("6"); + static final ASN1ObjectIdentifier secp112r2 = ellipticCurve.branch("7"); + static final ASN1ObjectIdentifier secp160r1 = ellipticCurve.branch("8"); + static final ASN1ObjectIdentifier secp160k1 = ellipticCurve.branch("9"); + static final ASN1ObjectIdentifier secp256k1 = ellipticCurve.branch("10"); + static final ASN1ObjectIdentifier sect163r2 = ellipticCurve.branch("15"); + static final ASN1ObjectIdentifier sect283k1 = ellipticCurve.branch("16"); + static final ASN1ObjectIdentifier sect283r1 = ellipticCurve.branch("17"); + static final ASN1ObjectIdentifier sect131r1 = ellipticCurve.branch("22"); + static final ASN1ObjectIdentifier sect131r2 = ellipticCurve.branch("23"); + static final ASN1ObjectIdentifier sect193r1 = ellipticCurve.branch("24"); + static final ASN1ObjectIdentifier sect193r2 = ellipticCurve.branch("25"); + static final ASN1ObjectIdentifier sect233k1 = ellipticCurve.branch("26"); + static final ASN1ObjectIdentifier sect233r1 = ellipticCurve.branch("27"); + static final ASN1ObjectIdentifier secp128r1 = ellipticCurve.branch("28"); + static final ASN1ObjectIdentifier secp128r2 = ellipticCurve.branch("29"); + static final ASN1ObjectIdentifier secp160r2 = ellipticCurve.branch("30"); + static final ASN1ObjectIdentifier secp192k1 = ellipticCurve.branch("31"); + static final ASN1ObjectIdentifier secp224k1 = ellipticCurve.branch("32"); + static final ASN1ObjectIdentifier secp224r1 = ellipticCurve.branch("33"); + static final ASN1ObjectIdentifier secp384r1 = ellipticCurve.branch("34"); + static final ASN1ObjectIdentifier secp521r1 = ellipticCurve.branch("35"); + static final ASN1ObjectIdentifier sect409k1 = ellipticCurve.branch("36"); + static final ASN1ObjectIdentifier sect409r1 = ellipticCurve.branch("37"); + static final ASN1ObjectIdentifier sect571k1 = ellipticCurve.branch("38"); + static final ASN1ObjectIdentifier sect571r1 = ellipticCurve.branch("39"); + + static final ASN1ObjectIdentifier secp192r1 = X9ObjectIdentifiers.prime192v1; + static final ASN1ObjectIdentifier secp256r1 = X9ObjectIdentifiers.prime256v1; + +} |