pub struct DecryptionOptions {
pub max_token_length: Option<usize>,
pub max_header_length: Option<usize>,
pub required_key_id: Option<String>,
pub claim_options: Option<VerificationOptions>,
}Expand description
Options for JWE decryption.
Fields§
§max_token_length: Option<usize>Maximum token length to accept
max_header_length: Option<usize>Maximum header length to accept
required_key_id: Option<String>Required key ID
claim_options: Option<VerificationOptions>Options for validating claims after decryption
Trait Implementations§
Source§impl Clone for DecryptionOptions
impl Clone for DecryptionOptions
Source§fn clone(&self) -> DecryptionOptions
fn clone(&self) -> DecryptionOptions
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 DecryptionOptions
impl Debug for DecryptionOptions
Source§impl Default for DecryptionOptions
impl Default for DecryptionOptions
Source§fn default() -> DecryptionOptions
fn default() -> DecryptionOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DecryptionOptions
impl RefUnwindSafe for DecryptionOptions
impl Send for DecryptionOptions
impl Sync for DecryptionOptions
impl Unpin for DecryptionOptions
impl UnwindSafe for DecryptionOptions
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