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