[#wallet-LegacySigningProvider] = xref:wallet.adoc[wallet]::LegacySigningProvider :relfileprefix: ../ :mrdocs: SigningProvider wrapper for LegacyDataSPKM that does not provide private keys. == Synopsis Declared in `<wallet/scriptpubkeyman.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class LegacySigningProvider : public xref:SigningProvider.adoc[SigningProvider] ---- == Base Classes [cols="1,4"] |=== | Name| Description | `xref:SigningProvider.adoc[SigningProvider]` | An interface to be implemented by keystores that support signing. |=== == Member Functions [cols="1,4"] |=== | Name| Description | xref:wallet/LegacySigningProvider/2constructor.adoc[`LegacySigningProvider`] [.small]#[constructor]# | Construct a signing provider wrapping the given legacy spkm. | xref:SigningProvider/DeleteMuSig2Session.adoc[`DeleteMuSig2Session`] [.small]#[virtual]# | Delete the state stored for a MuSig2 signing session. | xref:SigningProvider/GetAllMuSig2ParticipantPubkeys.adoc[`GetAllMuSig2ParticipantPubkeys`] [.small]#[virtual]# | Return all known MuSig2 aggregate pubkeys and their participants. | xref:wallet/LegacySigningProvider/GetCScript.adoc[`GetCScript`] [.small]#[virtual]# | Retrieves the redeem script for the given script id. | xref:wallet/LegacySigningProvider/GetKey.adoc[`GetKey`] [.small]#[virtual]# | Always returns false, since this provider never exposes private keys. | xref:SigningProvider/GetKeyByXOnly.adoc[`GetKeyByXOnly`] | Look up a private key by any key id derived from an x‐only pubkey. | xref:wallet/LegacySigningProvider/GetKeyOrigin.adoc[`GetKeyOrigin`] [.small]#[virtual]# | Retrieves the key origin (derivation path and fingerprint) for the given key id. | xref:SigningProvider/GetKeyOriginByXOnly.adoc[`GetKeyOriginByXOnly`] | Look up key origin info by any key id derived from an x‐only pubkey. | xref:SigningProvider/GetMuSig2ParticipantPubkeys.adoc[`GetMuSig2ParticipantPubkeys`] [.small]#[virtual]# | Return the MuSig2 participant pubkeys for an aggregate pubkey. | xref:SigningProvider/GetMuSig2SecNonce.adoc[`GetMuSig2SecNonce`] [.small]#[virtual]# | Retrieve the MuSig2 secret nonce for a signing session. | xref:wallet/LegacySigningProvider/GetPubKey.adoc[`GetPubKey`] [.small]#[virtual]# | Retrieves the public key for the given address. | xref:SigningProvider/GetPubKeyByXOnly.adoc[`GetPubKeyByXOnly`] | Look up a public key by any key id derived from an x‐only pubkey. | xref:SigningProvider/GetTaprootBuilder.adoc[`GetTaprootBuilder`] [.small]#[virtual]# | Look up the Taproot builder for an output key. | xref:SigningProvider/GetTaprootSpendData.adoc[`GetTaprootSpendData`] [.small]#[virtual]# | Look up the Taproot spend data for an output key. | xref:wallet/LegacySigningProvider/HaveCScript.adoc[`HaveCScript`] [.small]#[virtual]# | Returns whether the redeem script for the given script id is held. | xref:wallet/LegacySigningProvider/HaveKey.adoc[`HaveKey`] [.small]#[virtual]# | Always returns false, since this provider never exposes private keys. | xref:SigningProvider/SetMuSig2SecNonce.adoc[`SetMuSig2SecNonce`] [.small]#[virtual]# | Store a MuSig2 secret nonce for a signing session. |=== == Non-Member Functions [cols="1,4"] |=== | Name| Description | xref:GetKeyForDestination.adoc[`::GetKeyForDestination`] | Return the CKeyID of the key involved in a script (if there is a unique one). | xref:IsSegWitOutput.adoc[`::IsSegWitOutput`] | Check whether a scriptPubKey is known to be segwit. | xref:ProduceSignature.adoc[`::ProduceSignature`] | Produce a script signature using a generic signature creator. | xref:SignPSBTInput.adoc[`::SignPSBTInput`] | Signs a PSBTInput, verifying that all provided data matches what is being signed. | xref:UpdatePSBTOutput.adoc[`::UpdatePSBTOutput`] | Updates a PSBTOutput with information from provider. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#