Class IncorrectPassphraseException
The exception that is thrown when a user input passphrase (i.e., password) is incorrect.
Namespace: Libplanet.KeyStore
Assembly: Libplanet.dll
Syntax
public class IncorrectPassphraseException : ArgumentException
Constructors
| Improve this Doc View SourceIncorrectPassphraseException(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 |
ImmutableArray<Byte> | inputMac | The actual MAC of the user input passphrase.
It is automatically included to the |
Properties
| Improve this Doc View SourceExpectedMac
The expected MAC of the correct passphrase.
Declaration
public ImmutableArray<byte> ExpectedMac { get; }
Property Value
Type | Description |
---|---|
ImmutableArray<Byte> |
InputMac
The actual MAC of the user input passphrase.
Declaration
public ImmutableArray<byte> InputMac { get; }
Property Value
Type | Description |
---|---|
ImmutableArray<Byte> |