SteemSignature class

Steem Signature

Constructors

SteemSignature(int i, BigInt r, BigInt s)
Default constructor from i, r, s
SteemSignature.fromBuffer(Uint8List buffer, String? keyType)
Construct signature from buffer
SteemSignature.fromString(String signatureStr)
Construct signature from string
factory

Properties

ecSig ↔ ECSignature
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
i int
getter/setter pair
keyType String?
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
recover(dynamic data) Future<SteemPublicKey>
Recover the public key used to create this signature using full data. @arg {String|Uint8List|List
recoverHash(Digest dataSha256) Future<SteemPublicKey>
@arg {Digest} dataSha256 - sha256 hash 32 byte buffer @return {PublicKey}
toBuffer() Uint8List
toHex() String
toString() String
A string representation of this object.
override
verify(String data, SteemPublicKey publicKey) bool
Verify the signature of the string data
verifyHash(Uint8List sha256Data, SteemPublicKey publicKey) bool
Verify the signature from in SHA256 hashed data

Operators

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

Static Methods

calcPubKeyRecoveryParam(BigInt e, ECSignature ecSig, SteemPublicKey publicKey) int
Find the public key recovery factor
ecSigToDER(ECSignature ecSig) Uint8List
ECSignature to DER format bytes
multiplyTwo(ECPoint t, BigInt j, ECPoint x, BigInt k) → ECPoint?
recoverPubKey(BigInt e, ECSignature ecSig, int i) → ECPoint?
Recovery public key from ECSignature
testBit(BigInt j, int n) bool