BitcoinVerifier class
The BitcoinVerifier class encapsulates functionality for verifying Bitcoin transactions, Schnorr-based transactions, and messages using ECDSA (Elliptic Curve Digital Signature Algorithm) and related cryptographic operations.
- Annotations
- 
    - @Deprecated("Use BitcoinSignatureVerifier instead. This will be removed in future versions.")
 
Constructors
- 
          BitcoinVerifier.fromKeyBytes(List<int> publicKey)
- 
          Factory constructor for creating a BitcoinVerifier from public 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
- verifyKey → ECDSAVerifyKey
- 
  The ECDSA verification key associated with this Bitcoin verifier.
  final
Methods
- 
  noSuchMethod(Invocation invocation) → dynamic 
- 
  Invoked when a nonexistent method or property is accessed.
  inherited
- 
  toString() → String 
- 
  A string representation of this object.
  inherited
- 
  verifyMessage(List< int> message, String messagePrefix, List<int> signature) → bool
- Verifies an ECDSA signature against a given message, considering the message prefix.
- 
  verifySchnorr(List< int> message, List<int> signature, {List? tapleafScripts, required bool isTweak}) → bool
- Verifies a Schnorr-based signature against a given message, considering optional Taproot scripts.
- 
  verifySchnorrSig(List< int> message, List<int> signature, {List<int> ? tweak}) → bool
- 
  verifyTransaction(List< int> digest, List<int> derSignature) → bool
- Verifies an ECDSA signature against a given transaction digest.
Operators
- 
  operator ==(Object other) → bool 
- 
  The equality operator.
  inherited