Added support for delta CRLs to x509 plugin
This commit is contained in:
@@ -51,6 +51,7 @@ ENUM(builder_part_names, BUILD_FROM_FILE, BUILD_END,
|
||||
"BUILD_POLICY_CONSTRAINT_INHIBIT",
|
||||
"BUILD_X509_FLAG",
|
||||
"BUILD_REVOKED_ENUMERATOR",
|
||||
"BUILD_BASE_CRL",
|
||||
"BUILD_CHALLENGE_PWD",
|
||||
"BUILD_PKCS11_MODULE",
|
||||
"BUILD_PKCS11_SLOT",
|
||||
|
||||
@@ -109,6 +109,8 @@ enum builder_part_t {
|
||||
BUILD_X509_FLAG,
|
||||
/** enumerator_t over (chunk_t serial, time_t date, crl_reason_t reason) */
|
||||
BUILD_REVOKED_ENUMERATOR,
|
||||
/** Base CRL serial for a delta CRL, chunk_t, */
|
||||
BUILD_BASE_CRL,
|
||||
/** PKCS#10 challenge password */
|
||||
BUILD_CHALLENGE_PWD,
|
||||
/** friendly name of a PKCS#11 module, null terminated char* */
|
||||
|
||||
@@ -71,6 +71,21 @@ struct crl_t {
|
||||
*/
|
||||
chunk_t (*get_authKeyIdentifier)(crl_t *this);
|
||||
|
||||
/**
|
||||
* Is this CRL a delta CRL?
|
||||
*
|
||||
* @param base_crl gets to baseCrlNumber, if this is a delta CRL
|
||||
* @return TRUE if delta CRL
|
||||
*/
|
||||
bool (*is_delta_crl)(crl_t *this, chunk_t *base_crl);
|
||||
|
||||
/**
|
||||
* Create an enumerator over Freshest CRL distribution points and issuers.
|
||||
*
|
||||
* @return enumerator over x509_cdp_t
|
||||
*/
|
||||
enumerator_t* (*create_delta_crl_uri_enumerator)(crl_t *this);
|
||||
|
||||
/**
|
||||
* Create an enumerator over all revoked certificates.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user