XrpSigner class
Class for signing XRP transactions using either EDDSA or ECDSA algorithm.
Constructors
-
XrpSigner.fromKeyBytes(List<
int> keyBytes, EllipticCurveTypes curve) -
Factory method to create an XrpSigner instance from key bytes and curve type.
factory
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
-
sign(
List< int> digest, {bool hashMessage = true, List<int> ? extraEntropy}) → List<int> - Signs the provided digest using the appropriate algorithm based on the available signing key.
-
signConst(
List< int> digest, {bool hashMessage = true, List<int> ? extraEntropy}) → List<int> -
The
hashMessage
andextraEntropy
parameters are only applicable for ECDSA signing. -
toString(
) → String -
A string representation of this object.
inherited
-
toVerifyKey(
) → XrpVerifier - Returns an XrpVerifier instance based on the available signing key type.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited