X509NTAuthChainTrustValidator.Validate(X509Certificate2) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Validates the specified X.509 certificate.
public:
override void Validate(System::Security::Cryptography::X509Certificates::X509Certificate2 ^ certificate);
public override void Validate (System.Security.Cryptography.X509Certificates.X509Certificate2 certificate);
override this.Validate : System.Security.Cryptography.X509Certificates.X509Certificate2 -> unit
Public Overrides Sub Validate (certificate As X509Certificate2)
Parameters
- certificate
- X509Certificate2
The X.509 certificate to validate.
Exceptions
certificate
is null
.
Validation of the X.509 certificate failed.
Remarks
Throws a SecurityTokenValidationException exception if validation fails.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.