MetadataSerializer.ValidateIssuer(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 X.509 certificate that signed the metadata document against the trusted issuers list specified by the TrustedIssuers property. This method is invoked by the ValidateSigningCredential(SigningCredentials) method.
protected:
virtual void ValidateIssuer(System::Security::Cryptography::X509Certificates::X509Certificate2 ^ signingCertificate);
protected virtual void ValidateIssuer (System.Security.Cryptography.X509Certificates.X509Certificate2 signingCertificate);
abstract member ValidateIssuer : System.Security.Cryptography.X509Certificates.X509Certificate2 -> unit
override this.ValidateIssuer : System.Security.Cryptography.X509Certificates.X509Certificate2 -> unit
Protected Overridable Sub ValidateIssuer (signingCertificate As X509Certificate2)
Parameters
- signingCertificate
- X509Certificate2
The signing certificate.
Remarks
By default, this method does not perform any validation. Provide your own implementation to perform trusted issuer validation.
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.