Compartir a través de


DataProtectionBuilderExtensions.ProtectKeysWithDpapi Método

Definición

Sobrecargas

ProtectKeysWithDpapi(IDataProtectionBuilder)

Configura las claves que se van a cifrar con DPAPI de Windows antes de conservarse en el almacenamiento. La clave cifrada solo será descifrable por la cuenta de usuario actual de Windows.

ProtectKeysWithDpapi(IDataProtectionBuilder, Boolean)

Configura las claves que se van a cifrar con DPAPI de Windows antes de conservarse en el almacenamiento.

ProtectKeysWithDpapi(IDataProtectionBuilder)

Source:
DataProtectionBuilderExtensions.cs
Source:
DataProtectionBuilderExtensions.cs
Source:
DataProtectionBuilderExtensions.cs
Source:
DataProtectionBuilderExtensions.cs
Source:
DataProtectionBuilderExtensions.cs
Source:
DataProtectionBuilderExtensions.cs
Source:
DataProtectionBuilderExtensions.cs
Source:
DataProtectionBuilderExtensions.cs

Configura las claves que se van a cifrar con DPAPI de Windows antes de conservarse en el almacenamiento. La clave cifrada solo será descifrable por la cuenta de usuario actual de Windows.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::DataProtection::IDataProtectionBuilder ^ ProtectKeysWithDpapi(Microsoft::AspNetCore::DataProtection::IDataProtectionBuilder ^ builder);
public static Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder ProtectKeysWithDpapi (this Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder builder);
static member ProtectKeysWithDpapi : Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder -> Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder
<Extension()>
Public Function ProtectKeysWithDpapi (builder As IDataProtectionBuilder) As IDataProtectionBuilder

Parámetros

Devoluciones

Referencia a una IDataProtectionBuilder vez completada esta operación.

Comentarios

Esta API solo se admite en plataformas Windows.

Se aplica a

ProtectKeysWithDpapi(IDataProtectionBuilder, Boolean)

Source:
DataProtectionBuilderExtensions.cs
Source:
DataProtectionBuilderExtensions.cs
Source:
DataProtectionBuilderExtensions.cs
Source:
DataProtectionBuilderExtensions.cs
Source:
DataProtectionBuilderExtensions.cs
Source:
DataProtectionBuilderExtensions.cs
Source:
DataProtectionBuilderExtensions.cs
Source:
DataProtectionBuilderExtensions.cs

Configura las claves que se van a cifrar con DPAPI de Windows antes de conservarse en el almacenamiento.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::DataProtection::IDataProtectionBuilder ^ ProtectKeysWithDpapi(Microsoft::AspNetCore::DataProtection::IDataProtectionBuilder ^ builder, bool protectToLocalMachine);
public static Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder ProtectKeysWithDpapi (this Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder builder, bool protectToLocalMachine);
static member ProtectKeysWithDpapi : Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder * bool -> Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder
<Extension()>
Public Function ProtectKeysWithDpapi (builder As IDataProtectionBuilder, protectToLocalMachine As Boolean) As IDataProtectionBuilder

Parámetros

protectToLocalMachine
Boolean

'true' si cualquier uso de la clave debe descifrarse en el equipo local, 'false' si la clave solo se debe descifrar mediante la cuenta de usuario de Windows actual.

Devoluciones

Referencia a una IDataProtectionBuilder vez completada esta operación.

Comentarios

Esta API solo se admite en plataformas Windows.

Se aplica a