diff options
author | Andreas Steffen <andreas.steffen@strongswan.org> | 2007-04-20 11:12:08 +0000 |
---|---|---|
committer | Andreas Steffen <andreas.steffen@strongswan.org> | 2007-04-20 11:12:08 +0000 |
commit | 4841189b725ca4112cd183f7d71b37a468f5ddb5 (patch) | |
tree | d13fdccca5268615708ec71eb7bce724ba124a8d /src/libstrongswan/crypto/ca.h | |
parent | ab58c17445a1122010fa23e338e60c971e08fef8 (diff) | |
download | strongswan-4841189b725ca4112cd183f7d71b37a468f5ddb5.tar.bz2 strongswan-4841189b725ca4112cd183f7d71b37a468f5ddb5.tar.xz |
implementation of strictcrlpolicy=ifuri
Diffstat (limited to 'src/libstrongswan/crypto/ca.h')
-rw-r--r-- | src/libstrongswan/crypto/ca.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/libstrongswan/crypto/ca.h b/src/libstrongswan/crypto/ca.h index 46a10378b..bce39fb95 100644 --- a/src/libstrongswan/crypto/ca.h +++ b/src/libstrongswan/crypto/ca.h @@ -26,7 +26,6 @@ typedef struct ca_info_t ca_info_t; #include <library.h> -#include <chunk.h> #include <credential_store.h> @@ -81,6 +80,14 @@ struct ca_info_t { bool (*is_crl_issuer) (ca_info_t *this, const crl_t *crl); /** + * @brief Checks if the ca enforces a strict crl policy + * + * @param this ca info object + * @return TRUE if the crl policy is strict + */ + bool (*is_strict) (ca_info_t *this); + + /** * @brief Merges info from a secondary ca info object * * @param this primary ca info object @@ -209,7 +216,7 @@ struct ca_info_t { * * @ingroup crypto */ -void ca_info_set_options(bool cache, u_int interval); +void ca_info_set_options(strict_t strict, bool cache, u_int interval); /** * @brief Create a ca info record |