次の方法で共有


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 証明書。

例外

skinullです。

skiX509RawDataKeyIdentifierClause型のキー識別子句が見つかりません。 既定の動作を適用します。このメソッドをオーバーライドして、他のキー識別子句をサポートできます。

注釈

既定では、このメソッドは X509RawDataKeyIdentifierClause型のキー識別子句のみをサポートします。 このメソッドをオーバーライドして、他の種類のキー識別子句をサポートできます。 このメソッドは、 ValidateSigningCredential メソッドによって呼び出されます。

適用対象