ExtendedKeyPair

scalus.cardano.wallet.ExtendedKeyPair
trait ExtendedKeyPair extends KeyPair

A key pair backed by an extended 64-byte signing key (SLIP-001/HD wallets).

Attributes

Graph
Supertypes
trait KeyPair
class Object
trait Matchable
class Any
Known subtypes

Members list

Type members

Inherited and Abstract types

type Underlying

Attributes

Inherited from:
KeyPair

Value members

Abstract methods

The extended signing key - 64 bytes.

The extended signing key - 64 bytes.

Attributes

Deprecated methods

override def privateKeyBytes: Array[Byte]

Attributes

Deprecated
[Since version 0.13.0] Use extendedSigningKey.bytes instead
Definition Classes

Inherited and Abstract methods

def sign(message: ByteString): Signature

Sign a message and return the signature.

Sign a message and return the signature.

Value parameters

message

the message to sign

Attributes

Returns

64-byte Ed25519 signature

Inherited from:
KeyPair

Attributes

Inherited from:
KeyPair

The verification (public) key - 32 bytes.

The verification (public) key - 32 bytes.

Attributes

Inherited from:
KeyPair
def verify(message: ByteString, signature: Signature): Boolean

Verify a signature.

Verify a signature.

Value parameters

message

the message that was signed

signature

the signature to verify

Attributes

Returns

true if the signature is valid

Inherited from:
KeyPair

Deprecated and Inherited methods

def publicKeyBytes: Array[Byte]

Attributes

Deprecated
[Since version 0.13.0] Use verificationKey.bytes instead
Inherited from:
KeyPair
def sign(message: Array[Byte]): Array[Byte]

Attributes

Deprecated
[Since version 0.13.0] Use sign(ByteString) instead
Inherited from:
KeyPair
def toTuple: (Array[Byte], Array[Byte])

Attributes

Deprecated
[Since version 0.13.0] Use verificationKey and signing key directly
Inherited from:
KeyPair
def verify(message: Array[Byte], signature: Array[Byte]): Boolean

Attributes

Deprecated
[Since version 0.13.0] Use verify(ByteString, Signature) instead
Inherited from:
KeyPair