SuiBasePrivateKey<PUBLICKEY extends SuiCryptoPublicKey<IPublicKey>> class abstract

Implementers

Constructors

SuiBasePrivateKey.new({required SuiKeyAlgorithm algorithm})
const
SuiBasePrivateKey.fromSuiSecretKey(String secretKey)
Decodes a Sui Bech32 secret key into its corresponding private key.
factory

Properties

algorithm SuiKeyAlgorithm
final
hashCode int
The hash code for this object.
no setterinherited
publicKey → PUBLICKEY
public key
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sign(List<int> digest) SuiGenericSignature
sign digest
toBytes() List<int>
private key bytes
toHex({bool lowerCase = true}) String
private key hex bytes.
toString() String
A string representation of this object.
inherited
toSuiPrivateKey() String
Encodes the Sui private key to a Bech32 string.

Operators

operator ==(Object other) bool
The equality operator.
inherited