pub struct TlsSigner<'a> { /* private fields */ }Expand description
The TLS signer.
Implementations§
Source§impl<'a> TlsSigner<'a>
impl<'a> TlsSigner<'a>
Sourcepub fn new(signer: &'a dyn ThresholdSigner) -> Self
pub fn new(signer: &'a dyn ThresholdSigner) -> Self
Construct a new TLS signer backed by signer.
Sourcepub fn sign(
&self,
request: &TlsSignatureRequest,
) -> Result<TlsSignatureResponse, TlsSignerError>
pub fn sign( &self, request: &TlsSignatureRequest, ) -> Result<TlsSignatureResponse, TlsSignerError>
Handle a TLS signature request.
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for TlsSigner<'a>
impl<'a> !Send for TlsSigner<'a>
impl<'a> !Sync for TlsSigner<'a>
impl<'a> !UnwindSafe for TlsSigner<'a>
impl<'a> Freeze for TlsSigner<'a>
impl<'a> Unpin for TlsSigner<'a>
impl<'a> UnsafeUnpin for TlsSigner<'a>
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