Skip to main content

Module pki_asn

Module pki_asn 

Source
Expand description

ASN.1 types of the ETSI TS 102 941 V2.2.1 ITS-S messages (official modules of https://forge.etsi.org/rep/ITS/asn1/pki_ts102941, tag v2.2.1): EtsiTs102941BaseTypes, EtsiTs102941TypesEnrolment, EtsiTs102941TypesAuthorization, EtsiTs102941TrustLists, EtsiTs102941TypesLinkCertificate and EtsiTs102941MessagesItss.

#[non_exhaustive] marks the extensible types (...), as in the code generated for the other modules. Subtype constraints (WITH COMPONENTS) are checked by the PKI client, not by the types. The alternatives of EtsiTs102941DataContent added for butterfly key expansion carry IEEE 1609.2.1 types; butterfly is not implemented and they are kept as OCTET STRINGs, as the IEEE 1609.2.1 stubs of the Python stack (rasn cannot decode [rasn::types::Any] in OER: it panics), which does not affect the other alternatives. The encodings are checked against frozen vectors produced from the official module text (Python stack, test_pki_coder.py).

Modules§

etsi_ts102941_base_types
EtsiTs102941BaseTypes.
etsi_ts102941_messages_itss
EtsiTs102941MessagesItss.
etsi_ts102941_trust_lists
EtsiTs102941TrustLists.
etsi_ts102941_types_authorization
EtsiTs102941TypesAuthorization.
etsi_ts102941_types_enrolment
EtsiTs102941TypesEnrolment.
etsi_ts102941_types_link_certificate
EtsiTs102941TypesLinkCertificate.

Functions§

decode
COER decoding.
encode
COER encoding.