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
Message
public string Message { get; }
Property Value
Data
public IDictionary Data { get; }
Property Value
InnerException
public Exception InnerException { get; }
Property Value
HelpLink
public string HelpLink { get; set; }
Property Value
Source
public string Source { get; set; }
Property Value
HResult
public int HResult { get; set; }
Property Value
StackTrace
public string StackTrace { get; }
Property Value
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