Added generic implementations for crl_is_newer/certificate_is_newer

This commit is contained in:
Martin Willi
2010-05-21 16:25:51 +02:00
parent 654218a31b
commit 8029e5efd2
8 changed files with 78 additions and 11 deletions
@@ -80,7 +80,15 @@ struct crl_t {
* @return enumerator over revoked certificates.
*/
enumerator_t* (*create_enumerator)(crl_t *this);
};
/**
* Generic check if a given CRL is newer than another.
*
* @param this first CRL to check
* @param other second CRL
* @return TRUE if this newer than other
*/
bool crl_is_newer(crl_t *this, crl_t *other);
#endif /** CRL_H_ @}*/