AdaPublicKey class
Represents an Ada public key.
Constructors
-
AdaPublicKey.fromBytes(List<
int> publicKeyBytes) -
Constructs an AdaPublicKey from the given
publicKeyBytes
.factory - AdaPublicKey.fromHex(String publicKeyHex)
-
Constructs an AdaPublicKey from the hexadecimal representation
publicKeyHex
.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
-
toBytes(
[bool withPrefix = true]) → List< int> - Converts the public key to its byte representation.
-
toHex(
[bool withPrefix = true]) → String - Converts the public key to its hexadecimal representation.
-
toString(
) → String -
A string representation of this object.
inherited
-
toVerificationKey(
) → Vkey - Converts the AdaPublicKey to a verification key (Vkey).
-
verify(
{required List< int> digest, required List<int> signature}) → bool -
Verifies the given
signature
against thedigest
using this public key.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited