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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.