KeyApi class abstract
An abstract class representing a key generator.
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
-
generatePrivateKey(
) → String - Generates a new private key.
-
getPublicKey(
String privateKey) → String - Returns the public key corresponding to the given private key.
-
isValidPrivateKey(
String privateKeyHex) → bool - Returns whether the given private key is valid.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited