[gcr/ecc: 8/16] oid: Add various OIDs for Elliptic Curve related stuff
- From: Stefan Walter <stefw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gcr/ecc: 8/16] oid: Add various OIDs for Elliptic Curve related stuff
- Date: Fri, 18 Apr 2014 12:13:37 +0000 (UTC)
commit fea990fd3bf58f7d238487e001364e163be77a3a
Author: Stef Walter <stefw redhat com>
Date: Thu Apr 17 07:10:36 2014 +0200
oid: Add various OIDs for Elliptic Curve related stuff
egg/egg-oid.c | 7 +++++++
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]