SigningProvider wrapper for LegacyDataSPKM that does not provide private keys.

Synopsis

Declared in <wallet/scriptpubkeyman.h>

class LegacySigningProvider
    : public SigningProvider

Base Classes

Name

Description

SigningProvider

An interface to be implemented by keystores that support signing.

Member Functions

Name

Description

LegacySigningProvider [constructor]

Construct a signing provider wrapping the given legacy spkm.

DeleteMuSig2Session [virtual]

Delete the state stored for a MuSig2 signing session.

GetAllMuSig2ParticipantPubkeys [virtual]

Return all known MuSig2 aggregate pubkeys and their participants.

GetCScript [virtual]

Retrieves the redeem script for the given script id.

GetKey [virtual]

Always returns false, since this provider never exposes private keys.

GetKeyByXOnly

Look up a private key by any key id derived from an x‐only pubkey.

GetKeyOrigin [virtual]

Retrieves the key origin (derivation path and fingerprint) for the given key id.

GetKeyOriginByXOnly

Look up key origin info by any key id derived from an x‐only pubkey.

GetMuSig2ParticipantPubkeys [virtual]

Return the MuSig2 participant pubkeys for an aggregate pubkey.

GetMuSig2SecNonce [virtual]

Retrieve the MuSig2 secret nonce for a signing session.

GetPubKey [virtual]

Retrieves the public key for the given address.

GetPubKeyByXOnly

Look up a public key by any key id derived from an x‐only pubkey.

GetTaprootBuilder [virtual]

Look up the Taproot builder for an output key.

GetTaprootSpendData [virtual]

Look up the Taproot spend data for an output key.

HaveCScript [virtual]

Returns whether the redeem script for the given script id is held.

HaveKey [virtual]

Always returns false, since this provider never exposes private keys.

SetMuSig2SecNonce [virtual]

Store a MuSig2 secret nonce for a signing session.

Non-Member Functions

Name

Description

::GetKeyForDestination

Return the CKeyID of the key involved in a script (if there is a unique one).

::IsSegWitOutput

Check whether a scriptPubKey is known to be segwit.

::ProduceSignature

Produce a script signature using a generic signature creator.

::SignPSBTInput

Signs a PSBTInput, verifying that all provided data matches what is being signed.

::UpdatePSBTOutput

Updates a PSBTOutput with information from provider.

Created with MrDocs