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
sourceimpl Debug for EcdsaPublicKey
impl Debug for EcdsaPublicKey
sourceimpl PartialEq<EcdsaPublicKey> for EcdsaPublicKey
impl PartialEq<EcdsaPublicKey> for EcdsaPublicKey
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &EcdsaPublicKey) -> bool
fn ne(&self, other: &EcdsaPublicKey) -> bool
This method tests for !=
.
impl StructuralPartialEq for EcdsaPublicKey
Auto Trait Implementations
impl RefUnwindSafe for EcdsaPublicKey
impl Send for EcdsaPublicKey
impl Sync for EcdsaPublicKey
impl Unpin for EcdsaPublicKey
impl UnwindSafe for EcdsaPublicKey
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more