Table of Contents

Class PiiEncryptionSettingsValidator

Namespace
SEBT.Portal.Infrastructure.Configuration.Validators
Assembly
SEBT.Portal.Infrastructure.dll

Ensures PiiEncryptionSettings binds coherently: key ring parses, 256-bit key lengths, and ActiveKeyId resolves.

public sealed class PiiEncryptionSettingsValidator
Inheritance
object
PiiEncryptionSettingsValidator

Methods

Validate(string?, PiiEncryptionSettings)

Validates a specified named options instance (or all if name is null).

public ValidateOptionsResult Validate(string? name, PiiEncryptionSettings options)

Parameters

name string

The name of the options instance being validated.

options PiiEncryptionSettings

The options instance.

Returns

ValidateOptionsResult

The Microsoft.Extensions.Options.ValidateOptionsResult result.