MoneroPublicKey class
A class representing a Monero public key that implements the IPublicKey interface.
This class is used to represent Monero public keys and provides methods for creating them from byte data or Edwards points and validating their byte representation.
- Implemented types
Constructors
-
MoneroPublicKey.fromBytes(List<
int> pubKey) -
Factory method to create a MoneroPublicKey from its byte representation.
factory
- MoneroPublicKey.fromPoint(EDPoint point)
-
Factory method to create a MoneroPublicKey from an Edwards point.
factory
Properties
-
compressed
→ List<
int> -
public key compressed bytes.
no setteroverride
- curve → EllipticCurveTypes
-
curve type.
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- length → int
-
public key compressed bytes length.
no setteroverride
- point → AbstractPoint
-
public key point.
no setteroverride
- pubKey → IPublicKey
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
uncompressed
→ List<
int> -
public key uncompressed bytes.
no setteroverride
- uncompressedLength → int
-
public key uncompressed bytes length.
no setteroverride
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toHex(
) → String -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
isValidBytes(
List< int> keyBytes) → bool -
Static method to validate the byte representation of a Monero public key.
override