pub struct CipherReferenceContext<'a> { /* private fields */ }Expand description
One operation’s source-anchored ciphertext reference processor.
Resources are supplied by the caller; this processor performs no I/O. All resolutions through this context share external-byte and transform budgets.
Implementations§
Source§impl<'a> CipherReferenceContext<'a>
impl<'a> CipherReferenceContext<'a>
Sourcepub fn new(
policy: &'a DecryptionPolicy,
resources: Option<&'a HashMap<String, Vec<u8>>>,
backend: XmlBackend,
id_attributes: &'a [IdAttributeRegistration],
) -> Result<Self, XmlEncError>
pub fn new( policy: &'a DecryptionPolicy, resources: Option<&'a HashMap<String, Vec<u8>>>, backend: XmlBackend, id_attributes: &'a [IdAttributeRegistration], ) -> Result<Self, XmlEncError>
Bind caller-owned resources and the operation’s immutable policy.
Auto Trait Implementations§
impl<'a> !Freeze for CipherReferenceContext<'a>
impl<'a> !RefUnwindSafe for CipherReferenceContext<'a>
impl<'a> !Send for CipherReferenceContext<'a>
impl<'a> !Sync for CipherReferenceContext<'a>
impl<'a> !UnwindSafe for CipherReferenceContext<'a>
impl<'a> Unpin for CipherReferenceContext<'a>
impl<'a> UnsafeUnpin for CipherReferenceContext<'a>
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