Skip to main content

Module binary

Module binary 

Source
Expand description

Scoped ASN.1 carried by original XML nodes, without retaining decoded buffers.

Structs§

Decoded
The actual scoped decoded source and its original ASN.1 provenance. These borrows cannot escape the higher-ranked visitor. A fresh decoded document has base zero and reader depth zero; neither is a physical XML offset.
Located
A retained result alongside its original XML/binary-source enclosure. Any ASN.1 offsets inside the value remain decoded-source coordinates.
Location
Original XML enclosure of a distinct decoded binary source.
OwnedDecoded
Independently owned decoded bytes and their actual producing session.

Enums§

Error
Refusal preserving both the XML enclosure and the unchanged inner cause.
PkiEncoding
Encoding identifiers defined by EN319132-1 §5.1.3; absence specifically means DER.
TokenError
Scoped token refusal, distinct from XML decoding and callback failures.

Traits§

BinaryXml
XML-owned lexical decoding of an encapsulated binary value.
OwnedBinaryXml
Independent decoded ownership for simultaneous certificate/status checking.

Functions§

owned
Moves an owned decoded source out together with its exact XML enclosure.
owned_source
Retains a source for simultaneous material checking without a second decode. Original XML identity accompanies every source in a multi-source catalogue. Like owned, this does not itself establish the material’s PKI schema, authenticity, completeness or trust.
with_der_reader
Visits a schema-fixed DER value, such as IssuerSerialV2 (§5.2.2). An unrelated XML attribute cannot make this ASN.1 value permissive BER. Outer XML schema/attribute validation remains a separate obligation.
with_octets
Visits an original decoded octet value without inventing an ASN.1 enclosure. The result cannot borrow the temporary decoded buffer.
with_reader
Visits one original decoded source with snapshot checks around the callback.
with_token
Reads the carried RFC3161 CMS token through its existing common kernel.

Type Aliases§

BinaryResult
Scoped binary result using this XML owner’s source identity types.
LocatedValue
A result carrying this XML owner’s stable source identity types.