pub trait SignerCommon:
Debug
+ Send
+ Sync {
// Required method
fn id(&self, secp: &Secp256k1<All>) -> SignerId;
// Provided method
fn descriptor_secret_key(&self) -> Option<DescriptorSecretKey> { ... }
}👎Deprecated since 2.2.0: PSBT signing was moved to
bitcoin::psbt moduleExpand description
Common signer methods
Required Methods§
Provided Methods§
Sourcefn descriptor_secret_key(&self) -> Option<DescriptorSecretKey>
👎Deprecated since 2.2.0: PSBT signing was moved to bitcoin::psbt module
fn descriptor_secret_key(&self) -> Option<DescriptorSecretKey>
bitcoin::psbt moduleReturn the secret key for the signer
This is used internally to reconstruct the original descriptor that may contain secrets.
External signers that are meant to keep key isolated should just return None here (which
is the default for this method, if not overridden).