aboutsummaryrefslogtreecommitdiffstats
path: root/src/cert/x509/x509cert.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2012-06-13 18:06:57 +0000
committerlloyd <[email protected]>2012-06-13 18:06:57 +0000
commit6dc2f28174e110427899727690c82a8d230c908e (patch)
tree0d092b56dd740b15552b211a2f9b7ffd50d59964 /src/cert/x509/x509cert.cpp
parent9644a3ecebb15d8241e65dcae63bd6d0382a95a6 (diff)
Add support (decoding only) for the CRL Distribution Point extension.
Diffstat (limited to 'src/cert/x509/x509cert.cpp')
-rw-r--r--src/cert/x509/x509cert.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/cert/x509/x509cert.cpp b/src/cert/x509/x509cert.cpp
index 05a548be4..1a99192c8 100644
--- a/src/cert/x509/x509cert.cpp
+++ b/src/cert/x509/x509cert.cpp
@@ -278,7 +278,12 @@ std::vector<std::string> X509_Certificate::policies() const
std::string X509_Certificate::ocsp_responder() const
{
- return subject.get1("OCSP.responder");
+ return subject.get1("OCSP.responder", "");
+ }
+
+std::string X509_Certificate::crl_distribution_point() const
+ {
+ return subject.get1("CRL.DistributionPoint", "");
}
/*