Skip to main content
Table of Contents

Class StrataraBlobEncryptionOptions

Namespace
Stratara.Security
Assembly
Stratara.Security.dll

Options for the AES-GCM blob encryptor registered by the Stratara.Security DI extensions.

public sealed class StrataraBlobEncryptionOptions
Inheritance
StrataraBlobEncryptionOptions
Inherited Members
Extension Methods

Fields

SectionName

The configuration section these options bind from by default.

public const string SectionName = "Stratara:BlobEncryption"

Field Value

string

Properties

LegacyBlobsCarryPurpose

How to interpret a legacy stream that lacks the v2 leading version byte. When true, the legacy stream is expected to carry a length-prefixed purpose field after the key id; when false, no purpose field is present and "blob" is assumed. New streams are always written in the v2 format regardless of this setting. Default: false.

public bool LegacyBlobsCarryPurpose { get; set; }

Property Value

bool