Struct ssh_agent_lib::proto::private_key::DssPrivateKey
source · pub struct DssPrivateKey {
pub p: MpInt,
pub q: MpInt,
pub g: MpInt,
pub y: MpInt,
pub x: MpInt,
}
Fields§
§p: MpInt
§q: MpInt
§g: MpInt
§y: MpInt
§x: MpInt
Trait Implementations§
source§impl Clone for DssPrivateKey
impl Clone for DssPrivateKey
source§fn clone(&self) -> DssPrivateKey
fn clone(&self) -> DssPrivateKey
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 DssPrivateKey
impl Debug for DssPrivateKey
source§impl<'de> Deserialize<'de> for DssPrivateKey
impl<'de> Deserialize<'de> for DssPrivateKey
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<&DssPrivateKey> for DssPublicKey
impl From<&DssPrivateKey> for DssPublicKey
source§fn from(key: &DssPrivateKey) -> Self
fn from(key: &DssPrivateKey) -> Self
Converts to this type from the input type.
source§impl From<DssPrivateKey> for DssPublicKey
impl From<DssPrivateKey> for DssPublicKey
source§fn from(key: DssPrivateKey) -> Self
fn from(key: DssPrivateKey) -> Self
Converts to this type from the input type.
source§impl Hash for DssPrivateKey
impl Hash for DssPrivateKey
source§impl KeyType for DssPrivateKey
impl KeyType for DssPrivateKey
source§impl PartialEq for DssPrivateKey
impl PartialEq for DssPrivateKey
source§fn eq(&self, other: &DssPrivateKey) -> bool
fn eq(&self, other: &DssPrivateKey) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for DssPrivateKey
impl Serialize for DssPrivateKey
impl Eq for DssPrivateKey
impl StructuralPartialEq for DssPrivateKey
Auto Trait Implementations§
impl RefUnwindSafe for DssPrivateKey
impl Send for DssPrivateKey
impl Sync for DssPrivateKey
impl Unpin for DssPrivateKey
impl UnwindSafe for DssPrivateKey
Blanket Implementations§
source§impl<'a, T> Blob for Twhere
T: Serialize + Deserialize<'a>,
impl<'a, T> Blob for Twhere
T: Serialize + Deserialize<'a>,
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