'Declaration
Event ValidateRemoteCertificate As ValidateCertificateEventHandler
'Usage
Dim instance As ICertificateSecurityHandler Dim handler As ValidateCertificateEventHandler AddHandler instance.ValidateRemoteCertificate, handler
event ValidateCertificateEventHandler ValidateRemoteCertificate
event ValidateCertificateEventHandler^ ValidateRemoteCertificate
Event Data
The event handler receives an argument of type ValidateCertificateEventArgs containing data related to this event. The following ValidateCertificateEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Certificate | The certificate to be validated. |
Chain | The chain of certificate authorities associated with the certificate to be validated. |
Sender | An object that contains state information for this validation. |
Target | The target object for which the validation is being performed. |
TransportPolicyErrors | Errors associated with the certificate to be validated. |
ValidationResult | Determines whether the specified certificate is accepted for authentication. |
Requirements