Table of Contents

Class DecryptionOptions

Namespace
Excalibur.Compliance
Assembly
Excalibur.Compliance.Abstractions.dll

Options for bulk decryption operations.

public sealed class DecryptionOptions
Inheritance
DecryptionOptions
Inherited Members

Properties

BatchSize

Gets or sets the batch size for processing. Default is 100.

public int BatchSize { get; set; }

Property Value

int

Remarks

Larger batches improve throughput but increase memory usage.

Context

Gets or sets the encryption context for decryption.

public EncryptionContext? Context { get; set; }

Property Value

EncryptionContext

Remarks

Required for multi-tenant scenarios or when specific purposes are used.

ContinueOnError

Gets or sets whether to continue processing on decryption errors.

public bool ContinueOnError { get; set; }

Property Value

bool

Remarks

When true, failed items are skipped and logged. When false (default), the first error stops processing.

IncludeUnencryptedFields

Gets or sets whether to include non-encrypted fields in output.

public bool IncludeUnencryptedFields { get; set; }

Property Value

bool

Remarks

When true (default), the entire entity is returned with encrypted fields decrypted. When false, only encrypted field values are included.

ProviderId

Gets or sets the provider ID to use for decryption, or null for auto-detect.

public string? ProviderId { get; set; }

Property Value

string

Remarks

When null, the appropriate provider is detected from the encrypted data envelope.