aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/libstate
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-10-11 18:08:18 +0000
committerlloyd <[email protected]>2008-10-11 18:08:18 +0000
commit744a66c3f60eb8d9c33900026aa93a13dd6e7ca0 (patch)
tree832e18bc851d414bc0ebd4e1cfd5b31c9361773a /src/core/libstate
parent98588c8fc66440781a65630d51d3920bedb2a2d0 (diff)
Add OIDs for ECDSA and ECDSA with EMSA1_BSI padding from InSiTo
Diffstat (limited to 'src/core/libstate')
-rw-r--r--src/core/libstate/policy.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/libstate/policy.cpp b/src/core/libstate/policy.cpp
index 39810760b..30afa9876 100644
--- a/src/core/libstate/policy.cpp
+++ b/src/core/libstate/policy.cpp
@@ -35,6 +35,13 @@ void set_default_oids(Library_State& config)
add_oid(config, "1.3.6.1.4.1.25258.1.1", "RW");
add_oid(config, "1.3.6.1.4.1.25258.1.2", "NR");
+ add_oid(config, "1.2.840.10045.2.1", "ECDSA");
+ add_oid(config, "1.2.840.10045.4.1", "ECDSA/EMSA1_BSI(SHA-1)");
+ add_oid(config, "1.2.840.10045.4.3.1", "ECDSA/EMSA1_BSI(SHA-224)");
+ add_oid(config, "1.2.840.10045.4.3.2", "ECDSA/EMSA1_BSI(SHA-256)");
+ add_oid(config, "1.2.840.10045.4.3.3", "ECDSA/EMSA1_BSI(SHA-384)");
+ add_oid(config, "1.2.840.10045.4.3.4", "ECDSA/EMSA1_BSI(SHA-512)");
+
add_oid(config, "1.3.14.3.2.7", "DES/CBC");
add_oid(config, "1.2.840.113549.3.7", "TripleDES/CBC");
add_oid(config, "1.2.840.113549.3.2", "RC2/CBC");