Enum ssh_agent_lib::proto::private_key::PrivateKey
source · pub enum PrivateKey {
Dss(DssPrivateKey),
Ed25519(Ed25519PrivateKey),
SkEd25519(SkEd25519PrivateKey),
Rsa(RsaPrivateKey),
EcDsa(EcDsaPrivateKey),
SkEcDsa(SkEcDsaPrivateKey),
}
Variants§
Dss(DssPrivateKey)
Ed25519(Ed25519PrivateKey)
SkEd25519(SkEd25519PrivateKey)
Rsa(RsaPrivateKey)
EcDsa(EcDsaPrivateKey)
SkEcDsa(SkEcDsaPrivateKey)
Trait Implementations§
source§impl Clone for PrivateKey
impl Clone for PrivateKey
source§fn clone(&self) -> PrivateKey
fn clone(&self) -> PrivateKey
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 PrivateKey
impl Debug for PrivateKey
source§impl<'de> Deserialize<'de> for PrivateKey
impl<'de> Deserialize<'de> for PrivateKey
source§fn deserialize<D: Deserializer<'de>>(
deserializer: D
) -> Result<PrivateKey, D::Error>
fn deserialize<D: Deserializer<'de>>( deserializer: D ) -> Result<PrivateKey, D::Error>
Deserialize this value from the given Serde deserializer. Read more
source§impl From<&PrivateKey> for PublicKey
impl From<&PrivateKey> for PublicKey
source§fn from(key: &PrivateKey) -> Self
fn from(key: &PrivateKey) -> Self
Converts to this type from the input type.
source§impl From<PrivateKey> for PublicKey
impl From<PrivateKey> for PublicKey
source§fn from(key: PrivateKey) -> Self
fn from(key: PrivateKey) -> Self
Converts to this type from the input type.
source§impl Hash for PrivateKey
impl Hash for PrivateKey
source§impl KeyTypeEnum for PrivateKey
impl KeyTypeEnum for PrivateKey
source§impl PartialEq for PrivateKey
impl PartialEq for PrivateKey
source§fn eq(&self, other: &PrivateKey) -> bool
fn eq(&self, other: &PrivateKey) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PrivateKey
impl Serialize for PrivateKey
impl Eq for PrivateKey
impl StructuralPartialEq for PrivateKey
Auto Trait Implementations§
impl RefUnwindSafe for PrivateKey
impl Send for PrivateKey
impl Sync for PrivateKey
impl Unpin for PrivateKey
impl UnwindSafe for PrivateKey
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