pub struct OriginPubkeyProvider { /* private fields */ }
Expand description
Implementations§
source§impl OriginPubkeyProvider
impl OriginPubkeyProvider
pub fn origin_string(&self) -> String
pub fn new( exp_index: u32, info: KeyOriginInfo, provider: Box<PubkeyProvider> ) -> Self
pub fn get_pub_key( &self, pos: i32, arg: &SigningProvider, key: &mut PubKey, info: &mut KeyOriginInfo, read_cache: Option<*const DescriptorCache>, write_cache: Option<*mut DescriptorCache> ) -> bool
pub fn get_size(&self) -> usize
pub fn to_private_string(&self, arg: &SigningProvider, ret: &mut String) -> bool
pub fn get_priv_key( &self, pos: i32, arg: &SigningProvider, key: &mut Key ) -> bool
Trait Implementations§
source§impl ToNormalizedString for OriginPubkeyProvider
impl ToNormalizedString for OriginPubkeyProvider
source§fn to_normalized_string(
&self,
arg: &SigningProvider,
ret: &mut String,
cache: *const DescriptorCache
) -> bool
fn to_normalized_string( &self, arg: &SigningProvider, ret: &mut String, cache: *const DescriptorCache ) -> bool
| Convert the descriptor to a normalized
| string. Normalized descriptors have
| the xpub at the last hardened step. This
| fails if the provided provider does
| not have the private keys to derive that
| xpub.
| Read more
Auto Trait Implementations§
impl RefUnwindSafe for OriginPubkeyProvider
impl Send for OriginPubkeyProvider
impl Sync for OriginPubkeyProvider
impl Unpin for OriginPubkeyProvider
impl UnwindSafe for OriginPubkeyProvider
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