Class MacMismatchException
- Namespace
- Nops.Core
- Assembly
- Nops.Core.dll
Thrown when the file or one of its encrypted values fails authentication: the file was edited without sops, or it is truncated or corrupt. Decryption never returns values from a file that fails this check unless ThrowOnMacMismatch is turned off.
public sealed class MacMismatchException : Exception, ISerializable
- Inheritance
-
MacMismatchException
- Implements
- Inherited Members
Constructors
MacMismatchException(string)
Creates the exception with a message.
public MacMismatchException(string message)
Parameters
messagestring
MacMismatchException(string, Exception)
Creates the exception with a message and the exception that caused it.
public MacMismatchException(string message, Exception innerException)