#[non_exhaustive]pub enum KeyFormatType {
Show 19 variants
Raw,
Opaque,
PKCS1,
PKCS8,
X509,
ECPrivateKey,
TransparentSymmetricKey,
TransparentDSAPrivateKey,
TransparentDSAPublicKey,
TransparentRSAPrivateKey,
TransparentRSAPublicKey,
TransparentDHPrivateKey,
TransparentDHPublicKey,
TransparentECDSAPrivateKey,
TransparentECDSAPublicKey,
TransparentECHDPrivateKey,
TransparentECDHPublicKey,
TransparentECMQVPrivateKey,
TransparentECMQVPublicKey,
}
Expand description
See KMIP 1.0 section 9.1.3.2.3 Key Format Type Enumeration.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Raw
Opaque
PKCS1
PKCS8
X509
ECPrivateKey
TransparentSymmetricKey
TransparentDSAPrivateKey
TransparentDSAPublicKey
TransparentRSAPrivateKey
TransparentRSAPublicKey
TransparentDHPrivateKey
TransparentDHPublicKey
TransparentECDSAPrivateKey
TransparentECDSAPublicKey
TransparentECHDPrivateKey
TransparentECDHPublicKey
TransparentECMQVPrivateKey
TransparentECMQVPublicKey
Trait Implementations§
Source§impl Clone for KeyFormatType
impl Clone for KeyFormatType
Source§fn clone(&self) -> KeyFormatType
fn clone(&self) -> KeyFormatType
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 KeyFormatType
impl Debug for KeyFormatType
Source§impl<'de> Deserialize<'de> for KeyFormatType
impl<'de> Deserialize<'de> for KeyFormatType
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 Display for KeyFormatType
impl Display for KeyFormatType
Source§impl PartialEq for KeyFormatType
impl PartialEq for KeyFormatType
Source§impl Serialize for KeyFormatType
impl Serialize for KeyFormatType
impl Copy for KeyFormatType
impl Eq for KeyFormatType
impl StructuralPartialEq for KeyFormatType
Auto Trait Implementations§
impl Freeze for KeyFormatType
impl RefUnwindSafe for KeyFormatType
impl Send for KeyFormatType
impl Sync for KeyFormatType
impl Unpin for KeyFormatType
impl UnwindSafe for KeyFormatType
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