SignHelper class

Allows to easily perform signature-related operations.

Constructors

SignHelper()

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

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

Static Methods

signPowerUpSignature({required String senderDid, required String pairwiseDid, required String timestamp, required CommercioRSAPrivateKey rsaPrivateKey}) Uint8List
Takes senderDid, pairwiseDid, timestamp and:
signSorted(Map<String, dynamic> data, Wallet wallet) Uint8List
Takes the given data, converts it to an alphabetically sorted JSON object and signs its content using the given wallet.