Struct sshkeys::DsaPublicKey
source · pub struct DsaPublicKey {
pub p: Vec<u8>,
pub q: Vec<u8>,
pub g: Vec<u8>,
pub y: Vec<u8>,
}
Expand description
DSA public key. The format of DSA public keys is described in RFC 4253, section 6.6
Fields§
§p: Vec<u8>
Parameter p
.
q: Vec<u8>
Parameter q
.
g: Vec<u8>
Parameter g
.
y: Vec<u8>
Parameter y
.
Trait Implementations§
source§impl Clone for DsaPublicKey
impl Clone for DsaPublicKey
source§fn clone(&self) -> DsaPublicKey
fn clone(&self) -> DsaPublicKey
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 DsaPublicKey
impl Debug for DsaPublicKey
source§impl PartialEq for DsaPublicKey
impl PartialEq for DsaPublicKey
source§fn eq(&self, other: &DsaPublicKey) -> bool
fn eq(&self, other: &DsaPublicKey) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DsaPublicKey
Auto Trait Implementations§
impl Freeze for DsaPublicKey
impl RefUnwindSafe for DsaPublicKey
impl Send for DsaPublicKey
impl Sync for DsaPublicKey
impl Unpin for DsaPublicKey
impl UnwindSafe for DsaPublicKey
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