pub struct KeyBlock {
pub key_format_type: KeyFormatType,
pub key_compression_type: Option<KeyCompressionType>,
pub key_value: KeyValue,
pub cryptographic_algorithm: Option<CryptographicAlgorithm>,
pub cryptographic_length: Option<i32>,
pub key_wrapping_data: Option<()>,
}
Expand description
See KMIP 1.0 section 2.1.3 Key Block.
Fields§
§key_format_type: KeyFormatType
§key_compression_type: Option<KeyCompressionType>
§key_value: KeyValue
§cryptographic_algorithm: Option<CryptographicAlgorithm>
§cryptographic_length: Option<i32>
§key_wrapping_data: Option<()>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for KeyBlock
impl<'de> Deserialize<'de> for KeyBlock
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
impl Eq for KeyBlock
impl StructuralPartialEq for KeyBlock
Auto Trait Implementations§
impl Freeze for KeyBlock
impl RefUnwindSafe for KeyBlock
impl Send for KeyBlock
impl Sync for KeyBlock
impl Unpin for KeyBlock
impl UnwindSafe for KeyBlock
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