pub struct EncryptedDataInspection { /* private fields */ }Expand description
Immutable descriptor graph with an association-checked recipient location. No key material is copied to record selection; the private location is bound to this graph and cannot become stale through caller mutation.
Implementations§
Source§impl EncryptedDataInspection
impl EncryptedDataInspection
Sourcepub fn data(&self) -> &EncryptedData
pub fn data(&self) -> &EncryptedData
Validated, fully resolved encrypted-data metadata.
Sourcepub fn requires_document_context(&self) -> bool
pub fn requires_document_context(&self) -> bool
Whether decryption must retain the original document’s reference and ID semantics rather than use the standalone typed-descriptor API.
Sourcepub fn recipient_encapsulation(&self) -> Option<&EncapsulationMechanism>
pub fn recipient_encapsulation(&self) -> Option<&EncapsulationMechanism>
The sole applicable KEM recipient, after encrypted-key association checks.
Auto Trait Implementations§
impl Freeze for EncryptedDataInspection
impl RefUnwindSafe for EncryptedDataInspection
impl Send for EncryptedDataInspection
impl Sync for EncryptedDataInspection
impl Unpin for EncryptedDataInspection
impl UnsafeUnpin for EncryptedDataInspection
impl UnwindSafe for EncryptedDataInspection
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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