AptosED25519PrivateKey class
- Inheritance
-
- Object
- AptosBasePrivateKey<
AptosED25519PublicKey, AptosEd25519AnySignature> - AptosED25519PrivateKey
Constructors
-
AptosED25519PrivateKey.fromBytes(List<
int> keyBytes) -
factory
Properties
- algorithm → AptosKeyAlgorithm
-
The key algorithm (e.g., Ed25519, Secp256k1)
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- publicKey → AptosED25519PublicKey
-
generate the corresponding public key from this private key
latefinal
- 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) → AptosEd25519AnySignature -
sign a message (digest) using the private key
override
-
toAIP80(
) → String -
encode aptos private key to AIP-80 style.
inherited
-
toBytes(
) → List< int> -
serialize the private key to bytes
override
-
toHex(
{bool lowerCase = true, String prefix = ''}) → String -
serialize the private key to a hexadecimal string
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited