CRLNeeded Event
Requests a missing CRL from the user.
Syntax
public event OnCRLNeededHandler OnCRLNeeded; public delegate void OnCRLNeededHandler(object sender, CertificatevalidatorCRLNeededEventArgs e); public class CertificatevalidatorCRLNeededEventArgs : EventArgs { public string Cert { get; } public string CACert { get; } }
Public Event OnCRLNeeded As OnCRLNeededHandler Public Delegate Sub OnCRLNeededHandler(sender As Object, e As CertificatevalidatorCRLNeededEventArgs) Public Class CertificatevalidatorCRLNeededEventArgs Inherits EventArgs Public ReadOnly Property Cert As String Public ReadOnly Property CACert As String End Class
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 KnownCRLs collection to make it available to the validator.
When this event fires, the CurrentCertificate and CurrentCACertificate properties are assigned with the certificate being validated and its issuer certificate.