Cette page n'a pas encore été traduite.
EncryptedData Class
Represents the result of JWE content encryption operation. Contains the components required for JWE Compact Serialization per RFC 7516.
public record EncryptedData : System.IEquatable<Abblix.Jwt.Encryption.EncryptedData>Inheritance System.Object → EncryptedData
Implements System.IEquatable<EncryptedData>
Constructors
EncryptedData(byte[], byte[], byte[]) Constructor
Represents the result of JWE content encryption operation. Contains the components required for JWE Compact Serialization per RFC 7516.
public EncryptedData(byte[] InitializationVector, byte[] Ciphertext, byte[] AuthenticationTag);Parameters
InitializationVector System.Byte[]
The random initialization vector (IV) used for content encryption.
Ciphertext System.Byte[]
The encrypted content (plaintext encrypted with CEK).
AuthenticationTag System.Byte[]
The authentication tag for verifying ciphertext integrity.
Properties
EncryptedData.AuthenticationTag Property
The authentication tag for verifying ciphertext integrity.
public byte[] AuthenticationTag { get; init; }Property Value
EncryptedData.Ciphertext Property
The encrypted content (plaintext encrypted with CEK).
public byte[] Ciphertext { get; init; }Property Value
EncryptedData.InitializationVector Property
The random initialization vector (IV) used for content encryption.
public byte[] InitializationVector { get; init; }