BitcoinSigner class
The BitcoinSigner class encapsulates functionality for signing Bitcoin messages, transactions, and Schnorr-based transactions using ECDSA (Elliptic Curve Digital Signature Algorithm) and related cryptographic operations.
- Annotations
- 
    - @Deprecated("Use BitcoinKeySigner instead. This will be removed in future versions.")
 
Constructors
- 
          BitcoinSigner.fromKeyBytes(List<int> privateKeyBytes)
- 
          Factory constructor for creating a BitcoinSigner 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 → ECDSASigningKey
- 
  The ECDSA signing key associated with this Bitcoin signer.
  final
- verifyKey → BitcoinVerifier
- 
  Returns a BitcoinVerifier instance associated with the verification key derived from the signer's private key.
  no setter
Methods
- 
  noSuchMethod(Invocation invocation) → dynamic 
- 
  Invoked when a nonexistent method or property is accessed.
  inherited
- 
  signBcHTransaction(List< int> digest) → List<int> 
- Signs a given transaction digest using the ECDSA deterministic signature scheme. The signature is adjusted for low-S encoding and verified against the public key.
- 
  signMessage(List< int> message, String messagePrefix) → List<int> 
- Signs a given message using the ECDSA deterministic signature scheme. The message is first hashed and then signed using the private key.
- 
  signSchnorrTransaction(List< int> digest, {required List tapScripts, required bool tweak, List<int> ? auxRand}) → List<int> 
- Signs a given Schnorr-based transaction digest using the Schnorr signature scheme.
- 
  signSchnorrTx(List< int> digest, {List<int> ? tweak, List<int> ? auxRand}) → List<int> 
- Signs a given Schnorr-based transaction digest using the Schnorr signature scheme.
- 
  signTransaction(List< int> digest) → List<int> 
- Signs a given transaction digest using the ECDSA deterministic signature scheme. The signature is adjusted for low-S encoding and verified against the public key.
- 
  toString() → String 
- 
  A string representation of this object.
  inherited
Operators
- 
  operator ==(Object other) → bool 
- 
  The equality operator.
  inherited