pub enum SameDocumentIdSemantics {
Specification,
XmlSecBarename,
XmlSecVisa3d,
}Expand description
XMLDSig transform and canonicalization decisions shared by signing and verification.
Variants§
Specification
Require bare fragment identifiers to satisfy the XML NCName grammar.
XmlSecBarename
Apply libxmlsec1’s default barename compatibility grammar.
Registered non-NCName values are accepted unless a single quote makes them unrepresentable in the donor’s single-quoted XPointer expression. The resulting node set retains barename semantics and excludes comments.
XmlSecVisa3d
Resolve the fragment text directly as an ID, including non-NCName values.
This reproduces libxmlsec1’s explicit Visa3D compatibility flag.
Trait Implementations§
Source§impl Clone for SameDocumentIdSemantics
impl Clone for SameDocumentIdSemantics
Source§fn clone(&self) -> SameDocumentIdSemantics
fn clone(&self) -> SameDocumentIdSemantics
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SameDocumentIdSemantics
Source§impl Debug for SameDocumentIdSemantics
impl Debug for SameDocumentIdSemantics
Source§impl Default for SameDocumentIdSemantics
impl Default for SameDocumentIdSemantics
Source§fn default() -> SameDocumentIdSemantics
fn default() -> SameDocumentIdSemantics
Returns the “default value” for a type. Read more
impl Eq for SameDocumentIdSemantics
Source§impl PartialEq for SameDocumentIdSemantics
impl PartialEq for SameDocumentIdSemantics
impl StructuralPartialEq for SameDocumentIdSemantics
Auto Trait Implementations§
impl Freeze for SameDocumentIdSemantics
impl RefUnwindSafe for SameDocumentIdSemantics
impl Send for SameDocumentIdSemantics
impl Sync for SameDocumentIdSemantics
impl Unpin for SameDocumentIdSemantics
impl UnsafeUnpin for SameDocumentIdSemantics
impl UnwindSafe for SameDocumentIdSemantics
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