CesiumWallet class

Constructors

CesiumWallet(String salt, String password)
Main factory constructor which generate seed and rootKey for the given Cesium salt and password
factory
CesiumWallet.fromDewif(String dewif, String password, {int dewifCurrencyCode = DEWIF_CURRENCY_CODE_G1, int dewifVersion = DEWIF_VERSION, bool test = false})
factory
CesiumWallet.fromSeed(Uint8List seed)
Generate rootkey from seed
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
pubkey String
final
rootKey → SigningKey
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
seed Uint8List
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sign(String document) String
Provide a valid signature from given Cesium keypair for any message or text document.
toString() String
A string representation of this object.
inherited
verifySign(String document, String signature) bool
Verify if the given signature is valid for the given message or text document, based on given keypair

Operators

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