AesEncryptedFileStorage Constructor (array<Byte>[]()[][])

Initializes a new instance of the AesEncryptedFileStorage class.

Namespace:  SecretNET.Common.Storage
Assembly:  SecretNET (in SecretNET.dll)

Syntax


public AesEncryptedFileStorage(
	byte[] aesEncryptionKey
)

Parameters

aesEncryptionKey
Type: array<Byte>[]()[][]
The aes encryption key.

Exceptions


ExceptionCondition
[System.InvalidOperationException]The AES-EncryptionKey must not be empty!
[System.InvalidOperationException]The AES-EncryptionKey must have at least a length >= 32 !