pub struct P384PrivateKey(/* private fields */);Expand description
P-384 ECDH private key.
Trait Implementations§
Source§impl Clone for P384PrivateKey
impl Clone for P384PrivateKey
Source§fn clone(&self) -> P384PrivateKey
fn clone(&self) -> P384PrivateKey
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 P384PrivateKey
impl ConstantTimeEq for P384PrivateKey
Source§impl Debug for P384PrivateKey
impl Debug for P384PrivateKey
Source§impl DecapKey for P384PrivateKey
impl DecapKey for P384PrivateKey
Source§type EncapKey = P384PublicKey
type EncapKey = P384PublicKey
The corresponding public key.
Source§impl Drop for P384PrivateKey
impl Drop for P384PrivateKey
Source§impl<'a> Import<&'a [u8]> for P384PrivateKey
impl<'a> Import<&'a [u8]> for P384PrivateKey
Source§impl Random for P384PrivateKey
impl Random for P384PrivateKey
Source§impl SecretKey for P384PrivateKey
impl SecretKey for P384PrivateKey
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 P384PrivateKey
Auto Trait Implementations§
impl Freeze for P384PrivateKey
impl RefUnwindSafe for P384PrivateKey
impl Send for P384PrivateKey
impl Sync for P384PrivateKey
impl Unpin for P384PrivateKey
impl UnwindSafe for P384PrivateKey
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