Skip to main content

ObjectDigestError

Type Alias ObjectDigestError 

Source
pub type ObjectDigestError<E, PE, N, D, G, SE, SD, SG> = Error<E, Error<ReadFailure<SE, SD, SG>, PE>, N, D, G>;
Expand description

Original XML value location and unchanged native digest/source refusal.

Aliased Type§

pub enum ObjectDigestError<E, PE, N, D, G, SE, SD, SG> {
    UnknownEncoding {
        location: Location<N, D, G>,
    },
    UnsupportedEncoding {
        location: Location<N, D, G>,
        encoding: PkiEncoding,
    },
    ReaderCreation {
        location: Location<N, D, G>,
        cause: Error,
    },
    Access {
        location: Location<N, D, G>,
        cause: AccessError<E, N>,
    },
    Callback {
        location: Location<N, D, G>,
        cause: Error<ReadFailure<SE, SD, SG>, PE>,
    },
}

Variants§

§

UnknownEncoding

The original Encoding attribute does not identify a specified PKI codec.

Fields

§location: Location<N, D, G>

Original encapsulated-value element.

§

UnsupportedEncoding

A specified codec has no decoder in this ASN.1 processing capability. This is unsupported processing, not malformed XML or a digest mismatch.

Fields

§location: Location<N, D, G>

Original encapsulated-value element.

§encoding: PkiEncoding

Original specified codec.

§

ReaderCreation

Common Reader construction refused before the inspection visitor.

Fields

§location: Location<N, D, G>

Original encapsulated-value element.

§cause: Error

Original ASN.1 processing/resource error in decoded-source coordinates.

§

Access

XML access, decoding, generation or resource refusal.

Fields

§location: Location<N, D, G>

Original XML enclosure, not a fabricated binary byte range.

§cause: AccessError<E, N>

Original access/owner cause, including pre-visitor resource errors.

§

Callback

Scoped ASN.1 inspection/check callback refused.

Fields

§location: Location<N, D, G>

Inner offsets refer to the decoded source at this XML node.

§cause: Error<ReadFailure<SE, SD, SG>, PE>

Unchanged cause; retained maps keep their own inner source contexts.