pub struct P384SigningKey(/* private fields */);Expand description
P-384 with SHA2-384 ECDSA private key.
Trait Implementations§
Source§impl Clone for P384SigningKey
impl Clone for P384SigningKey
Source§fn clone(&self) -> P384SigningKey
fn clone(&self) -> P384SigningKey
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 P384SigningKey
impl ConstantTimeEq for P384SigningKey
Source§impl Debug for P384SigningKey
impl Debug for P384SigningKey
Source§impl Drop for P384SigningKey
impl Drop for P384SigningKey
Source§impl<'a> Import<&'a [u8]> for P384SigningKey
impl<'a> Import<&'a [u8]> for P384SigningKey
Source§impl Random for P384SigningKey
impl Random for P384SigningKey
Source§impl SecretKey for P384SigningKey
impl SecretKey for P384SigningKey
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.
Source§impl SigningKey<NistP384> for P384SigningKey
impl SigningKey<NistP384> for P384SigningKey
Source§fn sign(&self, msg: &[u8]) -> Result<P384Signature, SignerError>
fn sign(&self, msg: &[u8]) -> Result<P384Signature, SignerError>
Returns the signature over
msg, which must NOT be
pre-hashed.impl ZeroizeOnDrop for P384SigningKey
Auto Trait Implementations§
impl Freeze for P384SigningKey
impl RefUnwindSafe for P384SigningKey
impl Send for P384SigningKey
impl Sync for P384SigningKey
impl Unpin for P384SigningKey
impl UnwindSafe for P384SigningKey
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