Expand description
Validation-data containers and non-authoritative timestamp association hints.
Structs§
- Certificate
Role Comparison - Actual exclusive credential certificate and its current reference agreement.
- Certificate
Role Row - One original ordinary Cert reference and all exclusive-credential CA comparisons.
- Certificate
Roles - Only the exclusive credential CA prohibition of Annex A.1.1. Root coverage, signer exclusion, credential reference completeness, status and incorporation remain separate. TSA-only or shared credential/TSA CAs are not prohibited.
- Credential
Certificate - One certificate actually required by a credential authority path.
- Credential
Certificate References - Only A.1.3(1–2)’s required X.509 reference presence, not credential trust, optional status-authority references, identifier correctness or a grade.
- Credential
Certificate Row - One original reference, retaining every candidate comparison.
- Credential
Status Source - One actual credential participant’s non-anchor status contributor.
- CrlReference
Identity - Completed mandatory fields. Optional original Number is only an acquisition hint; it is never narrowed to u64 or used as a digest identity.
- CrlValue
Reference - One original row’s identifier and digest against the SAME actual CRL. Private construction retains the source pair for subsequent composition; a caller cannot substitute another list after the checks have completed.
- Data
- Original complete container, before PKI, path/status or level validation.
- Material
Digest - Completed digest fact for one original source, not path/authority agreement.
- Ocsp
Envelope Reference - Identifier and optional digest checked against the SAME signed envelope. This does not prove authorization, target status, actual use or trust.
- Ocsp
Reference Identity - Completed identifier facts, separate from whole-response digest, target authorization, status usability, actual participant use and incorporation.
- Ocsp
Reference Input - Original whole envelope and an actual signature receipt. This is an INPUT,
not a trusted binding:
check_ocsp_envelope_referencechecks the relation. - Path
Status Source - One original source contributing to a non-anchor checked-path status result.
- Reference
Digests - All references against the complete parsed original XML material pool. Equal digests alone do not establish issuer/time/serial, actual actor use, applicability, authentication, required incorporation or a baseline grade.
- Reference
Entry - Parsed field selectors of one original reference. This type cannot replace the protected signing-certificate reference catalogue in key/path checking.
- Reference
Presence - Conditional referenced-material facts bound to the same complete report.
- Reference
Presence Row - One original reference row’s conditional obligation and completed outcome.
- Reference
Property - One complete original unsigned reference property. Original certificate paths, authority restrictions and actual artifact comparisons remain separate.
- Reference
Row - One original reference and its exact range in the comparison catalogue.
- Revocation
Roles - Required signer-path sources and A.1.2(5) comparisons from the complete actual actor/status closure. This is not full identifier/reference validity, status usability, anchor-reference exclusion or a grade.
- Root
Path References - Root certificate rules of Annex A.1.1(1–2), bound to the actual selected path. Optional TSA/status-authority references, exclusive credential CAs, incorporated presence and authentication/status remain separate checks.
- Root
Reference Row - One original
CompleteCertificateRefsV2entry and its root-path comparisons. - Status
Role Comparison - One actual exclusive credential CA status target and a reference comparison.
- Status
Role Row - One original CRLRef/OCSPRef/open-format entry and its candidate comparisons.
- Status
Source Comparison - Digest fact for an actual contributing required status source.
Enums§
- Certificate
Role Error - Original source, classification and provider failures are terminal causes.
- Credential
Reference Place - Source of an original certificate reference; protected and ordinary copies are normative alternatives, not caller-supplied presence flags.
- CrlReference
Error - Terminal causes never become missing identity or completed disagreement.
- CrlValue
Error - Exact original processing stage; resource/source refusals never disagree.
- Error
- Original structural/processing cause, separate from material authenticity.
- Hint
- A hint is never proof that a certificate/status value belongs to a timestamp.
- Ocsp
Envelope Error - Input/source and execution failures never become an OCSP identity mismatch.
- Ocsp
Reference Error - Exact stage/cause; processing/resource refusal is not identity disagreement.
- Reference
Digest - Exact digest processing, independent of identifier/path/authority checks.
- Reference
Digest Error - Caller/source misuse and actual execution failures are terminal.
- Reference
Field - Original scalar obligation, retained without copying a normalized value.
- Reference
Field Error - Original field processing or completed unproven syntax, never artifact mismatch, missing material or provider authentication.
- Reference
Identifier - Original artifact identifier, retained for actual semantic comparison. These selectors neither authenticate a responder nor override digest bytes.
- Reference
Kind - Referenced artifact schema; no issuer, presence or digest agreement follows.
- Reference
Name Error - A failed name interpretation is never a completed negative comparison.
- Reference
Presence Error - Invalid scope/census and processing refusal are not absent material.
- Reference
Presence Failure - Why a referenced value’s required incorporation was not established.
- Reference
Search - How one original reference participated in the complete digest search.
- Reference
Target - Original bytes available for reference comparison. Independently supplied path certificates/CRLs do not need fabricated XML material nodes. OCSP must retain its WHOLE envelope; a bare basic response is intentionally not a target.
- Reference
Time - A complete comparison or an explicit missing interpretation; no UTC default.
- Reference
Time Error - Original processing refusals remain terminal, independent of label equality.
- Responder
Identifier - Original OCSP responder choice; name and key hash cannot be interchanged.
- Responder
KeyError - Source/schema and visitor causes remain distinct from key disagreement.
- Role
- Validation-data container’s actual schema role.
- Status
Role Agreement - Whole-envelope absence is an unproven relation, never a hash of a basic payload.
Functions§
- check_
certificate_ reference_ roles - Compare ordinary certificate references with exclusively credential CA certificates from the COMPLETE actual actor/status closure. Annex A.1.1 permits TSA references; this deliberately differs from the ordinary values prohibition in §§5.4.2–5.4.3. One existing lazy BC kernel classifies each distinct actual candidate once; one full-identity digest memo serves all refs. Method/declared-value validation precedes lazy certificate scans/allocation. No parse, credential/signature/path authentication or XML acquisition repeats. https://www.etsi.org/deliver/etsi_en/319100_319199/31913201/01.03.01_60/en_31913201v010301p.pdf
- check_
credential_ certificate_ references - Check the mandatory credential signer/ancestor/existing-anchor reference set from actual complete participant paths, honoring the normative protected and ordinary-reference alternatives. No caller-written presence flags, new path validation, key selection, certificate copies or hash engine are introduced. Method syntax/width gates precede lazy path catalogues. One provider-identity memo pays for each exact certificate once even across shared authorities. A.1.3(1–2)’s repeated-reference SHOULD NOT remains a separate advisory fact. This is not complete identifier/credential/status/trust or baseline acceptance. https://www.etsi.org/deliver/etsi_en/319100_319199/31913201/01.03.01_60/en_31913201v010301p.pdf
- check_
crl_ reference - Compare every mandatory field of a written
CRLIdentifierwith the actual list through original name/XSD1.0 time semantics under the current query. EN319132-1 Annex A.1.2 requires issuer and issue time; Note3 expressly makes Number an optional retrieval hint. It cannot replace the whole-list digest or impose a finite-width requirement. None means no written CRL identifier, including another reference kind, never successful agreement. Signature/issuer authorization, complete/delta applicability, freshness, actual use and incorporation remain independent. No CRL parse is repeated. https://www.etsi.org/deliver/etsi_en/319100_319199/31913201/01.03.01_60/en_31913201v010301p.pdf - check_
crl_ value_ reference - Compose Annex A.1.2’s mandatory DER-list digest and optional
CRLIdentifierthrough the SAME existing digest/name/calendar kernels and current query. No parse, serialization, signature verification or acquisition repeats. A different reference kind returns None, never successful agreement. - check_
ocsp_ envelope_ reference - Compose Annex A.1.2’s mandatory responder/time fields and optional whole
OCSPResponsedigest WITHOUT allowing a valid identifier from response A to be joined to a digest of envelope B. The known syntax and exact original payload relation are paid and checked before any provider callback; neither signature verification nor parsing repeats. Two different encodings of the same signed body are not normalized or silently substituted. Malformed/unavailable mandatory time syntax prevents both key and envelope digest callbacks. A readable time mismatch retains both independent facts. https://www.etsi.org/deliver/etsi_en/319100_319199/31913201/01.03.01_60/en_31913201v010301p.pdf https://www.rfc-editor.org/rfc/rfc6960#section-4.2.1 - check_
ocsp_ reference - Compare both fields of an original
OCSPIdentifierwith a response whose mathematical signature and ResponderID-to-signer binding already succeeded. Annex A.1.2 requires the actual responder and producedAt of the referenced response. RFC6960 §4.2.1 permits either responder identifier spelling; aByNameXML selector can identify a byKey response and conversely through the SAME authenticated signer. No signature/path/hash of the response is repeated. https://www.etsi.org/deliver/etsi_en/319100_319199/31913201/01.03.01_60/en_31913201v010301p.pdf https://www.rfc-editor.org/rfc/rfc6960#section-4.2.1 - check_
reference_ fields - Execute each retained reference field through its XML owner’s EXISTING
datatype/base64 kernel, without another child parse, normalization or ASN.1
fabrication. Hint dateTimes may genuinely omit a timezone; unlike
SigningTimethey are not converted to a claimed UTC instant. OpenOtherRefpayloads retain their explicit opaque kind for a format handler, not an invented validity flag. - check_
revocation_ reference_ roles - Check Annex A.1.2(5) using actual revocation TARGET CA facts and all actor purposes, not the authentication signer’s CA bit. External complete/delta CRLs can be compared directly; OCSP must locate an original WHOLE envelope containing the exact basic response in the XML/token pools. Missing envelopes stay explicitly unproven, never replaced with a payload hash/re-encoding. Method/width checks precede lazy classification and source indexing; one memo and one body/source index serve every original reference. Neither XML, ASN.1, signature, path nor status authentication repeats. A late refusal drops the report. Unsupported methods and identifier-only/open references retain their obligations; this report cannot assert all reference requirements. Also retains every actual signer-path complete/delta/OCSP contributor and checks its required presence independently for each written property under A.1.2(1–2). All sources share the same exact-kind/byte identity memo, including artifacts reused by different path members. Optional absent properties do not allocate or activate this requirement. Hash identity alone does not validate mandatory issuer/responder/time fields or trust-anchor exclusions. A.1.4(1–2)’s credential sources are derived through the same path/status walker when the attribute-reference property is written. Ordinary matches satisfy its alternatives without erasing A.1.2(5)’s separate prohibitions; repeated attribute copies expose the SHOULD NOT advisory. Complete/delta and whole OCSP comparisons share the same memo across both property roles. https://www.etsi.org/deliver/etsi_en/319100_319199/31913201/01.03.01_60/en_31913201v010301p.pdf
- check_
root_ certificate_ references - Check the complete ordinary certificate reference catalogue against the SAME actually selected certificate path. A.1.1(1–2) requires anchor/CA references and forbids the signing certificate. Extra references can relate to other actual TSA/status paths; they are not rejected merely for differing from this root path. Unsupported comparisons cannot prove signer exclusion. Every reference shares the existing method/width/MD5/streaming core and one full-provider-identity/exact-certificate memo. No XML copy, re-encoding, acquisition, signature/path replay or new crypto dispatcher is needed. https://www.etsi.org/deliver/etsi_en/319100_319199/31913201/01.03.01_60/en_31913201v010301p.pdf
- compare_
reference_ catalogues - Compare EVERY prepared reference with EVERY compatible original parsed material view. Hashes are memoized by exact kind/bytes and complete resolved provider identity, never by width, URI spelling or unauthenticated hint. EN319132-1 Annex A.1.1–A.1.4 digest whole certificate/CRL/OCSPResponse DER. https://www.etsi.org/deliver/etsi_en/319100_319199/31913201/01.03.01_60/en_31913201v010301p.pdf
- compare_
reference_ catalogues_ with_ tokens - Include original timestamp-carried certificates, complete/delta CRLs and WHOLE OCSP envelopes in the same paid candidate/hash memo. Equal DER copied between XML and tokens shares one digest output while every location stays in the report. Embedded OCSP certificates keep their enclosing token/choice. No source is reparsed or copied. Both pools must belong to the same original generation/selected signature before any allocation/provider work.
- compare_
reference_ digest - Compare a retained original reference with a retained original artifact.
EN319132-1 A.1.1/A.1.2/A.1.3/A.1.4 use whole certificate/CRL DER and
whole
OCSPResponse, NOT merely itsBasicOCSPResponsepayload. https://www.etsi.org/deliver/etsi_en/319100_319199/31913201/01.03.01_60/en_31913201v010301p.pdf - compare_
reference_ target - Compare an original reference against an actual external parsed certificate
or CRL, or a retained whole XML envelope, through the SAME digest kernel.
External acquisition/path trust stays with the caller; only the CURRENT
operation pays this comparison and original storage ownership is unchanged.
This does not imply that an external value is incorporated in the signature.
The Annex A full-DER/whole-response and separate identifier obligations are
identical to
compare_reference_digest; no basic-only OCSP hash is allowed. - matches_
reference_ key - Compare the original DER byKey selector with an actual responder certificate. Reuses the same shared RFC6960 identity kernel as OCSP authentication; original source/depth and current query ceilings govern the hash callback. The certificate’s signature/path/authorization and response producedAt remain independent. None identifies a different original selector branch.
- matches_
reference_ name - Compare an original CRL issuer or OCSP
ByNamehint with an actual PKIX Name. Annex A.1.2 refers toXMLDSig§4.5.4.1 DN strings; RFC4514 parsing and RFC5280 name preparation remain with the existing PKIX owner. https://www.etsi.org/deliver/etsi_en/319100_319199/31913201/01.03.01_60/en_31913201v010301p.pdf - matches_
reference_ time - Compare original CRL
IssueTimeor OCSPProducedAtwith its actual PKIX time. Annex A.1.2 requires the referenced response’s production time. XSD1.0 Datatypes §3.2.7 uses 1 BCE=-0001, end-of-day24 and arbitrary fractions; §§3.2.7.3–4 define timezone conversion. These are label comparisons, not authenticated occurrence, freshness or historical trust. https://www.w3.org/TR/2004/REC-xmlschema-2-20041028/#dateTime https://www.etsi.org/deliver/etsi_en/319100_319199/31913201/01.03.01_60/en_31913201v010301p.pdf - read
- Reads one direct unsigned validation-data container of the selected signature.
- reference_
presence - Evaluate Annex A.1.1–A.1.4’s conditional “present elsewhere” requirement
from the SAME completed original digest search. Certificate/status values,
qualifying nonempty
AnyValidationDataandArchiveTimeStampactivate their respective obligations. Their URI and Number hints never replace presence. The exact token source census is checked against whole-scope requirements and the complete counter receipt before any output allocation. This prevents a root-only/failed-token subset from reporting another pool’s values missing or accepting a fabricated empty source set. No parsing/hashing is repeated. https://www.etsi.org/deliver/etsi_en/319100_319199/31913201/01.03.01_60/en_31913201v010301p.pdf - with_
reference_ issuer_ serial - Read an optional original certificate-reference issuer/serial hint using
exactly the same DER/RFC5035 kernel as protected
SigningCertificateV2. Annex A.1.1/A.1.3 import the original clause5.2.2CertIDListV2grammar. https://www.etsi.org/deliver/etsi_en/319100_319199/31913201/01.03.01_60/en_31913201v010301p.pdf - with_
responder_ key - Visit the complete original OCSP byKey hash. Annex A.1.2 requires base64 of the DER-encoded RFC6960 byKey FIELD, not a naked twenty-byte digest. https://www.etsi.org/deliver/etsi_en/319100_319199/31913201/01.03.01_60/en_31913201v010301p.pdf
Type Aliases§
- Certificate
Role Result - Complete certificate-role comparisons or an unchanged terminal cause.
- Credential
Certificate Result - Original source/provider/resource failures remain terminal and located.
- CrlReference
Result - Original XML enclosure and both fields, or the exact terminal cause.
- CrlValue
Result - Complete source-paired CRL facts or the unchanged terminal cause.
- Ocsp
Envelope Result - Complete paired facts or the unchanged stage-specific terminal cause.
- Ocsp
Reference Result - One complete original identifier result in this XML owner’s source domain.
- Reading
- Reading in this XML owner’s original identity types.
- Reference
Catalogue Result - Complete catalogue comparison with unchanged XML/provider/resource causes.
- Reference
Field Result - Scalar interpretation result in the original XML owner’s identity domain.
- Reference
KeyResult - Original XML enclosure and shared/provider failure for a responder-key query.
- Reference
Presence Result - Conditional incorporation result in this original XML identity domain.
- Revocation
Role Result - Terminal XML/provider/admission and original target CA classification causes.
- Root
Path Reference Result - Actual selected-path reference report or the unchanged terminal cause.
- Validation
Result - Original XML/property refusal types.