Share via


IPersistedDataProtector Interface

Definition

An interface that can provide data protection services for data which has been persisted to long-term storage.

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
Implements

Methods

CreateProtector(String)

Creates an IDataProtector given a purpose.

(Inherited from IDataProtectionProvider)
DangerousUnprotect(Byte[], Boolean, Boolean, Boolean)

Cryptographically unprotects a piece of data, optionally ignoring failures due to revocation of the cryptographic keys used to protect the payload.

Protect(Byte[])

Cryptographically protects a piece of plaintext data.

(Inherited from IDataProtector)
Unprotect(Byte[])

Cryptographically unprotects a piece of protected data.

(Inherited from IDataProtector)

Extension Methods

ToTimeLimitedDataProtector(IDataProtector)

Converts an IDataProtector into an ITimeLimitedDataProtector so that payloads can be protected with a finite lifetime.

CreateProtector(IDataProtectionProvider, IEnumerable<String>)

Creates an IDataProtector given a list of purposes.

CreateProtector(IDataProtectionProvider, String, String[])

Creates an IDataProtector given a list of purposes.

Protect(IDataProtector, String)

Cryptographically protects a piece of plaintext data.

Unprotect(IDataProtector, String)

Cryptographically unprotects a piece of protected data.

Applies to