Struct EncryptedData
- Namespace
- Stratara.Abstractions.Security
- Assembly
- Stratara.Abstractions.dll
Ciphertext envelope produced by IEncryptionFactory. Carries the three components needed for AES-GCM decryption — none of them are secrets, but the envelope is bound to the original associated-data via the authentication tag.
[ExcludeFromCodeCoverage]
public readonly struct EncryptedData
- Inherited Members
- Extension Methods
Properties
CipherText
The encrypted payload.
public required byte[] CipherText { get; init; }
Property Value
- byte[]
Nonce
The nonce used during encryption — must be unique per (key, message).
public required byte[] Nonce { get; init; }
Property Value
- byte[]
Tag
The 16-byte AES-GCM authentication tag — verified on decryption.
public required byte[] Tag { get; init; }
Property Value
- byte[]