Skip to main content

InvalidSecretFileException

Namespace: Meshmakers.Octo.Runtime.Contracts.Secrets

Thrown by ISecretFileProtector when a stream is not a valid encrypted secret file: wrong magic, unsupported version, invalid header, or a body that was tampered with, truncated, reordered or extended (AB#5559). The message never contains file content.

public class InvalidSecretFileException : CryptographicException, ISerializable

Inheritance Object → Exception → SystemException → CryptographicException → InvalidSecretFileException
Implements ISerializable

Properties​

TargetSite​

public MethodBase TargetSite { get; }

Property Value​

MethodBase

Message​

public string Message { get; }

Property Value​

String

Data​

public IDictionary Data { get; }

Property Value​

IDictionary

InnerException​

public Exception InnerException { get; }

Property Value​

Exception

public string HelpLink { get; set; }

Property Value​

String

Source​

public string Source { get; set; }

Property Value​

String

HResult​

public int HResult { get; set; }

Property Value​

Int32

StackTrace​

public string StackTrace { get; }

Property Value​

String

Constructors​

InvalidSecretFileException(String)​

Creates a new instance.

public InvalidSecretFileException(string message)

Parameters​

message String

InvalidSecretFileException(String, Exception)​

Creates a new instance with the causing exception.

public InvalidSecretFileException(string message, Exception innerException)

Parameters​

message String

innerException Exception