IDataProtector IDataProtector IDataProtector IDataProtector IDataProtector IDataProtector Interface

Definition

An interface that can provide data protection services.

public interface class IDataProtector : Microsoft::AspNetCore::DataProtection::IDataProtectionProvider
public interface class IDataProtector : Microsoft::AspNetCore::DataProtection::IDataProtectionProvider
__interface IDataProtector : Microsoft::AspNetCore::DataProtection::IDataProtectionProvider
public interface IDataProtector : Microsoft.AspNetCore.DataProtection.IDataProtectionProvider
type IDataProtector = interface
    interface IDataProtectionProvider
Public Interface IDataProtector
Implements IDataProtectionProvider
Derived
Implements

Methods

Protect(Byte[]) Protect(Byte[]) Protect(Byte[]) Protect(Byte[]) Protect(Byte[]) Protect(Byte[])

Cryptographically protects a piece of plaintext data.

Unprotect(Byte[]) Unprotect(Byte[]) Unprotect(Byte[]) Unprotect(Byte[]) Unprotect(Byte[]) Unprotect(Byte[])

Cryptographically unprotects a piece of protected data.

Extension Methods

ToTimeLimitedDataProtector(IDataProtector) ToTimeLimitedDataProtector(IDataProtector) ToTimeLimitedDataProtector(IDataProtector) ToTimeLimitedDataProtector(IDataProtector) ToTimeLimitedDataProtector(IDataProtector) ToTimeLimitedDataProtector(IDataProtector)

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

CreateProtector(IDataProtectionProvider, IEnumerable<String>) CreateProtector(IDataProtectionProvider, IEnumerable<String>) CreateProtector(IDataProtectionProvider, IEnumerable<String>) CreateProtector(IDataProtectionProvider, IEnumerable<String>) CreateProtector(IDataProtectionProvider, IEnumerable<String>) CreateProtector(IDataProtectionProvider, IEnumerable<String>)

Creates an IDataProtector given a list of purposes.

CreateProtector(IDataProtectionProvider, String, String[]) CreateProtector(IDataProtectionProvider, String, String[]) CreateProtector(IDataProtectionProvider, String, String[]) CreateProtector(IDataProtectionProvider, String, String[]) CreateProtector(IDataProtectionProvider, String, String[]) CreateProtector(IDataProtectionProvider, String, String[])

Creates an IDataProtector given a list of purposes.

Protect(IDataProtector, String) Protect(IDataProtector, String) Protect(IDataProtector, String) Protect(IDataProtector, String) Protect(IDataProtector, String) Protect(IDataProtector, String)

Cryptographically protects a piece of plaintext data.

Unprotect(IDataProtector, String) Unprotect(IDataProtector, String) Unprotect(IDataProtector, String) Unprotect(IDataProtector, String) Unprotect(IDataProtector, String) Unprotect(IDataProtector, String)

Cryptographically unprotects a piece of protected data.

Applies to