次の方法で共有


DataProtectionBuilderExtensions.UnprotectKeysWithAnyCertificate メソッド

定義

ストレージから読み込まれたキーの暗号化を解除するために使用できる証明書を構成します。

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::DataProtection::IDataProtectionBuilder ^ UnprotectKeysWithAnyCertificate(Microsoft::AspNetCore::DataProtection::IDataProtectionBuilder ^ builder, ... cli::array <System::Security::Cryptography::X509Certificates::X509Certificate2 ^> ^ certificates);
public static Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder UnprotectKeysWithAnyCertificate (this Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder builder, params System.Security.Cryptography.X509Certificates.X509Certificate2[] certificates);
static member UnprotectKeysWithAnyCertificate : Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder * System.Security.Cryptography.X509Certificates.X509Certificate2[] -> Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder
<Extension()>
Public Function UnprotectKeysWithAnyCertificate (builder As IDataProtectionBuilder, ParamArray certificates As X509Certificate2()) As IDataProtectionBuilder

パラメーター

certificates
X509Certificate2[]

キー データの暗号化を解除するために使用できる証明書。

戻り値

この操作が完了した後の への IDataProtectionBuilder 参照。

適用対象