Show / Hide Table of Contents

Class IncorrectPassphraseException

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

Inheritance
Object
IncorrectPassphraseException
Namespace: Libplanet.KeyStore
Assembly: Libplanet.dll
Syntax
public class IncorrectPassphraseException : ArgumentException

Constructors

| Improve this Doc View Source

IncorrectPassphraseException(String, String, ImmutableArray<Byte>, 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>
  • Improve this Doc
  • View Source
Back to top Copyright © 2019–2020 Planetarium