CertRevocationInfo#

class CertRevocationInfo(is_ocsp_enabled=None, ocsp_responder=None, is_crl_enabled=None, crl_dps=None, global_crl_refresh_interval=None, *args, **kwargs)#

Bases: object

Configuration details used for determining if the client certificate is revoked.

Parameters:
  • is_ocsp_enabled – (is_ocsp_enabled) Flag to enable/disable OCSP revocation check.

  • ocsp_responder – (ocsp_responder) URL of the OCSP responder used to override the URL from AIA extension.

  • is_crl_enabled – (is_crl_enabled) Flag to enable/disable CRL revocation check.

  • crl_dps – (crl_dps) List of the CRL distribution points which will be used to fetch the CRLs.

  • global_crl_refresh_interval – (global_crl_refresh_interval) Interval in seconds at which the CRL should be fetched from the CRLDP. The default is 86400 seconds(1 day).

property crl_dps#

List of the CRL distribution points which will be used to fetch the CRLs.

Type:

list[ str ]

property global_crl_refresh_interval#

Interval in seconds at which the CRL should be fetched from the CRLDP. The default is 86400 seconds(1 day).

Type:

int

property is_crl_enabled#

Flag to enable/disable CRL revocation check.

Type:

bool

property is_ocsp_enabled#

Flag to enable/disable OCSP revocation check.

Type:

bool

property ocsp_responder#

URL of the OCSP responder used to override the URL from AIA extension.

Type:

str

to_dict()#

Returns the model properties as a dictionary

to_str()#

Returns the string representation of the model