Class ReEncryptionContext
- Namespace
- Excalibur.Compliance
- Assembly
- Excalibur.Compliance.Abstractions.dll
Context for a single re-encryption operation.
public sealed class ReEncryptionContext
- Inheritance
-
ReEncryptionContext
- Inherited Members
Properties
EncryptionContext
Gets or sets the encryption context for both decryption and encryption.
public EncryptionContext? EncryptionContext { get; set; }
Property Value
Remarks
Contains purpose, tenant ID, and other contextual information.
SourceProviderId
Gets or sets the source provider ID. Null for auto-detect from encrypted data.
public string? SourceProviderId { get; set; }
Property Value
Remarks
When null, the appropriate provider is detected from the encrypted data envelope.
TargetProviderId
Gets or sets the target provider ID. Null uses the primary provider.
public string? TargetProviderId { get; set; }
Property Value
Remarks
When null, GetPrimary() is used.
VerifyBeforeReEncrypt
Gets or sets whether to verify decryption before re-encryption. Default is true.
public bool VerifyBeforeReEncrypt { get; set; }
Property Value
Remarks
When true, the data is decrypted and verified to be valid before re-encryption.