IDataProtector 介面

定義

提供資料保護服務的介面。

public interface class IDataProtector : Microsoft::AspNetCore::DataProtection::IDataProtectionProvider
public interface IDataProtector : Microsoft.AspNetCore.DataProtection.IDataProtectionProvider
type IDataProtector = interface
    interface IDataProtectionProvider
Public Interface IDataProtector
Implements IDataProtectionProvider
衍生
實作

方法

CreateProtector(String)

IDataProtector建立指定的用途。

(繼承來源 IDataProtectionProvider)
Protect(Byte[])

以密碼編譯方式保護一段純文字資料。

Unprotect(Byte[])

以密碼編譯方式解除保護受保護的資料片段。

擴充方法

ToTimeLimitedDataProtector(IDataProtector)

IDataProtector 轉換成 ITimeLimitedDataProtector ,讓承載可以受到有限存留期的保護。

CreateProtector(IDataProtectionProvider, IEnumerable<String>)

IDataProtector建立指定的用途清單。

CreateProtector(IDataProtectionProvider, String, String[])

IDataProtector建立指定的用途清單。

Protect(IDataProtector, String)

以密碼編譯方式保護一段純文字資料。

Unprotect(IDataProtector, String)

以密碼編譯方式解除保護受保護的資料片段。

適用於