pub enum SigningError {
Digest(SigningDigestError),
ParseSignedInfo(ParseError),
Canonicalization(C14nError),
Key(SigningKeyError),
XmlMutation(XmlMutationError),
Template(SignatureBuilderError),
}Expand description
Errors returned by the full XMLDSig signing pipeline.
Variants§
Digest(SigningDigestError)
Reference digest computation failed.
ParseSignedInfo(ParseError)
Parsing the digest-filled <SignedInfo> failed.
Canonicalization(C14nError)
SignedInfo canonicalization failed.
Key(SigningKeyError)
Signing key preparation or signing failed.
XmlMutation(XmlMutationError)
Writing <SignatureValue> failed.
Template(SignatureBuilderError)
Signature template generation failed.
Trait Implementations§
Source§impl Debug for SigningError
impl Debug for SigningError
Source§impl Display for SigningError
impl Display for SigningError
Source§impl Error for SigningError
impl Error for SigningError
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<C14nError> for SigningError
impl From<C14nError> for SigningError
Source§impl From<ParseError> for SigningError
impl From<ParseError> for SigningError
Source§fn from(source: ParseError) -> Self
fn from(source: ParseError) -> Self
Converts to this type from the input type.
Source§impl From<SignatureBuilderError> for SigningError
impl From<SignatureBuilderError> for SigningError
Source§fn from(source: SignatureBuilderError) -> Self
fn from(source: SignatureBuilderError) -> Self
Converts to this type from the input type.
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<SigningKeyError> for SigningError
impl From<SigningKeyError> for SigningError
Source§fn from(source: SigningKeyError) -> Self
fn from(source: SigningKeyError) -> Self
Converts to this type from the input type.
Source§impl From<XmlMutationError> for SigningError
impl From<XmlMutationError> for SigningError
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 SigningError
impl !UnwindSafe for SigningError
impl Freeze for SigningError
impl Send for SigningError
impl Sync for SigningError
impl Unpin for SigningError
impl UnsafeUnpin for SigningError
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