ManagedAuthenticatedEncryptionSettings Class

Definition

Settings for configuring an authenticated encryption mechanism which uses managed SymmetricAlgorithm and KeyedHashAlgorithm implementations.

public ref class ManagedAuthenticatedEncryptionSettings sealed
public sealed class ManagedAuthenticatedEncryptionSettings
type ManagedAuthenticatedEncryptionSettings = class
Public NotInheritable Class ManagedAuthenticatedEncryptionSettings
Inheritance
ManagedAuthenticatedEncryptionSettings

Constructors

ManagedAuthenticatedEncryptionSettings()

Properties

EncryptionAlgorithmKeySize

The length (in bits) of the key that will be used for symmetric encryption. This property is required to have a value.

EncryptionAlgorithmType

The type of the algorithm to use for symmetric encryption. The type must subclass SymmetricAlgorithm. This property is required to have a value.

ValidationAlgorithmType

The type of the algorithm to use for validation. Type type must subclass KeyedHashAlgorithm. This property is required to have a value.

Methods

Validate()

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

Applies to