pub struct ExternalSigner<F> { /* private fields */ }Available on crate feature
sign only.Expand description
A signer backed by a secure element, HSM or any other external device.
The closure receives the SHA-256 digest and returns (r, s). The public key
is supplied up front because the private key never leaves the device.
Implementations§
Trait Implementations§
Source§impl<F> Debug for ExternalSigner<F>
impl<F> Debug for ExternalSigner<F>
Source§impl<F> Signer for ExternalSigner<F>
impl<F> Signer for ExternalSigner<F>
Source§fn public_key(&self) -> Result<PublicKey, BuildError>
fn public_key(&self) -> Result<PublicKey, BuildError>
The matching public key, used for the builder’s self-check. Read more
Auto Trait Implementations§
impl<F> Forget for ExternalSigner<F>
impl<F> Freeze for ExternalSigner<F>where
F: Freeze,
impl<F> Move for ExternalSigner<F>
impl<F> RefUnwindSafe for ExternalSigner<F>where
F: RefUnwindSafe,
impl<F> Send for ExternalSigner<F>where
F: Send,
impl<F> Sync for ExternalSigner<F>where
F: Sync,
impl<F> Unpin for ExternalSigner<F>where
F: Unpin,
impl<F> UnsafeUnpin for ExternalSigner<F>where
F: UnsafeUnpin,
impl<F> UnwindSafe for ExternalSigner<F>where
F: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more