ECDSAPrivateKey class
Represents an ECDSA (Elliptic Curve Digital Signature Algorithm) private key.
Constructors
-
ECDSAPrivateKey.fromBytes(List<
int> bytes, ProjectiveECCPoint curve) -
Creates an ECDSA private key from bytes.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- publicKey → ECDSAPublicKey
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- secretMultiplier → BigInt
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
sign(
BigInt hash, BigInt randomK) → ECDSASignature - Signs a hash value using the private key.
-
toBytes(
) → List< int> - Converts the private key to bytes.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override