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
sourceimpl Clone for DecodedKey
impl Clone for DecodedKey
sourcefn clone(&self) -> DecodedKey
fn clone(&self) -> DecodedKey
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for DecodedKey
impl Debug for DecodedKey
sourceimpl<'de> Deserialize<'de> for DecodedKey
impl<'de> Deserialize<'de> for DecodedKey
sourcefn 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
sourceimpl PartialEq<DecodedKey> for DecodedKey
impl PartialEq<DecodedKey> for DecodedKey
sourcefn 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 ==. Read more
sourcefn ne(&self, other: &DecodedKey) -> bool
fn ne(&self, other: &DecodedKey) -> bool
This method tests for !=.
sourceimpl Serialize for DecodedKey
impl Serialize for DecodedKey
sourceimpl TryFrom<Public> for DecodedKey
impl TryFrom<Public> for DecodedKey
impl StructuralPartialEq for DecodedKey
Auto Trait Implementations
impl RefUnwindSafe for DecodedKey
impl Send for DecodedKey
impl Sync for DecodedKey
impl Unpin for DecodedKey
impl UnwindSafe for DecodedKey
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more