다음을 통해 공유


MetadataSerializer.GetMetadataSigningCertificate 메서드

정의

지정된 키 식별자에서 만든 X.509 인증서를 가져옵니다.

protected:
 virtual System::Security::Cryptography::X509Certificates::X509Certificate2 ^ GetMetadataSigningCertificate(System::IdentityModel::Tokens::SecurityKeyIdentifier ^ ski);
protected virtual System.Security.Cryptography.X509Certificates.X509Certificate2 GetMetadataSigningCertificate (System.IdentityModel.Tokens.SecurityKeyIdentifier ski);
abstract member GetMetadataSigningCertificate : System.IdentityModel.Tokens.SecurityKeyIdentifier -> System.Security.Cryptography.X509Certificates.X509Certificate2
override this.GetMetadataSigningCertificate : System.IdentityModel.Tokens.SecurityKeyIdentifier -> System.Security.Cryptography.X509Certificates.X509Certificate2
Protected Overridable Function GetMetadataSigningCertificate (ski As SecurityKeyIdentifier) As X509Certificate2

매개 변수

ski
SecurityKeyIdentifier

X.509 인증서를 만드는 키 식별자입니다.

반환

지정된 키 식별자에서 만든 X.509 인증서입니다.

예외

ski이(가) null인 경우

ski에서 X509RawDataKeyIdentifierClause 형식의 키 식별자 절을 찾을 수 없습니다. 기본 동작을 적용합니다. 다른 키 식별자 절을 지원하도록 이 메서드를 재정의할 수 있습니다.

설명

기본적으로 이 메서드는 형식 X509RawDataKeyIdentifierClause의 키 식별자 절만 지원합니다. 다른 종류의 키 식별자 절을 지원하도록 이 메서드를 재정의할 수 있습니다. 이 메서드는 ValidateSigningCredential 메서드에 의해 호출됩니다.

적용 대상