IDataProtector Interface

Definition

An interface that can provide data protection services.

public interface IDataProtector : Microsoft.AspNetCore.DataProtection.IDataProtectionProvider
Derived
Microsoft.AspNetCore.DataProtection.IPersistedDataProtector
Microsoft.AspNetCore.DataProtection.ITimeLimitedDataProtector
Implements

Methods

Protect(Byte[])

Cryptographically protects a piece of plaintext data.

Unprotect(Byte[])

Cryptographically unprotects a piece of protected data.

Extension Methods

ToTimeLimitedDataProtector(IDataProtector)
CreateProtector(IDataProtectionProvider, IEnumerable<String>)
CreateProtector(IDataProtectionProvider, String, String[])
Protect(IDataProtector, String)
Unprotect(IDataProtector, String)