Enum tss_esapi::abstraction::public::DecodedKey
source · pub enum DecodedKey {
RsaPublicKey(RsaPublicKey),
EcPoint(EcPoint),
}Expand description
Can be converted from crate::structures::Public when not a fully constructed
picky_asn1_x509::SubjectPublicKeyInfo is required.
Details
Holds either picky_asn1_x509::RsaPublicKey for crate::structures::Public::Rsa or
picky_asn1_x509::EcPoint for crate::structures::Public::Ecc.
Variants§
RsaPublicKey(RsaPublicKey)
EcPoint(EcPoint)
Trait Implementations§
source§impl Clone for DecodedKey
impl Clone for DecodedKey
source§fn clone(&self) -> DecodedKey
fn clone(&self) -> DecodedKey
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 DecodedKey
impl Debug for DecodedKey
source§impl<'de> Deserialize<'de> for DecodedKey
impl<'de> Deserialize<'de> for DecodedKey
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 PartialEq<DecodedKey> for DecodedKey
impl PartialEq<DecodedKey> for DecodedKey
source§fn eq(&self, other: &DecodedKey) -> bool
fn eq(&self, other: &DecodedKey) -> bool
This method tests for
self and other values to be equal, and is used
by ==.