pub struct P384Algo;Expand description
NIST P-384 (secp384r1) signature adapter.
Implementations§
Trait Implementations§
Source§impl SignatureAlgorithm for P384Algo
impl SignatureAlgorithm for P384Algo
Source§fn generate_keypair() -> Result<(Vec<u8>, Zeroizing<Vec<u8>>), AlgorithmError>
fn generate_keypair() -> Result<(Vec<u8>, Zeroizing<Vec<u8>>), AlgorithmError>
Generate a keypair, returning
(public_key, secret_key); the secret
zeroizes on drop.Auto Trait Implementations§
impl Freeze for P384Algo
impl RefUnwindSafe for P384Algo
impl Send for P384Algo
impl Sync for P384Algo
impl Unpin for P384Algo
impl UnsafeUnpin for P384Algo
impl UnwindSafe for P384Algo
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