#[non_exhaustive]pub enum DsigError {
Show 20 variants
SharedExecution(MemoryError),
KeyEstablishment(KeyEstablishmentError),
InvalidRequest {
reason: &'static str,
},
Policy(PolicyViolation),
AccountedPolicyAlgorithm {
operation: &'static str,
algorithm: OwnedText,
},
Provider(ProviderError),
XmlParse(ParseError),
Document(XmlDocumentError),
MissingElement {
element: &'static str,
},
InvalidStructure {
reason: &'static str,
},
OperationPlan(String),
SelectedNodeUnavailable {
id: String,
},
ParseSignedInfo(ParseError),
ParseKeyInfo(ParseError),
KeyResolution(KeyResolutionError),
ParseManifestReference(ParseError),
Reference(ReferenceProcessingError),
Canonicalization(C14nError),
SignatureValueBase64(DecodeError),
Crypto(SignatureVerificationError),
}Expand description
Errors while running end-to-end XMLDSig verification.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
The current shared execution refused work or storage admission.
KeyEstablishment(KeyEstablishmentError)
Key establishment failed before the consuming MAC.
InvalidRequest
Caller-supplied request identities or requirements are inconsistent.
Policy(PolicyViolation)
The compiled verification policy rejected an operation input.
AccountedPolicyAlgorithm
A query-funded algorithm rejection; the URI retains its charge until drop.
Fields
Provider(ProviderError)
The selected provider cannot execute the requested operation.
XmlParse(ParseError)
XML parsing failed.
Document(XmlDocumentError)
The owned XML document boundary rejected the document or identity.
MissingElement
Required signature element is missing.
InvalidStructure
Signature element tree shape violates XMLDSig structure requirements.
OperationPlan(String)
The authenticated dependency graph could not be compiled or executed.
The requested operation start node is absent or has a duplicate ID.
ParseSignedInfo(ParseError)
<SignedInfo> parsing failed.
ParseKeyInfo(ParseError)
<KeyInfo> parsing failed.
KeyResolution(KeyResolutionError)
Configuration-driven key resolution failed.
ParseManifestReference(ParseError)
<Object>/<Manifest>/<Reference> parsing failed.
Reference(ReferenceProcessingError)
Reference processing failed.
Canonicalization(C14nError)
SignedInfo canonicalization failed.
SignatureValueBase64(DecodeError)
SignatureValue base64 decoding failed.
Crypto(SignatureVerificationError)
Cryptographic verification failed before validity decision.
Trait Implementations§
Source§impl Error for DsigError
impl Error for DsigError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()