Edit

Share via


MetadataSerializer.ValidateIssuer(X509Certificate2) Method

Definition

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