Struct sshkeys::EcdsaPublicKey
source · pub struct EcdsaPublicKey {
pub curve: Curve,
pub key: Vec<u8>,
pub sk_application: Option<String>,
}
Expand description
ECDSA public key. The format of ECDSA public keys is described in RFC 5656, section 3.1.
Fields§
§curve: Curve
The curve being used.
key: Vec<u8>
The public key.
sk_application: Option<String>
Associated security key application, if any.
Trait Implementations§
source§impl Clone for EcdsaPublicKey
impl Clone for EcdsaPublicKey
source§fn clone(&self) -> EcdsaPublicKey
fn clone(&self) -> EcdsaPublicKey
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 EcdsaPublicKey
impl Debug for EcdsaPublicKey
source§impl PartialEq for EcdsaPublicKey
impl PartialEq for EcdsaPublicKey
source§fn eq(&self, other: &EcdsaPublicKey) -> bool
fn eq(&self, other: &EcdsaPublicKey) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EcdsaPublicKey
Auto Trait Implementations§
impl Freeze for EcdsaPublicKey
impl RefUnwindSafe for EcdsaPublicKey
impl Send for EcdsaPublicKey
impl Sync for EcdsaPublicKey
impl Unpin for EcdsaPublicKey
impl UnwindSafe for EcdsaPublicKey
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