Skip to main content

Module header_extensions

Module header_extensions 

Source
Expand description

ETSI originating HeaderInfo extensions (ETSI TS 103 097 V2.2.1 clause 4.3.2 and module EtsiTs103097ExtensionModule): the peer-to-peer CRL / CTL requests of ETSI TS 103 601 V2.1.1 clause 5.3.4, carried in contributedExtensions.

A ContributedExtensionBlock of the ETSI contributor (2) holds a sequence of open types, each the COER encoding of an EtsiOriginatingHeaderInfoExtension (id and the open type content).

Mirrors flexstack/security/header_extensions.py.

Enums§

TrustListRequest
A peer-to-peer CRL / CTL request (TS 103 601 clause 5.3.4).

Constants§

CRL_REQUEST_ID
EtsiTs103097HeaderInfoExtensionId values (EtsiTs103097ExtensionModule).
DELTA_CTL_REQUEST_ID
ETSI_HEADER_INFO_CONTRIBUTOR_ID
IEEE 1609.2 HeaderInfoContributorId of ETSI TC ITS (TS 103 097 clause 4.3.2).
FULL_CTL_REQUEST_ID

Functions§

decode_extension
Decode an EtsiOriginatingHeaderInfoExtension; None for an unknown id or a malformed extension.
decode_requests
The CRL / CTL requests in received contributedExtensions. Blocks of other contributors, unknown ids and undecodable extensions are skipped (TS 103 097 clause 4.3.2).
encode_extension
COER of the EtsiOriginatingHeaderInfoExtension of request: id, then the open type content (length determinant and COER of the request).
encode_requests
ContributedExtensionBlocks with one ETSI block carrying requests.