#[repr(transparent)]
pub struct SecretKey(_);
Expand description
P-256 elliptic curve secret key.
Generates a new random secret key.
Computes the associated public key.
Computes a shared secret from the local secret key and remote public
key. Returns None if the public key is either invalid or derived
from the same secret key ([Vol 3] Part H, Section 2.3.5.6.1).
Formats the value using the given formatter.
Read more
Executes the destructor for this type.
Read more
Zero out this object from memory using Rust intrinsics which ensure the
zeroization operation is not “optimized away” by the compiler.
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self).
That is, this conversion is whatever the implementation of
From<T> for U chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.