EcdsaSigningKey class
The EcdsaSigningKey class represents a key pair for ECDSA (Elliptic Curve Digital Signature Algorithm) signing. It encapsulates the private key and provides methods for signing digests and generating deterministic signatures.
Constructors
- EcdsaSigningKey(ECDSAPrivateKey privateKey)
- Constructs an EcdsaSigningKey instance with the given private key.
Properties
- generator → ProjectiveECCPoint
-
The projective ECC (Elliptic Curve Cryptography) point generator associated with the key.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- privateKey → ECDSAPrivateKey
-
The ECDSA private key associated with this signing key.
final
- 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
-
signDigest(
{required List< int> digest, List<int> ? entropy, required BigInt k, bool truncate = false}) → ECDSASignature - Signs a given digest using the private key and a specified value of 'k'.
-
signDigestDeterminstic(
{required List< int> digest, required HashFunc hashFunc, List<int> extraEntropy = const [], bool truncate = false}) → ECDSASignature - Generates a deterministic signature for a given digest using the private key.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited