pub struct Jwe {
pub ciphertext: String,
pub protected: String,
pub recipients: Vec<JweRecipient>,
pub tag: String,
pub iv: String,
}Fields§
§ciphertext: String§protected: String§recipients: Vec<JweRecipient>§tag: String§iv: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for Jwe
impl<'de> Deserialize<'de> for Jwe
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<T: DeserializeOwned + Send + 'static> Unpackable<Jwe, T> for Jwe
Implement Unpackable for JWE
impl<T: DeserializeOwned + Send + 'static> Unpackable<Jwe, T> for Jwe
Implement Unpackable for JWE
Source§fn unpack<'life0, 'life1, 'async_trait>(
packed_message: &'life0 Jwe,
key_manager: &'life1 (impl 'async_trait + KeyManagerPacking + ?Sized),
options: UnpackOptions,
) -> Pin<Box<dyn Future<Output = Result<T>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
fn unpack<'life0, 'life1, 'async_trait>(
packed_message: &'life0 Jwe,
key_manager: &'life1 (impl 'async_trait + KeyManagerPacking + ?Sized),
options: UnpackOptions,
) -> Pin<Box<dyn Future<Output = Result<T>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
Unpack the object from its secure format
Source§impl Unpackable<Jwe, UnpackedMessage> for Jwe
Implement Unpackable for JWE to UnpackedMessage
impl Unpackable<Jwe, UnpackedMessage> for Jwe
Implement Unpackable for JWE to UnpackedMessage
Source§fn unpack<'life0, 'life1, 'async_trait>(
packed_message: &'life0 Jwe,
key_manager: &'life1 (impl 'async_trait + KeyManagerPacking + ?Sized),
options: UnpackOptions,
) -> Pin<Box<dyn Future<Output = Result<UnpackedMessage>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
fn unpack<'life0, 'life1, 'async_trait>(
packed_message: &'life0 Jwe,
key_manager: &'life1 (impl 'async_trait + KeyManagerPacking + ?Sized),
options: UnpackOptions,
) -> Pin<Box<dyn Future<Output = Result<UnpackedMessage>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
Unpack the object from its secure format
Auto Trait Implementations§
impl Freeze for Jwe
impl RefUnwindSafe for Jwe
impl Send for Jwe
impl Sync for Jwe
impl Unpin for Jwe
impl UnsafeUnpin for Jwe
impl UnwindSafe for Jwe
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