diff options
author | Stef Walter <stefw@redhat.com> | 2014-04-17 07:10:36 +0200 |
---|---|---|
committer | Stef Walter <stefw@redhat.com> | 2014-04-19 22:29:49 +0200 |
commit | 6e8e755f040d799c84f807f196cd6155bd693f78 (patch) | |
tree | e6369c30087d22fec16b779856e7ad3098e32d18 | |
parent | a96a6c7c5b4244e01c07918dccbfe02d780f2a5a (diff) |
oid: Add various OIDs for Elliptic Curve related stuff
-rw-r--r-- | egg/egg-oid.c | 7 | ||||
-rw-r--r-- | gcr/gcr-oids.list | 22 |
2 files changed, 29 insertions, 0 deletions
diff --git a/egg/egg-oid.c b/egg/egg-oid.c index 75d909e..e604846 100644 --- a/egg/egg-oid.c +++ b/egg/egg-oid.c @@ -102,6 +102,13 @@ static OidInfo oid_info[] = { { 0, "1.2.840.10040.4.1", "dsa", N_("DSA"), 0 }, { 0, "1.2.840.10040.4.3", "sha1WithDSA", N_("SHA1 with DSA"), 0 }, + { 0, "1.2.840.10045.2.1", "ec", N_("Elliptic Curve"), 0, }, + { 0, "1.2.840.10045.4.1", "sha1WithECDSA", N_("SHA1 with ECDSA"), 0 }, + { 0, "1.2.840.10045.4.3.1", "sha224WithECDSA", N_("SHA224 with ECDSA"), 0 }, + { 0, "1.2.840.10045.4.3.2", "sha256WithECDSA", N_("SHA256 with ECDSA"), 0 }, + { 0, "1.2.840.10045.4.3.3", "sha384WithECDSA", N_("SHA384 with ECDSA"), 0 }, + { 0, "1.2.840.10045.4.3.4", "sha512WithECDSA", N_("SHA512 with ECDSA"), 0 }, + /* Extended Key Usages */ { 0, "1.3.6.1.5.5.7.3.1", NULL, N_("Server Authentication"), 0 }, { 0, "1.3.6.1.5.5.7.3.2", NULL, N_("Client Authentication"), 0 }, diff --git a/gcr/gcr-oids.list b/gcr/gcr-oids.list index b49f4bd..cf94dba 100644 --- a/gcr/gcr-oids.list +++ b/gcr/gcr-oids.list @@ -10,6 +10,12 @@ PKIX1_RSA 1.2.840.113549.1.1.1 PKIX1_SHA1_WITH_RSA 1.2.840.113549.1.1.5 PKIX1_DSA 1.2.840.10040.4.1 PKIX1_SHA1_WITH_DSA 1.2.840.10040.4.3 +PKIX1_EC 1.2.840.10045.2.1 +PKIX1_SHA1_WITH_ECDSA 1.2.840.10045.4.1 +PKIX1_SHA224_WITH_ECDSA 1.2.840.10045.4.3.1 +PKIX1_SHA256_WITH_ECDSA 1.2.840.10045.4.3.2 +PKIX1_SHA384_WITH_ECDSA 1.2.840.10045.4.3.3 +PKIX1_SHA512_WITH_ECDSA 1.2.840.10045.4.3.4 PKCS7_DATA 1.2.840.113549.1.7.1 PKCS7_SIGNED_DATA 1.2.840.113549.1.7.2 @@ -24,3 +30,19 @@ PKCS12_BAG_CRL 1.2.840.113549.1.12.10.1.4 ALT_NAME_XMPP_ADDR 1.3.6.1.5.5.7.8.5 ALT_NAME_DNS_SRV 1.3.6.1.5.5.7.8.7 + +EC_SECP192R1 1.2.840.10045.3.1.1 +EC_SECT163K1 1.3.132.0.1 +EC_SECT163R2 1.3.132.0.15 +EC_SECP224R1 1.3.132.0.33 +EC_SECT233K1 1.3.132.0.26 +EC_SECT233R1 1.3.132.0.27 +EC_SECP256R1 1.2.840.10045.3.1.7 +EC_SECT283K1 1.3.132.0.16 +EC_SECT283R1 1.3.132.0.17 +EC_SECP384R1 1.3.132.0.34 +EC_SECT409K1 1.3.132.0.36 +EC_SECT409R1 1.3.132.0.37 +EC_SECP521R1 1.3.132.0.35 +EC_SECP571K1 1.3.132.0.38 +EC_SECT571R1 1.3.132.0.39 |