Skip to main content

Module trust_lists

Module trust_lists 

Source
Expand description

CTL and CRL use by an ITS-S (ETSI TS 102 941 V2.2.1 clauses 6.3.1 to 6.3.6, Annexes D and E).

TrustStore reads the TLM CTL (ECTL), the Root CA CTLs and the CRLs, checks that each is signed by its issuer (a trusted TLM, a trusted Root CA) with the ITS-AID and SSP of the CTL / CRL service (clauses B.2, B.3), and updates the trust information of a CertificateLibrary:

  • ECTL: Root CA entries become trust anchors; a full ECTL also withdraws the Root CAs it no longer lists; TLM entries add a TLM; the TLM entry’s access point is the CPOC;
  • Root CA CTL: AA (and EA) entries of that Root CA; DC entries give the DC of the listed Root CAs; delete commands withdraw entries;
  • CRL: the listed CA certificates are revoked; TrustStore::process returns them so that the caller can drop the own EC / AT (super::PkiClient::revoke).

When a CTL or CRL passes its nextUpdate, TrustStore::due_downloads gives the URLs to fetch from the CPOC (getectl) or the DC (getctl, getcrl) and TrustStore::refresh fetches and applies them.

Structs§

ListInfo
The last CTL or CRL applied for an issuer.
ListVersion
Issuer and version of a verified CTL / CRL message (TrustStore::inspect).
TrustListError
A CTL or CRL is rejected; code names the failed check.
TrustStore
Trust information of an ITS-S built from CTLs and CRLs (module documentation).

Enums§

ListKind
Kind of list.

Constants§

PSID_CRL
ITS-AIDs of the CRL and CTL services (ETSI TS 102 965).
PSID_CTL
SSP_AA_ENTRIES
SSP_DC_ENTRIES
SSP_EA_ENTRIES
SSP_RCA_ENTRIES
SSP_TLM_ENTRIES
CTL SSP bits (clause B.2, Table B.2).