Struct ssh_key::private::SkEcdsaSha2NistP256
source · pub struct SkEcdsaSha2NistP256 { /* private fields */ }
Expand description
Security Key (FIDO/U2F) ECDSA/NIST P-256 private key as specified in PROTOCOL.u2f.
Implementations§
source§impl SkEcdsaSha2NistP256
impl SkEcdsaSha2NistP256
sourcepub fn public(&self) -> &SkEcdsaSha2NistP256
pub fn public(&self) -> &SkEcdsaSha2NistP256
Get the ECDSA/NIST P-256 public key.
sourcepub fn key_handle(&self) -> &[u8] ⓘ
pub fn key_handle(&self) -> &[u8] ⓘ
Get FIDO/U2F key handle.
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<SkEcdsaSha2NistP256> for KeypairData
impl From<SkEcdsaSha2NistP256> for KeypairData
source§fn from(keypair: SkEcdsaSha2NistP256) -> KeypairData
fn from(keypair: SkEcdsaSha2NistP256) -> KeypairData
Converts to this type from the input type.
source§impl From<SkEcdsaSha2NistP256> for PrivateKey
impl From<SkEcdsaSha2NistP256> for PrivateKey
source§fn from(keypair: SkEcdsaSha2NistP256) -> PrivateKey
fn from(keypair: SkEcdsaSha2NistP256) -> PrivateKey
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
)