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