aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/crypto/x509.c
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2007-02-24 23:21:45 +0000
committerAndreas Steffen <andreas.steffen@strongswan.org>2007-02-24 23:21:45 +0000
commite3c0ece8c8d30b249cf4b3eef963e474dea846a1 (patch)
tree8002942d7e8ab8cee1b64270a3e680b18775bc57 /src/libstrongswan/crypto/x509.c
parent7eb4010c01f05f9c2af832225837c5f8d7331a02 (diff)
downloadstrongswan-e3c0ece8c8d30b249cf4b3eef963e474dea846a1.tar.bz2
strongswan-e3c0ece8c8d30b249cf4b3eef963e474dea846a1.tar.xz
added the create_crluri_iterator method
Diffstat (limited to 'src/libstrongswan/crypto/x509.c')
-rwxr-xr-xsrc/libstrongswan/crypto/x509.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/libstrongswan/crypto/x509.c b/src/libstrongswan/crypto/x509.c
index fcbd5dc95..f2e87d285 100755
--- a/src/libstrongswan/crypto/x509.c
+++ b/src/libstrongswan/crypto/x509.c
@@ -1045,6 +1045,14 @@ static cert_status_t get_status(const private_x509_t *this)
}
/**
+ * Implements x509_t.create_crluri_iterator
+ */
+static iterator_t *create_crluri_iterator(const private_x509_t *this)
+{
+ return this->crlDistributionPoints->create_iterator(this->crlDistributionPoints, TRUE);
+}
+
+/**
* Implements x509_t.verify
*/
static bool verify(const private_x509_t *this, const rsa_public_key_t *signer)
@@ -1228,6 +1236,7 @@ x509_t *x509_create_from_chunk(chunk_t chunk)
this->public.get_until = (time_t (*) (const x509_t*))get_until;
this->public.set_status = (void (*) (x509_t*,cert_status_t))set_status;
this->public.get_status = (cert_status_t (*) (const x509_t*))get_status;
+ this->public.create_crluri_iterator = (iterator_t* (*) (const x509_t*))create_crluri_iterator;
this->public.verify = (bool (*) (const x509_t*,const rsa_public_key_t*))verify;
this->public.destroy = (void (*) (x509_t*))destroy;