StandardKeyPair

scalus.cardano.wallet.StandardKeyPair
trait StandardKeyPair extends KeyPair

A key pair backed by a standard 32-byte signing key.

Attributes

Graph
Supertypes
trait KeyPair
class Object
trait Matchable
class Any

Members list

Type members

Inherited and Abstract types

type Underlying

Attributes

Inherited from:
KeyPair

Value members

Abstract methods

The signing (private) key - 32 bytes.

The signing (private) key - 32 bytes.

Attributes

Deprecated methods

override def privateKeyBytes: Array[Byte]

Attributes

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