MoneroPrivateKey class
A class representing a Monero private key that implements the IPrivateKey interface.
This class serves as a wrapper for a private key, implementing the IPrivateKey interface.
- Implemented types
Constructors
-
MoneroPrivateKey.fromBytes(List<
int> keyBytes) -
Factory method to create a MoneroPrivateKey from its byte representation.
factory
Properties
- curveType → EllipticCurveTypes
-
curve type.
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- length → int
-
private key bytes length.
no setteroverride
- privKey → IPrivateKey
-
final
- publicKey → MoneroPublicKey
-
accsess to public key.
no setteroverride
-
raw
→ List<
int> -
private key raw bytes.
no setteroverride
- 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
-
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