DataProtectionBuilderExtensions.UnprotectKeysWithAnyCertificate Metodo

Definizione

Configura i certificati che possono essere usati per decrittografare le chiavi caricate dall'archiviazione.

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

Parametri

certificates
X509Certificate2[]

Certificati che possono essere usati per decrittografare i dati delle chiavi.

Restituisce

Riferimento all'oggetto dopo il completamento dell'operazione IDataProtectionBuilder .

Si applica a