on_crl_needed Event
Requests a missing CRL from the user.
Syntax
class CertificateValidatorCRLNeededEventParams(object): @property def cert() -> str: ... @property def ca_cert() -> str: ... # In class CertificateValidator: @property def on_crl_needed() -> Callable[[CertificateValidatorCRLNeededEventParams], None]: ... @on_crl_needed.setter def on_crl_needed(event_hook: Callable[[CertificateValidatorCRLNeededEventParams], None]) -> None: ...
Remarks
This event is fired when a CRL that is needed to validate Cert is not found at any of the available locations. If you have access to the missing CRL, please add it to the known_cr_ls collection to make it available to the validator.
When this event fires, the current_certificate and current_ca_certificate properties are assigned with the certificate being validated and its issuer certificate.