MetadataSerializer.GetMetadataSigningCertificate 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
지정된 키 식별자에서 만든 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
매개 변수
X.509 인증서를 만드는 키 식별자입니다.
반환
지정된 키 식별자에서 만든 X.509 인증서입니다.
예외
ski
이(가) null
인 경우
ski
에서 X509RawDataKeyIdentifierClause 형식의 키 식별자 절을 찾을 수 없습니다. 기본 동작을 적용합니다. 다른 키 식별자 절을 지원하도록 이 메서드를 재정의할 수 있습니다.
설명
기본적으로 이 메서드는 형식 X509RawDataKeyIdentifierClause의 키 식별자 절만 지원합니다. 다른 종류의 키 식별자 절을 지원하도록 이 메서드를 재정의할 수 있습니다. 이 메서드는 ValidateSigningCredential 메서드에 의해 호출됩니다.
적용 대상
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기