pub struct KeyOperationParameters {
pub additional_authenticated_data: Option<Vec<u8>>,
pub algorithm: Option<EncryptionAlgorithm>,
pub authentication_tag: Option<Vec<u8>>,
pub iv: Option<Vec<u8>>,
pub value: Option<Vec<u8>>,
}Expand description
The key operations parameters.
Fields§
§additional_authenticated_data: Option<Vec<u8>>Additional data to authenticate but not encrypt/decrypt when using authenticated crypto algorithms.
algorithm: Option<EncryptionAlgorithm>algorithm identifier
authentication_tag: Option<Vec<u8>>The tag to authenticate when performing decryption with an authenticated algorithm.
iv: Option<Vec<u8>>Cryptographically random, non-repeating initialization vector for symmetric algorithms.
value: Option<Vec<u8>>The value to operate on.
Trait Implementations§
Source§impl Clone for KeyOperationParameters
impl Clone for KeyOperationParameters
Source§fn clone(&self) -> KeyOperationParameters
fn clone(&self) -> KeyOperationParameters
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 KeyOperationParameters
impl Debug for KeyOperationParameters
Source§impl Default for KeyOperationParameters
impl Default for KeyOperationParameters
Source§fn default() -> KeyOperationParameters
fn default() -> KeyOperationParameters
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for KeyOperationParameters
impl<'de> Deserialize<'de> for KeyOperationParameters
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 Serialize for KeyOperationParameters
impl Serialize for KeyOperationParameters
Auto Trait Implementations§
impl Freeze for KeyOperationParameters
impl RefUnwindSafe for KeyOperationParameters
impl Send for KeyOperationParameters
impl Sync for KeyOperationParameters
impl Unpin for KeyOperationParameters
impl UnsafeUnpin for KeyOperationParameters
impl UnwindSafe for KeyOperationParameters
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<D> DeserializeWith<JsonFormat> for Dwhere
D: DeserializeOwned,
impl<D> DeserializeWith<JsonFormat> for Dwhere
D: DeserializeOwned,
Source§fn deserialize_with(body: ResponseBody) -> Result<D, Error>
fn deserialize_with(body: ResponseBody) -> Result<D, Error>
Deserialize the response body using the specified format. Read more