pub enum KeyMaterial {
Bytes(Vec<u8>),
TransparentSymmetricKey(TransparentSymmetricKey),
TransparentDSAPrivateKey(TransparentDSAPrivateKey),
TransparentDSAPublicKey(TransparentDSAPublicKey),
TransparentRSAPrivateKey(TransparentRSAPrivateKey),
TransparentRSAPublicKey(TransparentRSAPublicKey),
TransparentDHPrivateKey(TransparentDHPrivateKey),
TransparentDHPublicKey(TransparentDHPublicKey),
Structure(Vec<u8>),
}
Expand description
See KMIP 1.0 section 2.1.4 Key Value.
Variants§
Bytes(Vec<u8>)
TransparentSymmetricKey(TransparentSymmetricKey)
TransparentDSAPrivateKey(TransparentDSAPrivateKey)
TransparentDSAPublicKey(TransparentDSAPublicKey)
TransparentRSAPrivateKey(TransparentRSAPrivateKey)
TransparentRSAPublicKey(TransparentRSAPublicKey)
TransparentDHPrivateKey(TransparentDHPrivateKey)
TransparentDHPublicKey(TransparentDHPublicKey)
Structure(Vec<u8>)
Trait Implementations§
Source§impl Clone for KeyMaterial
impl Clone for KeyMaterial
Source§fn clone(&self) -> KeyMaterial
fn clone(&self) -> KeyMaterial
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 KeyMaterial
impl Debug for KeyMaterial
Source§impl<'de> Deserialize<'de> for KeyMaterial
impl<'de> Deserialize<'de> for KeyMaterial
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 for KeyMaterial
impl PartialEq for KeyMaterial
Source§impl Serialize for KeyMaterial
impl Serialize for KeyMaterial
impl Eq for KeyMaterial
impl StructuralPartialEq for KeyMaterial
Auto Trait Implementations§
impl Freeze for KeyMaterial
impl RefUnwindSafe for KeyMaterial
impl Send for KeyMaterial
impl Sync for KeyMaterial
impl Unpin for KeyMaterial
impl UnwindSafe for KeyMaterial
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