BloxbeanKeyPair

scalus.cardano.wallet.BloxbeanKeyPair
class BloxbeanKeyPair(val underlying: HdKeyPair) extends ExtendedKeyPair

KeyPair implementation backed by Bloxbean's HdKeyPair (extended keys).

Attributes

Graph
Supertypes
trait KeyPair
class Object
trait Matchable
class Any

Members list

Type members

Types

type Underlying = HdKeyPair

Value members

Concrete methods

The extended signing key - 64 bytes.

The extended signing key - 64 bytes.

Attributes

Definition Classes
override 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

Definition Classes

The verification (public) key - 32 bytes.

The verification (public) key - 32 bytes.

Attributes

Definition Classes
override 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

Definition Classes

Deprecated methods

override def sign(message: Array[Byte]): Array[Byte]

Attributes

Deprecated
[Since version 0.9.0] Use sign(ByteString) instead
Definition Classes

Deprecated and Inherited methods

override def privateKeyBytes: Array[Byte]

Attributes

Deprecated
[Since version 0.13.0] Use extendedSigningKey.bytes instead
Definition Classes
Inherited from:
ExtendedKeyPair
def publicKeyBytes: Array[Byte]

Attributes

Deprecated
[Since version 0.13.0] Use verificationKey.bytes 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

Concrete fields

override val underlying: HdKeyPair