Table of Contents

Class SecretRijndaelConfigurationSource

Namespace
Arc4u.Configuration.Decryptor
Assembly
Arc4u.Configuration.Decryptor.dll

Represent the IConfigurationProvider collection as an IConfigurationSource for decryption based on the Rijndael algorythm.

public class SecretRijndaelConfigurationSource : IConfigurationSource
Inheritance
SecretRijndaelConfigurationSource
Implements
Inherited Members

Constructors

SecretRijndaelConfigurationSource(SecretRijndaelOptions)

Create a IConfigurationSource using the defaults. The Rijndael configuration is fetched from the previous providers.

public SecretRijndaelConfigurationSource(SecretRijndaelOptions options)

Parameters

options SecretRijndaelOptions

Fields

PrefixDefault

The default prefix (Decrypt:) that marks a configuration value as encrypted.

public const string PrefixDefault = "Decrypt:"

Field Value

string

SecretSectionNameDefault

The default name (EncryptionRijndael) of the configuration section that contains the AES Key (base64 encoded).

public const string SecretSectionNameDefault = "EncryptionRijndael"

Field Value

string

Methods

Build(IConfigurationBuilder)

Builds the SecretRijndaelConfigurationProvider for this source.

public IConfigurationProvider Build(IConfigurationBuilder builder)

Parameters

builder IConfigurationBuilder

The IConfigurationBuilder.

Returns

IConfigurationProvider

A SecretRijndaelConfigurationProvider