IDataProtector Arabirim

Tanım

Veri koruma hizmetleri sağlay sağlayan bir arabirim.

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
Türetilmiş
Uygulamalar

Yöntemler

CreateProtector(String)

IDataProtectorVerili bir amaç oluşturur.

(Devralındığı yer: IDataProtectionProvider)
Protect(Byte[])

Bir düz metin veri parçasını şifrelemeyle korur.

Unprotect(Byte[])

Şifrelemeyle korunan verilerin korumasını geri alır.

Uzantı Metotları

ToTimeLimitedDataProtector(IDataProtector)

, IDataProtector yüklerin ITimeLimitedDataProtector sınırlı bir yaşam süresiyle korunacak şekilde bir biçimine dönüştürür.

CreateProtector(IDataProtectionProvider, IEnumerable<String>)

IDataProtectorVerilen bir amaç listesi oluşturur.

CreateProtector(IDataProtectionProvider, String, String[])

IDataProtectorVerilen bir amaç listesi oluşturur.

Protect(IDataProtector, String)

Şifreleme, düz metin olan verileri korur.

Unprotect(IDataProtector, String)

Şifreleme, korunan verilerin bir parçasını kaldırır.

Şunlara uygulanır