pub struct EncryptionOptions {
pub content_encryption: ContentEncryption,
pub content_type: Option<String>,
pub key_id: Option<String>,
}Expand description
Options for JWE encryption.
Fields§
§content_encryption: ContentEncryptionContent encryption algorithm (default: A256GCM)
content_type: Option<String>Content type header
key_id: Option<String>Key ID
Trait Implementations§
Source§impl Clone for EncryptionOptions
impl Clone for EncryptionOptions
Source§impl Debug for EncryptionOptions
impl Debug for EncryptionOptions
Auto Trait Implementations§
impl Freeze for EncryptionOptions
impl RefUnwindSafe for EncryptionOptions
impl Send for EncryptionOptions
impl Sync for EncryptionOptions
impl Unpin for EncryptionOptions
impl UnsafeUnpin for EncryptionOptions
impl UnwindSafe for EncryptionOptions
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