From 273c36c5b28777ac58fdffbc27e9e0dcbd59ce14 Mon Sep 17 00:00:00 2001 From: lloyd Date: Wed, 3 Oct 2007 14:43:48 +0000 Subject: Add OIDs for SHA-224, SHA-256, SHA-384, SHA-512, and DSA with SHA-224 and SHA-256 (from draft-ietf-pkix-sha2-dsa-ecdsa-01) --- src/policy.cpp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/policy.cpp b/src/policy.cpp index efd84ec68..ff71d325b 100644 --- a/src/policy.cpp +++ b/src/policy.cpp @@ -44,9 +44,14 @@ void set_default_oids(Config& config) add_oid(config, "2.16.840.1.101.3.4.1.42", "AES-256/CBC"); add_oid(config, "1.2.840.113549.2.5", "MD5"); - add_oid(config, "1.3.14.3.2.26", "SHA-160"); add_oid(config, "1.3.6.1.4.1.11591.12.2", "Tiger(24,3)"); + add_oid(config, "1.3.14.3.2.26", "SHA-160"); + add_oid(config, "2.16.840.1.101.3.4.2.4", "SHA-224"); + add_oid(config, "2.16.840.1.101.3.4.2.1", "SHA-256"); + add_oid(config, "2.16.840.1.101.3.4.2.2", "SHA-384"); + add_oid(config, "2.16.840.1.101.3.4.2.3", "SHA-512"); + add_oid(config, "1.2.840.113549.1.9.16.3.6", "KeyWrap.TripleDES"); add_oid(config, "1.2.840.113549.1.9.16.3.7", "KeyWrap.RC2"); add_oid(config, "1.2.840.113533.7.66.15", "KeyWrap.CAST-128"); @@ -64,7 +69,10 @@ void set_default_oids(Config& config) add_oid(config, "1.2.840.113549.1.1.12", "RSA/EMSA3(SHA-384)"); add_oid(config, "1.2.840.113549.1.1.13", "RSA/EMSA3(SHA-512)"); add_oid(config, "1.3.36.3.3.1.2", "RSA/EMSA3(RIPEMD-160)"); + add_oid(config, "1.2.840.10040.4.3", "DSA/EMSA1(SHA-160)"); + add_oid(config, "2.16.840.1.101.3.4.3.1", "DSA/EMSA1(SHA-224)"); + add_oid(config, "2.16.840.1.101.3.4.3.2", "DSA/EMSA1(SHA-256)"); add_oid(config, "1.3.6.1.4.1.25258.2.1.1.1", "RW/EMSA2(RIPEMD-160)"); add_oid(config, "1.3.6.1.4.1.25258.2.1.1.2", "RW/EMSA2(SHA-160)"); -- cgit v1.2.3