obu-firmware builds against vanetza-idf from microbu-esp32c5/external, but that tree was gitignored, so a clone of this repository could not build the firmware it ships. It is now committed here as ordinary files in its own folder, microbu-esp32c5/: the colleague's commit cf4b99f plus the V2X2MAP bridge's signature verification (--trust) used on the bench. Nothing is fetched from or pushed to the colleague's repository; this repository and its remotes carry everything. The folder's own .gitignore keeps build output, downloaded components and private key material out, as it did there; the committed file set is identical to that repository's tracked files. The ESP32-C5 is still flashed from obu-firmware/, which only takes vanetza-idf from microbu-esp32c5/, so the two stay separate folders. FLASHING.md says how to take a newer version of the colleague's tree (copy it over the folder, rebuild, test, commit).
107 lines
6.0 KiB
Plaintext
107 lines
6.0 KiB
Plaintext
/*************************************************************************************
|
|
This file contains the EtsiTs102941MessagesItss-OptionalPrivacy module providing the
|
|
same subset of messages as the EtsiTs102941MessagesItss module.
|
|
It should never be used together with the EtsiTs102941MessagesCA and EtsiTs102941MessagesItss
|
|
|
|
This module allows the usage of unencrypted EC signature for AA requests.
|
|
**************************************************************************************/
|
|
EtsiTs102941MessagesItss-OptionalPrivacy
|
|
{ itu-t(0) identified-organization(4) etsi(0) itsDomain(5) wg5(5) ts(102941) messagesItssOp(2) major-version-3(3) minor-version-3(3)}
|
|
|
|
DEFINITIONS AUTOMATIC TAGS ::=
|
|
BEGIN
|
|
|
|
IMPORTS
|
|
|
|
EtsiTs103097Data-Signed,
|
|
EtsiTs103097Data-Encrypted-Unicast,
|
|
EtsiTs103097Data-SignedAndEncrypted-Unicast
|
|
FROM EtsiTs103097Module
|
|
{ itu-t(0) identified-organization(4) etsi(0) itsDomain(5) wg5(5) secHeaders(103097) core(1) major-version-3(3) minor-version-1(1) }
|
|
WITH SUCCESSORS
|
|
|
|
Version
|
|
FROM EtsiTs102941BaseTypes
|
|
{ itu-t(0) identified-organization(4) etsi(0) itsDomain(5) wg5(5) ts(102941) baseTypes(3) major-version-3(3) minor-version-1(1) }
|
|
WITH SUCCESSORS
|
|
|
|
InnerEcRequestSignedForPop, InnerEcResponse
|
|
FROM EtsiTs102941TypesEnrolment
|
|
{ itu-t(0) identified-organization(4) etsi(0) itsDomain(5) wg5(5) ts(102941) enrolment(4) major-version-3(3) minor-version-1(1) }
|
|
WITH SUCCESSORS
|
|
|
|
EtsiTs102941ButterflyAuthorizationRequest-X509Signed, InnerAtRequest, InnerAtResponse
|
|
FROM EtsiTs102941TypesAuthorization
|
|
{ itu-t(0) identified-organization(4) etsi(0) itsDomain(5) wg5(5) ts(102941) authorization(5) major-version-3(3) minor-version-2(2) }
|
|
WITH SUCCESSORS
|
|
|
|
ToBeSignedCrl, ToBeSignedTlmCtl, ToBeSignedRcaCtl
|
|
FROM EtsiTs102941TrustLists
|
|
{ itu-t(0) identified-organization(4) etsi(0) itsDomain(5) wg5(5) ts(102941) trustLists(6) major-version-3(3) minor-version-1(1) }
|
|
WITH SUCCESSORS
|
|
|
|
ToBeSignedLinkCertificate, ToBeSignedLinkCertificateTlm
|
|
FROM EtsiTs102941TypesLinkCertificate
|
|
{ itu-t(0) identified-organization(4) etsi(0) itsDomain(5) wg5(5) ts(102941) linkCertificate(9) major-version-3(3) minor-version-1(1)}
|
|
WITH SUCCESSORS
|
|
|
|
EeRaCertRequest, RaEeCertInfo, EeRaDownloadRequest
|
|
FROM Ieee1609Dot2Dot1EeRaInterface
|
|
{ iso(1) identified-organization(3) ieee(111) standards-association-numbered-series-standards(2) wave-stds(1609) dot2(2) extension-standards(255) dot1(1) interfaces(1) ee-ra(11) major-version-3(3) minor-version-1(1)}
|
|
WITH SUCCESSORS
|
|
|
|
;
|
|
|
|
/************
|
|
-- Messages
|
|
************/
|
|
|
|
EnrolmentRequestMessage ::= EtsiTs103097Data-SignedAndEncrypted-Unicast {EtsiTs102941Data (WITH COMPONENTS{..., content (WITH COMPONENTS{enrolmentRequest PRESENT})})}
|
|
EnrolmentResponseMessage ::= EtsiTs103097Data-SignedAndEncrypted-Unicast {EtsiTs102941Data (WITH COMPONENTS{..., content (WITH COMPONENTS{enrolmentResponse PRESENT})})}
|
|
AuthorizationRequestMessage ::= EtsiTs103097Data-Encrypted-Unicast {EtsiTs102941Data (WITH COMPONENTS{..., content (WITH COMPONENTS{authorizationRequest PRESENT})})}
|
|
AuthorizationRequestMessageWithPop ::= EtsiTs103097Data-SignedAndEncrypted-Unicast {EtsiTs102941Data (WITH COMPONENTS{..., content (WITH COMPONENTS{authorizationRequest PRESENT})})}
|
|
AuthorizationResponseMessage ::= EtsiTs103097Data-SignedAndEncrypted-Unicast {EtsiTs102941Data (WITH COMPONENTS{..., content (WITH COMPONENTS{authorizationResponse PRESENT})})}
|
|
CertificateRevocationListMessage ::= EtsiTs103097Data-Signed{EtsiTs102941Data (WITH COMPONENTS{..., content (WITH COMPONENTS{certificateRevocationList PRESENT})})}
|
|
TlmCertificateTrustListMessage ::= EtsiTs103097Data-Signed{EtsiTs102941Data (WITH COMPONENTS{..., content (WITH COMPONENTS{certificateTrustListTlm PRESENT})})}
|
|
RcaCertificateTrustListMessage ::= EtsiTs103097Data-Signed{EtsiTs102941Data (WITH COMPONENTS{..., content (WITH COMPONENTS{certificateTrustListRca PRESENT})})}
|
|
TlmLinkCertificateMessage ::= EtsiTs103097Data-Signed {EtsiTs102941Data (WITH COMPONENTS{..., content (WITH COMPONENTS{linkCertificateTlm PRESENT})})}
|
|
ButterflyAuthorizationRequestMessage ::= EtsiTs103097Data-SignedAndEncrypted-Unicast {EtsiTs102941Data (WITH COMPONENTS{..., content (WITH COMPONENTS{butterflyAuthorizationRequest PRESENT})})}
|
|
X509SignedButterflyAuthorizationRequestMessage ::= EtsiTs103097Data-Encrypted-Unicast {EtsiTs102941Data (WITH COMPONENTS{..., content (WITH COMPONENTS{x509SignedbutterflyAuthorizationRequest PRESENT})})}
|
|
ButterflyAuthorizationResponseMessage ::= EtsiTs103097Data-Signed {EtsiTs102941Data (WITH COMPONENTS{..., content (WITH COMPONENTS{butterflyAuthorizationResponse PRESENT})})}
|
|
ButterflyAtDownloadRequestMessage ::= EtsiTs103097Data-SignedAndEncrypted-Unicast {EtsiTs102941Data (WITH COMPONENTS{..., content (WITH COMPONENTS{butterflyAtDownloadRequest PRESENT})})}
|
|
|
|
/************
|
|
-- EtsiTs102941Data
|
|
************/
|
|
|
|
EtsiTs102941Data::= SEQUENCE {
|
|
version Version (v1),
|
|
content EtsiTs102941DataContent
|
|
}
|
|
|
|
EtsiTs102941DataContent ::= CHOICE {
|
|
enrolmentRequest InnerEcRequestSignedForPop,
|
|
enrolmentResponse InnerEcResponse,
|
|
authorizationRequest InnerAtRequest,
|
|
authorizationResponse InnerAtResponse,
|
|
certificateRevocationList ToBeSignedCrl,
|
|
certificateTrustListTlm ToBeSignedTlmCtl,
|
|
certificateTrustListRca ToBeSignedRcaCtl,
|
|
authorizationValidationRequest NULL,
|
|
authorizationValidationResponse NULL,
|
|
caCertificateRequest NULL,
|
|
...,
|
|
linkCertificateTlm ToBeSignedLinkCertificateTlm,
|
|
singleSignedLinkCertificateRca NULL,
|
|
doubleSignedlinkCertificateRca NULL,
|
|
/* Extension for butterfly key provisioning */
|
|
[[butterflyAuthorizationRequest EeRaCertRequest,
|
|
x509SignedbutterflyAuthorizationRequest EtsiTs102941ButterflyAuthorizationRequest-X509Signed,
|
|
butterflyAuthorizationResponse RaEeCertInfo,
|
|
butterflyCertificateRequest NULL,
|
|
butterflyCertificateResponse NULL,
|
|
butterflyAtDownloadRequest EeRaDownloadRequest]]
|
|
}
|
|
|
|
END
|