BeforeCertificateValidation Event
Reports the start of certificate validation.
Syntax
public event OnBeforeCertificateValidationHandler OnBeforeCertificateValidation; public delegate void OnBeforeCertificateValidationHandler(object sender, CertificatevalidatorBeforeCertificateValidationEventArgs e); public class CertificatevalidatorBeforeCertificateValidationEventArgs : EventArgs { public string Cert { get; } public string CACert { get; } }
Public Event OnBeforeCertificateValidation As OnBeforeCertificateValidationHandler Public Delegate Sub OnBeforeCertificateValidationHandler(sender As Object, e As CertificatevalidatorBeforeCertificateValidationEventArgs) Public Class CertificatevalidatorBeforeCertificateValidationEventArgs Inherits EventArgs Public ReadOnly Property Cert As String Public ReadOnly Property CACert As String End Class
Remarks
This event is fired when the component is about to start validating Cert with CACert.
A 'validation' is a single step of validating a certificate with its CA certificate. A row of consecutive validations of the same certificate with different CAs are grouped into 'processings.'
The firing of AfterCertificateValidation marks the end of the certificate validation step.