Table of Contents

Class PiiSymmetricEncryptionFactory

Namespace
SEBT.Portal.Infrastructure.Services
Assembly
SEBT.Portal.Infrastructure.dll

Selects reversible PII crypto: AES-GCM when EncryptAtRest (requires keys), optional AES read support when encryption is off but keys remain configured, or plaintext-only when off and keyless.

public static class PiiSymmetricEncryptionFactory
Inheritance
object
PiiSymmetricEncryptionFactory

Methods

Create(IOptions<PiiEncryptionSettings>)

public static IPiiSymmetricEncryption Create(IOptions<PiiEncryptionSettings> options)

Parameters

options IOptions<PiiEncryptionSettings>

Returns

IPiiSymmetricEncryption