X509NTAuthChainTrustValidator.Validate(X509Certificate2) Method
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);
C#
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)
- certificate
- X509Certificate2
The X.509 certificate to validate.
certificate
is null
.
Validation of the X.509 certificate failed.
Throws a SecurityTokenValidationException exception if validation fails.
Product | Versions |
---|---|
.NET Framework | 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
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.
.NET feedback
.NET is an open source project. Select a link to provide feedback: