Struct ssh_key::private::EcdsaPrivateKey
source · [−]pub struct EcdsaPrivateKey<const SIZE: usize> { /* private fields */ }
Available on crate feature
ecdsa
only.Expand description
Elliptic Curve Digital Signature Algorithm (ECDSA) private key.
Implementations
Trait Implementations
sourceimpl<const SIZE: usize> Clone for EcdsaPrivateKey<SIZE>
impl<const SIZE: usize> Clone for EcdsaPrivateKey<SIZE>
sourcefn clone(&self) -> EcdsaPrivateKey<SIZE>
fn clone(&self) -> EcdsaPrivateKey<SIZE>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<const SIZE: usize> ConstantTimeEq for EcdsaPrivateKey<SIZE>
Available on crate feature subtle
only.
impl<const SIZE: usize> ConstantTimeEq for EcdsaPrivateKey<SIZE>
Available on crate feature
subtle
only.sourceimpl<const SIZE: usize> Debug for EcdsaPrivateKey<SIZE>
impl<const SIZE: usize> Debug for EcdsaPrivateKey<SIZE>
sourceimpl<const SIZE: usize> Drop for EcdsaPrivateKey<SIZE>
impl<const SIZE: usize> Drop for EcdsaPrivateKey<SIZE>
sourceimpl From<SecretKey<NistP256>> for EcdsaPrivateKey<32>
Available on crate feature p256
only.
impl From<SecretKey<NistP256>> for EcdsaPrivateKey<32>
Available on crate feature
p256
only.sourcefn from(sk: SecretKey) -> EcdsaPrivateKey<32>
fn from(sk: SecretKey) -> EcdsaPrivateKey<32>
Converts to this type from the input type.
sourceimpl<const SIZE: usize> LowerHex for EcdsaPrivateKey<SIZE>
impl<const SIZE: usize> LowerHex for EcdsaPrivateKey<SIZE>
sourceimpl<const SIZE: usize> PartialEq<EcdsaPrivateKey<SIZE>> for EcdsaPrivateKey<SIZE>
Available on crate feature subtle
only.
impl<const SIZE: usize> PartialEq<EcdsaPrivateKey<SIZE>> for EcdsaPrivateKey<SIZE>
Available on crate feature
subtle
only.sourceimpl Signer<Signature> for EcdsaPrivateKey<32>
Available on crate feature p256
only.
impl Signer<Signature> for EcdsaPrivateKey<32>
Available on crate feature
p256
only.sourceimpl<const SIZE: usize> UpperHex for EcdsaPrivateKey<SIZE>
impl<const SIZE: usize> UpperHex for EcdsaPrivateKey<SIZE>
impl<const SIZE: usize> Eq for EcdsaPrivateKey<SIZE>
Available on crate feature
subtle
only.Auto Trait Implementations
impl<const SIZE: usize> RefUnwindSafe for EcdsaPrivateKey<SIZE>
impl<const SIZE: usize> Send for EcdsaPrivateKey<SIZE>
impl<const SIZE: usize> Sync for EcdsaPrivateKey<SIZE>
impl<const SIZE: usize> Unpin for EcdsaPrivateKey<SIZE>
impl<const SIZE: usize> UnwindSafe for EcdsaPrivateKey<SIZE>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T, S> SignerMut<S> for T where
T: Signer<S>,
S: Signature,
impl<T, S> SignerMut<S> for T where
T: Signer<S>,
S: Signature,
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more