NosoSigner class
Constructors
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
-
decodeBase64ToSignature(
String base64Signature) → ECSignature -
Decodes a Base64-encoded string into an
ECSignature
object. -
encodeSignatureToBase64(
ECSignature ecSignature) → String - Encodes an EC signature to a Base64-encoded string.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
signMessage(
String message, String privateKeyBase64) → ECSignature? - Signs a message using a private key and returns the EC signature. Reference: https://stackoverflow.com/questions/72641616/how-to-convert-asymmetrickeypair-to-base64-encoding-string-in-dart
-
toString(
) → String -
A string representation of this object.
inherited
-
verifyKeysPair(
KeyPair keysPair) → bool - A method that checks the secret keys for an address
-
verifyMessage(
String message, ECSignature signature, String publicKey) → bool - Verifies a signed message using the provided EC signature and public key.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited