pub struct P521Algo;Expand description
NIST P-521 (secp521r1) signature adapter.
Implementations§
Trait Implementations§
Source§impl SignatureAlgorithm for P521Algo
impl SignatureAlgorithm for P521Algo
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 P521Algo
impl RefUnwindSafe for P521Algo
impl Send for P521Algo
impl Sync for P521Algo
impl Unpin for P521Algo
impl UnsafeUnpin for P521Algo
impl UnwindSafe for P521Algo
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