Struct cosmian_crypto_core::Cached25519Signer
source · pub struct Cached25519Signer(/* private fields */);
Expand description
Cached signer implementation for Ed25519. This implementation is faster than the direct implementation when signing multiple messages with the same key.
The cached signer is created from an Ed25519PrivateKey
using
CachedSigner::try_from
.
Trait Implementations§
source§impl Signer<Signature> for Cached25519Signer
impl Signer<Signature> for Cached25519Signer
source§impl TryFrom<&Curve25519Secret> for Cached25519Signer
impl TryFrom<&Curve25519Secret> for Cached25519Signer
§type Error = CryptoCoreError
type Error = CryptoCoreError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for Cached25519Signer
impl RefUnwindSafe for Cached25519Signer
impl Send for Cached25519Signer
impl Sync for Cached25519Signer
impl Unpin for Cached25519Signer
impl UnwindSafe for Cached25519Signer
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