AuthenticatedEncryptionSettings Class

Definition

Settings for configuring authenticated encryption algorithms.

C#
public sealed class AuthenticatedEncryptionSettings
Inheritance
AuthenticatedEncryptionSettings

Constructors

Properties

EncryptionAlgorithm

The algorithm to use for symmetric encryption (confidentiality).

ValidationAlgorithm

The algorithm to use for message authentication (tamper-proofing).

Methods

Validate()

Validates that this AuthenticatedEncryptionSettings is well-formed, i.e., that the specified algorithms actually exist and that they can be instantiated properly. An exception will be thrown if validation fails.

Applies to

Product Versions
ASP.NET Core 1.0, 1.1