aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstate
diff options
context:
space:
mode:
authorlloyd <[email protected]>2012-05-27 18:49:42 +0000
committerlloyd <[email protected]>2012-05-27 18:49:42 +0000
commitf703961f20af641102db4c57e0f09e4daa7841e4 (patch)
tree49edbb4a1bececb6a25d3ef1a8d5e2ca88a8658a /src/libstate
parentad4ffbfaf86e58707b7c4c7df92660b46724a9bf (diff)
Support for the authority information access extension, limited to
only grabbing type 6 (URL) values for OCSP which is likely the only thing it's ever used for. Expose the value with new function X509_Certificate::ocsp_responder
Diffstat (limited to 'src/libstate')
-rw-r--r--src/libstate/policy.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libstate/policy.cpp b/src/libstate/policy.cpp
index 4c6e0b2a5..00e95d2c0 100644
--- a/src/libstate/policy.cpp
+++ b/src/libstate/policy.cpp
@@ -193,6 +193,7 @@ void set_default_oids(Library_State& config)
add_oid(config, "2.5.29.35", "X509v3.AuthorityKeyIdentifier");
add_oid(config, "2.5.29.36", "X509v3.PolicyConstraints");
add_oid(config, "2.5.29.37", "X509v3.ExtendedKeyUsage");
+ add_oid(config, "1.3.6.1.5.5.7.1.1", "PKIX.AuthorityInformationAccess");
add_oid(config, "2.5.29.32.0", "X509v3.AnyPolicy");
@@ -208,6 +209,7 @@ void set_default_oids(Library_State& config)
add_oid(config, "1.3.6.1.5.5.7.8.5", "PKIX.XMPPAddr");
+ add_oid(config, "1.3.6.1.5.5.7.48.1", "PKIX.OCSP");
add_oid(config, "1.3.6.1.5.5.7.48.1.1", "PKIX.OCSP.BasicResponse");
/* ECC domain parameters */