diff options
Diffstat (limited to 'src/libstrongswan/crypto/crl.h')
-rwxr-xr-x | src/libstrongswan/crypto/crl.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/src/libstrongswan/crypto/crl.h b/src/libstrongswan/crypto/crl.h index ecfb2ede1..4cecee737 100755 --- a/src/libstrongswan/crypto/crl.h +++ b/src/libstrongswan/crypto/crl.h @@ -77,14 +77,23 @@ struct crl_t { /** * @brief Checks the validity interval of the crl * - * @param this certificate being examined + * @param this calling object * @param until until = min(until, nextUpdate) if strict == TRUE - * @param strict nextUpdate restricts the validiat + * @param strict nextUpdate restricts the validity * @return NULL if the crl is valid */ err_t (*is_valid) (const crl_t *this, time_t *until, bool strict); /** + * @brief Checks if this crl is newer (thisUpdate) than the other crl + * + * @param this calling object + * @param other other crl object + * @return TRUE if this was issued more recently than other + */ + bool (*is_newer) (const crl_t *this, const crl_t *other); + + /** * @brief Check if a certificate has been revoked. * * This function uses the certificate's serialNumber |