Secp256k1PublicKeyEcdsa class
A class representing a Secp256k1 public key using the ECDSA algorithm that implements the IPublicKey interface.
- Implemented types
Constructors
-
Secp256k1PublicKeyEcdsa.fromBytes(List<
int> keyBytes) -
Factory method for creating a Secp256k1PublicKeyEcdsa from a byte array.
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 setteroverride
- length → int
-
public key compressed bytes length
no setteroverride
- point → ProjectiveECCPoint
-
accsess to public key point.
no setteroverride
- publicKey → ECDSAPublicKey
-
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(
{bool withPrefix = true, bool lowerCase = true, String? prefix = ""}) → String -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
isValidBytes(
List< int> keyBytes) → bool -
check if bytes is valid for this key.
override