Show / Hide Table of Contents

Class IncorrectPassphraseException

The exception that is thrown when a user input passphrase (i.e., password) is incorrect.

Inheritance
Object
Exception
SystemException
ArgumentException
IncorrectPassphraseException
Implements
ISerializable
Inherited Members
ArgumentException.GetObjectData(SerializationInfo, StreamingContext)
ArgumentException.Message
ArgumentException.ParamName
Exception.GetBaseException()
Exception.GetType()
Exception.ToString()
Exception.Data
Exception.HelpLink
Exception.HResult
Exception.InnerException
Exception.Source
Exception.StackTrace
Exception.TargetSite
Exception.SerializeObjectState
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Namespace: Libplanet.KeyStore
Assembly: Libplanet.dll
Syntax
public class IncorrectPassphraseException : ArgumentException, ISerializable

Constructors

| Improve this Doc View Source

IncorrectPassphraseException(String, String, in ImmutableArray<Byte>, in ImmutableArray<Byte>)

Creates a new IncorrectPassphraseException object.

Declaration
public IncorrectPassphraseException(string message, string paramName, in ImmutableArray<byte> expectedMac, in ImmutableArray<byte> inputMac)
Parameters
Type Name Description
String message

The error message that explains the reason for the exception.

String paramName

The name of the parameter that caused the current exception.

ImmutableArray<Byte> expectedMac

The expected MAC of the correct passphrase. It is automatically included to the message string.

ImmutableArray<Byte> inputMac

The actual MAC of the user input passphrase. It is automatically included to the message string.

Properties

| Improve this Doc View Source

ExpectedMac

The expected MAC of the correct passphrase.

Declaration
public ImmutableArray<byte> ExpectedMac { get; }
Property Value
Type Description
ImmutableArray<Byte>
| Improve this Doc View Source

InputMac

The actual MAC of the user input passphrase.

Declaration
public ImmutableArray<byte> InputMac { get; }
Property Value
Type Description
ImmutableArray<Byte>

Implements

System.Runtime.Serialization.ISerializable

Extension Methods

ExtractableException.ExtractMetadata(Exception)
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright © 2018–2021 Planetarium