diff options
Diffstat (limited to 'src/libstrongswan/credentials/certificates/x509.h')
-rw-r--r-- | src/libstrongswan/credentials/certificates/x509.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/src/libstrongswan/credentials/certificates/x509.h b/src/libstrongswan/credentials/certificates/x509.h index f4ec73029..24e30a7ae 100644 --- a/src/libstrongswan/credentials/certificates/x509.h +++ b/src/libstrongswan/credentials/certificates/x509.h @@ -29,6 +29,7 @@ typedef struct x509_t x509_t; typedef struct x509_cert_policy_t x509_cert_policy_t; typedef struct x509_policy_mapping_t x509_policy_mapping_t; +typedef struct x509_cdp_t x509_cdp_t; typedef enum x509_flag_t x509_flag_t; /** @@ -78,6 +79,16 @@ struct x509_policy_mapping_t { }; /** + * X.509 CRL distributionPoint + */ +struct x509_cdp_t { + /** CDP URI, as string */ + char *uri; + /** CRL issuer */ + identification_t *issuer; +}; + +/** * X.509 certificate interface. * * This interface adds additional methods to the certificate_t type to @@ -143,7 +154,7 @@ struct x509_t { /** * Create an enumerator over all CRL URIs and CRL Issuers. * - * @return enumerator over URIs (char*, identificiation_t*) + * @return enumerator over x509_cdp_t */ enumerator_t* (*create_crl_uri_enumerator)(x509_t *this); |