BitcoinKeySigner class

Constructors

BitcoinKeySigner.fromKeyBytes(List<int> privateKeyBytes)
Factory constructor for creating a BitcoinKeySigner from private key bytes.
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
signingKey Secp256k1SigningKey
no setter
verifierKey BitcoinSignatureVerifier
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
signBip340({required List<int> digest, List<int>? tapTweakHash, List<int>? aux}) List<int>
Signs a given digest using the BIP-340 (Schnorr) signature scheme.
signBip340Const({required List<int> digest, List<int>? tapTweakHash, List<int>? aux}) List<int>
signECDSADer(List<int> digest, {List<int>? extraEntropy}) List<int>
Signs the given transaction digest using ECDSA (DER-encoded).
signECDSADerConst(List<int> digest, {List<int>? extraEntropy}) List<int>
signMessage({required List<int> message, bool hashMessage = true, String messagePrefix = BitcoinSignerUtils.signMessagePrefix, List<int> extraEntropy = const []}) List<int>
Signs a message using Bitcoin's message signing format.
signMessageConst({required List<int> message, bool hashMessage = true, String messagePrefix = BitcoinSignerUtils.signMessagePrefix, List<int> extraEntropy = const [], Secp256k1ECmultGenContext? context}) List<int>
signSchnorr(List<int> digest, {List<int>? extraEntropy}) List<int>
Signs the given transaction digest using Schnorr signature (old style).
signSchnorrConst(List<int> digest, {List<int>? extraEntropy, Secp256k1ECmultGenContext? context}) List<int>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited