Condividi tramite


DataProtectionBuilderExtensions.ProtectKeysWithDpapi Metodo

Definizione

Overload

Nome Descrizione
ProtectKeysWithDpapi(IDataProtectionBuilder)

Configura le chiavi da crittografare con Windows DPAPI prima di essere salvate in modo permanente nell'archiviazione. La chiave crittografata sarà decrittografabile solo dall'account utente corrente Windows.

ProtectKeysWithDpapi(IDataProtectionBuilder, Boolean)

Configura le chiavi da crittografare con Windows DPAPI prima di essere salvate in modo permanente nell'archiviazione.

ProtectKeysWithDpapi(IDataProtectionBuilder)

Origine:
DataProtectionBuilderExtensions.cs
Origine:
DataProtectionBuilderExtensions.cs
Origine:
DataProtectionBuilderExtensions.cs
Origine:
DataProtectionBuilderExtensions.cs
Origine:
DataProtectionBuilderExtensions.cs
Origine:
DataProtectionBuilderExtensions.cs
Origine:
DataProtectionBuilderExtensions.cs
Origine:
DataProtectionBuilderExtensions.cs
Origine:
DataProtectionBuilderExtensions.cs
Origine:
DataProtectionBuilderExtensions.cs

Configura le chiavi da crittografare con Windows DPAPI prima di essere salvate in modo permanente nell'archiviazione. La chiave crittografata sarà decrittografabile solo dall'account utente corrente 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

Parametri

Valori restituiti

Riferimento all'oggetto dopo il IDataProtectionBuilder completamento di questa operazione.

Commenti

Questa API è supportata solo nelle piattaforme Windows.

Si applica a

ProtectKeysWithDpapi(IDataProtectionBuilder, Boolean)

Origine:
DataProtectionBuilderExtensions.cs
Origine:
DataProtectionBuilderExtensions.cs
Origine:
DataProtectionBuilderExtensions.cs
Origine:
DataProtectionBuilderExtensions.cs
Origine:
DataProtectionBuilderExtensions.cs
Origine:
DataProtectionBuilderExtensions.cs
Origine:
DataProtectionBuilderExtensions.cs
Origine:
DataProtectionBuilderExtensions.cs
Origine:
DataProtectionBuilderExtensions.cs
Origine:
DataProtectionBuilderExtensions.cs

Configura le chiavi da crittografare con Windows DPAPI prima di essere salvate in modo permanente nell'archiviazione.

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

Parametri

protectToLocalMachine
Boolean

'true' se la chiave deve essere decrittografabile da qualsiasi utente nel computer locale, 'false' se la chiave deve essere decrittografabile solo dall'account utente corrente Windows.

Valori restituiti

Riferimento all'oggetto dopo il IDataProtectionBuilder completamento di questa operazione.

Commenti

Questa API è supportata solo nelle piattaforme Windows.

Si applica a