pub struct EncryptedData<'a> {
pub content: EncryptedContent<'a>,
pub attributes: Option<OwnedVec<Attribute<'a>>>,
pub protection: Protection<'a>,
}Expand description
CMS EncryptedData, RFC5652 §8, used by PKCS#12 password privacy.
Fields§
§content: EncryptedContent<'a>Original content algorithm and attached/detached encrypted octets.
attributes: Option<OwnedVec<Attribute<'a>>>Every original unprotected attribute, not authenticated bag metadata.
protection: Protection<'a>Parsed password-protection parameters, prepared once before callbacks.
Implementations§
Auto Trait Implementations§
impl<'a> !Freeze for EncryptedData<'a>
impl<'a> !RefUnwindSafe for EncryptedData<'a>
impl<'a> !Send for EncryptedData<'a>
impl<'a> !Sync for EncryptedData<'a>
impl<'a> !UnwindSafe for EncryptedData<'a>
impl<'a> Unpin for EncryptedData<'a>
impl<'a> UnsafeUnpin for EncryptedData<'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