Secp256k1KeyPair class
Constructors
- Secp256k1KeyPair(ECPublicKey _publicKey, ECPrivateKey _privateKey)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- publicKey ↔ ClPublicKey
-
getter/setter pairinherited
- 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(
Uint8List message) → Future< Uint8List> -
override
-
toString(
) → String -
A string representation of this object.
inherited
-
verify(
Uint8List message, Uint8List signatureBytes) → Future< bool> -
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
generate(
) → Future< Secp256k1KeyPair> -
loadFromPem(
File pemFile) → Future< Secp256k1KeyPair> -
Loads a key pair from a PEM file
pemFile
containing the private key.