Struct ssh_key::public::SkEcdsaSha2NistP256
source · pub struct SkEcdsaSha2NistP256 { /* private fields */ }
Expand description
Security Key (FIDO/U2F) ECDSA/NIST P-256 public key as specified in PROTOCOL.u2f.
Implementations§
source§impl SkEcdsaSha2NistP256
impl SkEcdsaSha2NistP256
sourcepub fn ec_point(&self) -> &EncodedPoint<U32>
pub fn ec_point(&self) -> &EncodedPoint<U32>
Get the elliptic curve point for this Security Key.
sourcepub fn application(&self) -> &str
pub fn application(&self) -> &str
Get the FIDO/U2F application (typically ssh:
).
Trait Implementations§
source§impl Clone for SkEcdsaSha2NistP256
impl Clone for SkEcdsaSha2NistP256
source§fn clone(&self) -> SkEcdsaSha2NistP256
fn clone(&self) -> SkEcdsaSha2NistP256
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 SkEcdsaSha2NistP256
impl Debug for SkEcdsaSha2NistP256
source§impl From<EncodedPoint<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>>> for SkEcdsaSha2NistP256
impl From<EncodedPoint<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>>> for SkEcdsaSha2NistP256
source§fn from(ec_point: EncodedPoint<U32>) -> SkEcdsaSha2NistP256
fn from(ec_point: EncodedPoint<U32>) -> SkEcdsaSha2NistP256
Converts to this type from the input type.
source§impl From<SkEcdsaSha2NistP256> for EncodedPoint<U32>
impl From<SkEcdsaSha2NistP256> for EncodedPoint<U32>
source§fn from(sk: SkEcdsaSha2NistP256) -> EncodedPoint<U32>
fn from(sk: SkEcdsaSha2NistP256) -> EncodedPoint<U32>
Converts to this type from the input type.
source§impl From<SkEcdsaSha2NistP256> for KeyData
impl From<SkEcdsaSha2NistP256> for KeyData
source§fn from(public_key: SkEcdsaSha2NistP256) -> KeyData
fn from(public_key: SkEcdsaSha2NistP256) -> KeyData
Converts to this type from the input type.
source§impl From<SkEcdsaSha2NistP256> for PublicKey
impl From<SkEcdsaSha2NistP256> for PublicKey
source§fn from(public_key: SkEcdsaSha2NistP256) -> PublicKey
fn from(public_key: SkEcdsaSha2NistP256) -> PublicKey
Converts to this type from the input type.
source§impl Ord for SkEcdsaSha2NistP256
impl Ord for SkEcdsaSha2NistP256
source§fn cmp(&self, other: &SkEcdsaSha2NistP256) -> Ordering
fn cmp(&self, other: &SkEcdsaSha2NistP256) -> 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 SkEcdsaSha2NistP256
impl PartialEq for SkEcdsaSha2NistP256
source§impl PartialOrd for SkEcdsaSha2NistP256
impl PartialOrd for SkEcdsaSha2NistP256
impl Eq for SkEcdsaSha2NistP256
impl StructuralPartialEq for SkEcdsaSha2NistP256
Auto Trait Implementations§
impl Freeze for SkEcdsaSha2NistP256
impl RefUnwindSafe for SkEcdsaSha2NistP256
impl Send for SkEcdsaSha2NistP256
impl Sync for SkEcdsaSha2NistP256
impl Unpin for SkEcdsaSha2NistP256
impl UnwindSafe for SkEcdsaSha2NistP256
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
)