Struct bitcoin_signingprovider::SigningProvider
source · pub struct SigningProvider {}
Expand description
| An interface to be implemented by keystores | that support signing. |
Implementations§
source§impl SigningProvider
impl SigningProvider
pub fn get_key_by_xonly(&self, pubkey: &XOnlyPubKey, key: &mut Key) -> bool
pub fn get_pub_key_by_xonly( &self, pubkey: &XOnlyPubKey, out: &mut PubKey ) -> bool
pub fn get_key_origin_by_xonly( &self, pubkey: &XOnlyPubKey, info: &mut KeyOriginInfo ) -> bool
Trait Implementations§
source§impl Default for SigningProvider
impl Default for SigningProvider
source§fn default() -> SigningProvider
fn default() -> SigningProvider
Returns the “default value” for a type. Read more
source§impl GetKey for SigningProvider
impl GetKey for SigningProvider
source§impl GetKeyOrigin for SigningProvider
impl GetKeyOrigin for SigningProvider
fn get_key_origin(&self, keyid: &KeyID, info: &mut KeyOriginInfo) -> bool
source§impl GetPubKeyWithKeyId for SigningProvider
impl GetPubKeyWithKeyId for SigningProvider
source§impl GetScript for SigningProvider
impl GetScript for SigningProvider
source§impl GetTaprootSpendData for SigningProvider
impl GetTaprootSpendData for SigningProvider
fn get_taproot_spend_data( &self, output_key: &XOnlyPubKey, spenddata: &mut TaprootSpendData ) -> bool
source§impl HaveScript for SigningProvider
impl HaveScript for SigningProvider
fn have_script(&self, scriptid: &ScriptID) -> bool
Auto Trait Implementations§
impl RefUnwindSafe for SigningProvider
impl Send for SigningProvider
impl Sync for SigningProvider
impl Unpin for SigningProvider
impl UnwindSafe for SigningProvider
Blanket Implementations§
§impl<T, U> CastInto<U> for Twhere
U: CastFrom<T>,
impl<T, U> CastInto<U> for Twhere U: CastFrom<T>,
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> StaticUpcast<T> for T
impl<T> StaticUpcast<T> for T
§unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
Convert type of a const pointer. Read more