pub enum SigningDigestError {
XmlParse(Error),
MissingElement {
element: &'static str,
},
InvalidStructure(String),
UnsupportedAlgorithm {
uri: String,
},
SigningAlgorithmDisabled {
uri: &'static str,
},
Transform(TransformError),
XmlMutation(XmlMutationError),
}Expand description
Errors returned by the XMLDSig signing digest pass.
Variants§
XmlParse(Error)
The input XML document is not well-formed.
MissingElement
Required XMLDSig element is missing.
InvalidStructure(String)
XMLDSig template structure is invalid.
UnsupportedAlgorithm
Digest algorithm URI is not supported.
SigningAlgorithmDisabled
Digest algorithm is supported for verification but disabled for signing.
Transform(TransformError)
URI dereference or transform execution failed.
XmlMutation(XmlMutationError)
Writing computed digest values back into XML failed.
Trait Implementations§
Source§impl Debug for SigningDigestError
impl Debug for SigningDigestError
Source§impl Display for SigningDigestError
impl Display for SigningDigestError
Source§impl Error for SigningDigestError
impl Error for SigningDigestError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<Error> for SigningDigestError
impl From<Error> for SigningDigestError
Source§impl From<SigningDigestError> for SigningError
impl From<SigningDigestError> for SigningError
Source§fn from(source: SigningDigestError) -> Self
fn from(source: SigningDigestError) -> Self
Converts to this type from the input type.
Source§impl From<TransformError> for SigningDigestError
impl From<TransformError> for SigningDigestError
Source§fn from(source: TransformError) -> Self
fn from(source: TransformError) -> Self
Converts to this type from the input type.
Source§impl From<XmlMutationError> for SigningDigestError
impl From<XmlMutationError> for SigningDigestError
Source§fn from(source: XmlMutationError) -> Self
fn from(source: XmlMutationError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for SigningDigestError
impl !UnwindSafe for SigningDigestError
impl Freeze for SigningDigestError
impl Send for SigningDigestError
impl Sync for SigningDigestError
impl Unpin for SigningDigestError
impl UnsafeUnpin for SigningDigestError
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