XRPPublicKey class

Constructors

XRPPublicKey.fromBytes(List<int> keyBytes, {XRPKeyAlgorithm? algorithm})
Creates an XRPPublicKey from bytes.
factory
XRPPublicKey.fromHex(String public)
Creates an XRPPublicKey from a hexadecimal string.
factory

Properties

algorithm XRPKeyAlgorithm
final
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
toAddress() XRPAddress
Converts the XRPPublicKey to an XRPAddress.
toBytes([PubKeyModes mode = PubKeyModes.compressed]) List<int>
Returns the public key as a list of bytes based on the specified mode.
toHex([PubKeyModes mode = PubKeyModes.compressed]) String
Returns the hexadecimal representation of the XRPPublicKey.
toString() String
A string representation of this object.
inherited
verifySignature(String blob, String signature) bool
Verifies the signature of a blob using the provided verifying key.

Operators

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