diff options
Diffstat (limited to 'src/libstrongswan/crypto/ca.h')
-rw-r--r-- | src/libstrongswan/crypto/ca.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/libstrongswan/crypto/ca.h b/src/libstrongswan/crypto/ca.h index 832fa9883..c494a4468 100644 --- a/src/libstrongswan/crypto/ca.h +++ b/src/libstrongswan/crypto/ca.h @@ -161,9 +161,10 @@ struct ca_info_t { * * @param this ca info object * @param certinfo detailed certificate status information + * @param crl_dir directory where fetched crls should be stored * @return certificate status */ - cert_status_t (*verify_by_crl) (ca_info_t* this, certinfo_t* certinfo); + cert_status_t (*verify_by_crl) (ca_info_t *this, certinfo_t *certinfo, const char *crl_dir); /** * @brief Verify the status of a certificate by OCSP @@ -191,13 +192,14 @@ struct ca_info_t { }; /** - * @brief Create a ca info record + * @brief Set ca info options * + * @param cache TRUE if crls shall be cached by storing them * @param interval crl_check_interval to be set in seconds * * @ingroup crypto */ -void ca_info_set_crlcheckinterval(u_int interval); +void ca_info_set_options(bool cache, u_int interval); /** * @brief Create a ca info record |