pub trait SignerCommon: Debug + Send + Sync {
fn id(&self, secp: &Secp256k1<All>) -> SignerId;
fn descriptor_secret_key(&self) -> Option<DescriptorSecretKey> { ... }
}
Expand description
Common signer methods
Required Methods
Provided Methods
fn descriptor_secret_key(&self) -> Option<DescriptorSecretKey>
fn descriptor_secret_key(&self) -> Option<DescriptorSecretKey>
Return 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).