Skip to main content

TokenCheckError

Type Alias TokenCheckError 

Source
pub type TokenCheckError<E, N, D, G, PE, RE> = Error<E, TokenError<ProfileCheckError<InputError<E, N>, PE, RE, DigestError>>, N, D, G>;
Expand description

Common timestamp-check cause nested in its binary-source/XML enclosure.

Aliased Type§

pub enum TokenCheckError<E, N, D, G, PE, RE> {
    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: TokenError<ProfileCheckError<InputError<E, N>, PE, RE, DigestError>>,
    },
}

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: TokenError<ProfileCheckError<InputError<E, N>, PE, RE, DigestError>>

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