DataProtectionBuilderExtensions.UnprotectKeysWithAnyCertificate Método

Definición

Configura los certificados que se pueden usar para descifrar las claves cargadas desde el almacenamiento.

C#
public static Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder UnprotectKeysWithAnyCertificate (this Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder builder, params System.Security.Cryptography.X509Certificates.X509Certificate2[] certificates);

Parámetros

certificates
X509Certificate2[]

Certificados que se pueden usar para descifrar los datos de clave.

Devoluciones

Referencia a una IDataProtectionBuilder vez completada esta operación.

Se aplica a

Producto Versiones
ASP.NET Core 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0