Commit 86ffbfe7 authored by Brigitte Lonc's avatar Brigitte Lonc
Browse files

Replace EtsiTs103759Core.asn

parent 2568d946
Loading
Loading
Loading
Loading
Loading
+196 −158
Original line number Diff line number Diff line
EtsiTs103759Core {itu-t(0) identified-organization(4) etsi(0) 
  itsDomain(5) wg5(5) ts(103759) general(1) core(1) major-version-1(1) 
  itsDomain(5) wg5(5) ts(103759) general(1) core(1) major-version-2(2) 
  minor-version-1(1)}

DEFINITIONS AUTOMATIC TAGS ::= BEGIN
@@ -7,6 +7,7 @@ DEFINITIONS AUTOMATIC TAGS ::= BEGIN
EXPORTS ALL;

IMPORTS
  EtsiTs103097Data-Signed,
  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) 
@@ -49,8 +50,39 @@ WITH SUCCESSORS
;

/**
 * This data type is the general PDU for a misbehaviour report from an 
 * ITS-S to the MA responsible for reports of that type.
 * This data type is the top level PDU for a misbehaviour report from an ITS
 * station to the Misbehaviour Authority (MA) responsible for reports of that
 * type.
 *
 * @param version: contains the version number of this PDU definition. 
 *
 * @param content: contains the security encapsulated misbehaviour report.
 */
EtsiTs103759Data ::= SEQUENCE {
  version Uint8(3),
  content EtsiTs103759MbrSec
}

/**
 * This data type is the security encapsulation for @ref EtsiTs103759Mbr. 
 *
 * @param plaintext: contains the report in the plaintext form, i.e., without
 * any security encapsulation.
 *
 * @param signed: contains the report in the signed form.
 *
 * @param sTE: contains the report in the signed-then-encrypted form.
 */
EtsiTs103759MbrSec ::= CHOICE {
  plaintext EtsiTs103759Mbr,
  signed    EtsiTs103759Mbr-Signed,
  sTE       EtsiTs103759Mbr-STE,
  ...
}

/**
 * This data type is the container for the generation time, observation
 * location and the AID-specific misbehaviour report. 
 *
 * AID-specific modules (EtsiTs103759AsrAppAgnostic, EtsiTs103759AsrCam, 
 * EtsiTs103759AsrDenm, SaeJ3287AsrBsm) have been imported using `WITH SUCCESSORS`
@@ -58,9 +90,6 @@ WITH SUCCESSORS
 * than `0` without requiring any change in the import statements. At least one of
 * these AID-specific modules shall have minor-version greater than `0`.
 *
 * @param version: contains the version number of this PDU definition. For this
 * version of this data type it shall be equal to `2`.
 *
 * @param generationTime: contains information on when this PDU was generated.
 *
 * @param observationLocation: is the location at which the last observation of
@@ -68,26 +97,35 @@ WITH SUCCESSORS
 *
 * @param report: contains the AID-specific misbehaviour report.
 */
EtsiTs103759Data ::= SEQUENCE {
  version              Uint8,
EtsiTs103759Mbr ::= SEQUENCE {
  generationTime       Time64, 
  observationLocation  ThreeDLocation, 
  report               AidSpecificReport 
}

/**
 * This structure is the SPDU used to send a signed and encrypted 
 * @ref EtsiTs103759Data to the MA.
 * This data type is used for the option signed of security encapsulation of
 * the report.
 *
 * For the signature to be valid the signing certificate shall conform to the
 * authorization ticket profile given in clause 7.2.1 of ETSI TS 103 097 v2.1.1,
 * where the appPermissions field in the authorization ticket allows signing of 
 * misbehaviour reports.
 */
EtsiTs103759Mbr-Signed ::= EtsiTs103097Data-Signed {EtsiTs103759Mbr}

/**
 * This data type is used for the option sTE (signed-then-encrypted) of security
 * encapsulation of the report. 
 *
 * For the signature to be valid the signing certificate shall conform to the
 * authorization ticket profile given in clause 7.2.1 of ETSI TS 103 097 v2.1.1,
 * where the appPermissions field in the authorization ticket allows signing of 
 * misbehaviour reports. The signed @ref EtsiTs103759Data shall be encrypted 
 * misbehaviour reports. The signed @ref EtsiTs103759Mbr shall be encrypted 
 * to the MA using the encryption key in the MA's certificate.
 */
EtsiTs103759Data-SignedAndEncrypted-Unicast ::= 
  EtsiTs103097Data-SignedAndEncrypted-Unicast {
  EtsiTs103759Data
EtsiTs103759Mbr-STE ::= EtsiTs103097Data-SignedAndEncrypted-Unicast {
  EtsiTs103759Mbr
}

/**