pub struct P256PrivateKey(/* private fields */);Expand description
P-256 ECDH private key.
Trait Implementations§
Source§impl Clone for P256PrivateKey
impl Clone for P256PrivateKey
Source§fn clone(&self) -> P256PrivateKey
fn clone(&self) -> P256PrivateKey
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl ConstantTimeEq for P256PrivateKey
impl ConstantTimeEq for P256PrivateKey
Source§impl Debug for P256PrivateKey
impl Debug for P256PrivateKey
Source§impl DecapKey for P256PrivateKey
impl DecapKey for P256PrivateKey
Source§type EncapKey = P256PublicKey
type EncapKey = P256PublicKey
The corresponding public key.
Source§impl Drop for P256PrivateKey
impl Drop for P256PrivateKey
Source§impl<'a> Import<&'a [u8]> for P256PrivateKey
impl<'a> Import<&'a [u8]> for P256PrivateKey
Source§impl Random for P256PrivateKey
impl Random for P256PrivateKey
Source§impl SecretKey for P256PrivateKey
impl SecretKey for P256PrivateKey
Source§fn try_export_secret(&self) -> Result<SecretKeyBytes<Self::Size>, ExportError>
fn try_export_secret(&self) -> Result<SecretKeyBytes<Self::Size>, ExportError>
Attempts to export the key’s secret data.
impl ZeroizeOnDrop for P256PrivateKey
Auto Trait Implementations§
impl Freeze for P256PrivateKey
impl RefUnwindSafe for P256PrivateKey
impl Send for P256PrivateKey
impl Sync for P256PrivateKey
impl Unpin for P256PrivateKey
impl UnwindSafe for P256PrivateKey
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