Struct cyfs_base::RsaCPUObjectSigner
source · [−]pub struct RsaCPUObjectSigner { /* private fields */ }Implementations
sourceimpl RsaCPUObjectSigner
impl RsaCPUObjectSigner
pub fn new(public_key: PublicKey, secret: PrivateKey) -> Self
Trait Implementations
sourceimpl Signer for RsaCPUObjectSigner
impl Signer for RsaCPUObjectSigner
fn public_key(&self) -> &PublicKey
fn sign<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
data: &'life1 [u8],
sign_source: &'life2 SignatureSource
) -> Pin<Box<dyn Future<Output = BuckyResult<Signature>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
Auto Trait Implementations
impl RefUnwindSafe for RsaCPUObjectSigner
impl Send for RsaCPUObjectSigner
impl Sync for RsaCPUObjectSigner
impl Unpin for RsaCPUObjectSigner
impl UnwindSafe for RsaCPUObjectSigner
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more