diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2016-02-15 10:37:57 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2016-02-15 10:38:15 +0100 |
commit | 2b6214dd440b50f4488741b186876e0e52d19c2f (patch) | |
tree | 09861fe444b041807b48c367d615bb670129dfd3 /lib/x509/common.h | |
parent | 72eed3e63486f756e4861febedf7050a786901ee (diff) | |
download | gnutls-2b6214dd440b50f4488741b186876e0e52d19c2f.tar.gz |
Added NIST's OIDs for SHA3 signature algorithms
This allows to generate certificates signed with SHA3.
Diffstat (limited to 'lib/x509/common.h')
-rw-r--r-- | lib/x509/common.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/x509/common.h b/lib/x509/common.h index 445c3ddd10..55cf44f0eb 100644 --- a/lib/x509/common.h +++ b/lib/x509/common.h @@ -69,6 +69,21 @@ #define SIG_GOST_R3410_2001_OID "1.2.643.2.2.3" #define ISO_SIG_RSA_SHA1_OID "1.3.14.3.2.29" +#define SIG_DSA_SHA3_224_OID "2.16.840.1.101.3.4.3.5" +#define SIG_DSA_SHA3_256_OID "2.16.840.1.101.3.4.3.6" +#define SIG_DSA_SHA3_384_OID "2.16.840.1.101.3.4.3.7" +#define SIG_DSA_SHA3_512_OID "2.16.840.1.101.3.4.3.8" + +#define SIG_ECDSA_SHA3_224_OID "2.16.840.1.101.3.4.3.9" +#define SIG_ECDSA_SHA3_256_OID "2.16.840.1.101.3.4.3.10" +#define SIG_ECDSA_SHA3_384_OID "2.16.840.1.101.3.4.3.11" +#define SIG_ECDSA_SHA3_512_OID "2.16.840.1.101.3.4.3.12" + +#define SIG_RSA_SHA3_224_OID "2.16.840.1.101.3.4.3.13" +#define SIG_RSA_SHA3_256_OID "2.16.840.1.101.3.4.3.14" +#define SIG_RSA_SHA3_384_OID "2.16.840.1.101.3.4.3.15" +#define SIG_RSA_SHA3_512_OID "2.16.840.1.101.3.4.3.16" + #define XMPP_OID "1.3.6.1.5.5.7.8.5" #define KRB5_PRINCIPAL_OID "1.3.6.1.5.2.2" |