Aracılığıyla paylaş


DataProtectionBuilderExtensions.ProtectKeysWithDpapi Yöntem

Tanım

Aşırı Yüklemeler

ProtectKeysWithDpapi(IDataProtectionBuilder)

Anahtarları depolamada kalıcı hale getirilmeden önce Windows DPAPI ile şifrelenecek şekilde yapılandırılır. Şifrelenmiş anahtarın şifresi yalnızca geçerli Windows kullanıcı hesabı tarafından çözülebilir.

ProtectKeysWithDpapi(IDataProtectionBuilder, Boolean)

Anahtarları depolamada kalıcı hale getirilmeden önce Windows DPAPI ile şifrelenecek şekilde yapılandırılır.

ProtectKeysWithDpapi(IDataProtectionBuilder)

Kaynak:
DataProtectionBuilderExtensions.cs
Kaynak:
DataProtectionBuilderExtensions.cs
Kaynak:
DataProtectionBuilderExtensions.cs
Kaynak:
DataProtectionBuilderExtensions.cs
Kaynak:
DataProtectionBuilderExtensions.cs
Kaynak:
DataProtectionBuilderExtensions.cs
Kaynak:
DataProtectionBuilderExtensions.cs
Kaynak:
DataProtectionBuilderExtensions.cs

Anahtarları depolamada kalıcı hale getirilmeden önce Windows DPAPI ile şifrelenecek şekilde yapılandırılır. Şifrelenmiş anahtarın şifresi yalnızca geçerli Windows kullanıcı hesabı tarafından çözülebilir.

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

Parametreler

Döndürülenler

Bu işlem tamamlandıktan sonra öğesine IDataProtectionBuilder başvuru.

Açıklamalar

Bu API yalnızca Windows platformlarında desteklenir.

Şunlara uygulanır

ProtectKeysWithDpapi(IDataProtectionBuilder, Boolean)

Kaynak:
DataProtectionBuilderExtensions.cs
Kaynak:
DataProtectionBuilderExtensions.cs
Kaynak:
DataProtectionBuilderExtensions.cs
Kaynak:
DataProtectionBuilderExtensions.cs
Kaynak:
DataProtectionBuilderExtensions.cs
Kaynak:
DataProtectionBuilderExtensions.cs
Kaynak:
DataProtectionBuilderExtensions.cs
Kaynak:
DataProtectionBuilderExtensions.cs

Anahtarları depolamada kalıcı hale getirilmeden önce Windows DPAPI ile şifrelenecek şekilde yapılandırılır.

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

Parametreler

protectToLocalMachine
Boolean

Yerel makinedeki herhangi bir kullanımda anahtarın şifresi çözülebilirse 'true', anahtarın yalnızca geçerli Windows kullanıcı hesabı tarafından şifresi çözülebilirse 'false'.

Döndürülenler

Bu işlem tamamlandıktan sonra öğesine IDataProtectionBuilder başvuru.

Açıklamalar

Bu API yalnızca Windows platformlarında desteklenir.

Şunlara uygulanır