IPersistedDataProtector Antarmuka
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Antarmuka yang dapat menyediakan layanan perlindungan data untuk data yang telah disimpan ke penyimpanan jangka panjang.
public interface class IPersistedDataProtector : Microsoft::AspNetCore::DataProtection::IDataProtector
public interface IPersistedDataProtector : Microsoft.AspNetCore.DataProtection.IDataProtector
type IPersistedDataProtector = interface
interface IDataProtector
interface IDataProtectionProvider
type IPersistedDataProtector = interface
interface IDataProtectionProvider
interface IDataProtector
Public Interface IPersistedDataProtector
Implements IDataProtector
- Penerapan
Metode
CreateProtector(String) |
Membuat tujuan tertentu IDataProtector . (Diperoleh dari IDataProtectionProvider) |
DangerousUnprotect(Byte[], Boolean, Boolean, Boolean) |
Secara kriptografis membuka proteksi sepotong data, secara opsional mengabaikan kegagalan karena pencabutan kunci kriptografi yang digunakan untuk melindungi payload. |
Protect(Byte[]) |
Secara kriptografi melindungi sepotong data teks biasa. (Diperoleh dari IDataProtector) |
Unprotect(Byte[]) |
Secara kriptografis tidak melindungi sepotong data yang dilindungi. (Diperoleh dari IDataProtector) |
Metode Ekstensi
ToTimeLimitedDataProtector(IDataProtector) |
IDataProtector Mengonversi menjadi ITimeLimitedDataProtector sehingga payload dapat dilindungi dengan masa pakai yang terbatas. |
CreateProtector(IDataProtectionProvider, IEnumerable<String>) |
Membuat daftar tujuan yang IDataProtector diberikan. |
CreateProtector(IDataProtectionProvider, String, String[]) |
Membuat daftar tujuan yang IDataProtector diberikan. |
Protect(IDataProtector, String) |
Secara kriptografi melindungi sepotong data teks biasa. |
Unprotect(IDataProtector, String) |
Secara kriptografis tidak melindungi sepotong data yang dilindungi. |