<PackageReference Include="Microsoft.IdentityModel.Tokens" Version="8.21.0" />

Microsoft.IdentityModel.Tokens.AuthenticatedEncryptionResult

Contains the results of Encrypt operation.
public byte[] AuthenticationTag { get; }

Gets the authentication tag.

public byte[] Ciphertext { get; }

Gets the Ciphertext.

public byte[] IV { get; }

Gets the initialization vector.

public SecurityKey Key { get; }

Gets the SecurityKey.

public AuthenticatedEncryptionResult(SecurityKey key, byte[] ciphertext, byte[] iv, byte[] authenticationTag)

Initializes a new instance of the AuthenticatedEncryptionResult class.