pub struct EncryptedContent<'a> {
pub kind: Oid<'a>,
pub algorithm: AlgorithmIdentifier<'a>,
pub ciphertext: Option<Octets<'a>>,
}Expand description
Original content descriptor and optional ciphertext, not plaintext.
Fields§
§kind: Oid<'a>The actual plaintext format selected by the originator.
algorithm: AlgorithmIdentifier<'a>Original content algorithm and parameter source context.
ciphertext: Option<Octets<'a>>None is detached; attached empty ciphertext is a distinct value.
Trait Implementations§
Auto Trait Implementations§
impl<'a> !Freeze for EncryptedContent<'a>
impl<'a> !RefUnwindSafe for EncryptedContent<'a>
impl<'a> !Send for EncryptedContent<'a>
impl<'a> !Sync for EncryptedContent<'a>
impl<'a> !UnwindSafe for EncryptedContent<'a>
impl<'a> Unpin for EncryptedContent<'a>
impl<'a> UnsafeUnpin for EncryptedContent<'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