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
Maklum balas
https://aka.ms/ContentUserFeedback.
Akan datang: Sepanjang 2024, kami akan menghentikan secara berperingkat Isu GitHub sebagai kaedah maklum balas untuk kandungan dan menggantikannya dengan sistem maklum balas baharu. Untuk mendapatkan maklumat lanjut lihat:Kirim dan lihat maklum balas untuk