pub struct KeyDecryptRequest<'a> {
pub handle: &'a PsaExternalKeyHandle,
pub algorithm: PsaDecryptAlgorithm,
pub ciphertext: &'a [u8],
pub label: Option<&'a [u8]>,
}Expand description
Carries data required for backend decrypt operations.
Fields§
§handle: &'a PsaExternalKeyHandleOpaque provider handle to decrypt key object.
algorithm: PsaDecryptAlgorithmAlgorithm selector for decrypt operation.
ciphertext: &'a [u8]Ciphertext bytes to decrypt.
label: Option<&'a [u8]>Optional OAEP label bytes for algorithms requiring explicit label.
Trait Implementations§
Source§impl<'a> Clone for KeyDecryptRequest<'a>
impl<'a> Clone for KeyDecryptRequest<'a>
Source§fn clone(&self) -> KeyDecryptRequest<'a>
fn clone(&self) -> KeyDecryptRequest<'a>
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 moreAuto Trait Implementations§
impl<'a> Freeze for KeyDecryptRequest<'a>
impl<'a> RefUnwindSafe for KeyDecryptRequest<'a>
impl<'a> Send for KeyDecryptRequest<'a>
impl<'a> Sync for KeyDecryptRequest<'a>
impl<'a> Unpin for KeyDecryptRequest<'a>
impl<'a> UnsafeUnpin for KeyDecryptRequest<'a>
impl<'a> UnwindSafe for KeyDecryptRequest<'a>
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