diff options
author | lloyd <[email protected]> | 2007-10-03 14:43:48 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2007-10-03 14:43:48 +0000 |
commit | 273c36c5b28777ac58fdffbc27e9e0dcbd59ce14 (patch) | |
tree | 97e31087a8a7cd29a07b15e2e8ba4b6bde370845 | |
parent | 962d7971b2d1ad2a0ebe7033d00af5291763bd7a (diff) |
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)
-rw-r--r-- | src/policy.cpp | 10 |
1 files changed, 9 insertions, 1 deletions
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)"); |