Enum ssh_key::EcdsaCurve
source · pub enum EcdsaCurve {
NistP256,
NistP384,
NistP521,
}
Expand description
Elliptic curves supported for use with ECDSA.
Variants§
NistP256
NIST P-256 (a.k.a. prime256v1, secp256r1)
NistP384
NIST P-384 (a.k.a. secp384r1)
NistP521
NIST P-521 (a.k.a. secp521r1)
Implementations§
Trait Implementations§
source§impl AsRef<str> for EcdsaCurve
impl AsRef<str> for EcdsaCurve
source§impl Clone for EcdsaCurve
impl Clone for EcdsaCurve
source§fn clone(&self) -> EcdsaCurve
fn clone(&self) -> EcdsaCurve
Returns a copy 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 Debug for EcdsaCurve
impl Debug for EcdsaCurve
source§impl Display for EcdsaCurve
impl Display for EcdsaCurve
source§impl FromStr for EcdsaCurve
impl FromStr for EcdsaCurve
source§impl Hash for EcdsaCurve
impl Hash for EcdsaCurve
source§impl Ord for EcdsaCurve
impl Ord for EcdsaCurve
source§fn cmp(&self, other: &EcdsaCurve) -> Ordering
fn cmp(&self, other: &EcdsaCurve) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for EcdsaCurve
impl PartialEq for EcdsaCurve
source§impl PartialOrd for EcdsaCurve
impl PartialOrd for EcdsaCurve
impl Copy for EcdsaCurve
impl Eq for EcdsaCurve
impl StructuralPartialEq for EcdsaCurve
Auto Trait Implementations§
impl Freeze for EcdsaCurve
impl RefUnwindSafe for EcdsaCurve
impl Send for EcdsaCurve
impl Sync for EcdsaCurve
impl Unpin for EcdsaCurve
impl UnwindSafe for EcdsaCurve
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)