on_ca_certificate_needed Event
Requests a missing certificate from the user.
Syntax
class CertificateValidatorCACertificateNeededEventParams(object): @property def cert() -> str: ... # In class CertificateValidator: @property def on_ca_certificate_needed() -> Callable[[CertificateValidatorCACertificateNeededEventParams], None]: ... @on_ca_certificate_needed.setter def on_ca_certificate_needed(event_hook: Callable[[CertificateValidatorCACertificateNeededEventParams], None]) -> None: ...
Remarks
This event is fired when a CA certificate that is needed to validate Cert is not found at any of the available locations. If you have access to the missing certificate, please add it to the known_certificates collection to make it available to the validator.
When this event fires, the current_certificate property is assigned with the certificate being validated. It is the CA that issued that certificate that the validator is looking for.