pub struct DecryptInitRequest {
pub key: Option<SobjectDescriptor>,
pub alg: Option<Algorithm>,
pub mode: Option<CipherMode>,
pub iv: Option<Blob>,
}
Expand description
Initialize multi-part decryption. AEAD ciphers are not currently supported in this mode.
Fields§
§key: Option<SobjectDescriptor>
§alg: Option<Algorithm>
§mode: Option<CipherMode>
Mode is required for symmetric algorithms.
iv: Option<Blob>
Initialization vector is required for symmetric algorithms.
Trait Implementations§
Source§impl Clone for DecryptInitRequest
impl Clone for DecryptInitRequest
Source§fn clone(&self) -> DecryptInitRequest
fn clone(&self) -> DecryptInitRequest
Returns a duplicate 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 DecryptInitRequest
impl Debug for DecryptInitRequest
Source§impl Default for DecryptInitRequest
impl Default for DecryptInitRequest
Source§fn default() -> DecryptInitRequest
fn default() -> DecryptInitRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DecryptInitRequest
impl<'de> Deserialize<'de> for DecryptInitRequest
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
Auto Trait Implementations§
impl Freeze for DecryptInitRequest
impl RefUnwindSafe for DecryptInitRequest
impl Send for DecryptInitRequest
impl Sync for DecryptInitRequest
impl Unpin for DecryptInitRequest
impl UnwindSafe for DecryptInitRequest
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