<PackageReference Include="Microsoft.Bcl.Cryptography" Version="11.0.0-rc.1.26425.128" />

System.Security.Cryptography.AuthenticationTagMismatchException

The exception that is thrown when a decryption operation with an authenticated cipher has an authentication tag mismatch.

Initializes a new instance of the AuthenticationTagMismatchException class with default properties.

public AuthenticationTagMismatchException(string message)

Initializes a new instance of the AuthenticationTagMismatchException class with a specified error message.

public AuthenticationTagMismatchException(string message, Exception inner)

Initializes a new instance of the AuthenticationTagMismatchException class with a specified error message and a reference to the inner exception that is the cause of this exception.