PrivateKey class
Constructors
- PrivateKey.new()
-
PrivateKey.createCopy(Pointer<
Void> key) - PrivateKey.createWithData(Uint8List bytes)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
data(
) → Uint8List -
delete(
) → void -
getPublicKey(
int curve, [bool compressed = false]) → PublicKey -
getPublicKeyCurve25519(
) → PublicKey -
getPublicKeyEd25519Cardano(
) → PublicKey -
getPublicKeyNist256p1(
) → PublicKey -
getPublicKeyNistEd25519(
) → PublicKey -
getPublicKeyNistEd25519Blake2b(
) → PublicKey -
getPublicKeySecp256k1(
bool compressed) → PublicKey -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
sign(
Uint8List digest, int curve) → Uint8List -
signAsDER(
Uint8List digest, int curve) → Uint8List -
signZilliqaSchnorr(
Uint8List digest) → Uint8List -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- PrivateKeySize → const int