Commit 13ab8b8c authored by Yann Garcia's avatar Yann Garcia
Browse files

Add new certificate profiles

parent f56c56c7
Loading
Loading
Loading
Loading
+40 −0
Original line number Original line Diff line number Diff line
<!-- General authorization ticket certificate without any region restriction -->
<certificate>
	<version>3</version>
	<signer type="digest" name="CERT_IUT_A_AA"/>
	<subject type="AT" name="">
		<!-- verification_key -->
		<attribute type="verification_key">
			<public_key algorithm="0">
				<ecc_point type="compressed"/>
			</public_key>
		</attribute>
		<!-- encryption_key -->
		<attribute type="encryption_key">
			<public_key sym_alg="0" algorithm="0">
				<ecc_point type="compressed"/>
			</public_key>
		</attribute>
		<!-- assurance_level -->
		<attribute type="assurance_level">
			<assurance level="3"/>
		</attribute>
		<!-- its_aid_ssp_list -->
		<attribute type="its_aid_ssp_list">
			<ssp aid="CAM">01 FF FC</ssp>  <!-- CAM -->
			<ssp aid="DENM">01 FF FF FF</ssp>  <!-- DENM -->
			<ssp aid="GN-MGMT"></ssp> <!--ssp aid="GN-MGMT">00</ssp-->  <!-- GN-MGMT -->
		</attribute>
	</subject>
	<validity>
		<restriction type="time" start="+0d" end="+365d"/>
		<restriction type="region">
			<id dictionary="unstat" id="076" local="0"/> <!-- BRA -->
			<id dictionary="unstat" id="170" local="0"/> <!-- COL -->
			<id dictionary="unstat" id="862" local="0"/> <!-- VEN -->
			<id dictionary="unstat" id="858" local="0"/> <!-- URY -->
			<id dictionary="unstat" id="600" local="0"/> <!-- PRY -->
		</restriction>
	</validity>
	<signature algorithm="0"/>
</certificate>
+35 −0
Original line number Original line Diff line number Diff line
<!-- General authorization ticket certificate without any region restriction -->
<certificate>
	<version>3</version>
	<signer type="digest" name="CERT_IUT_A_AA"/>
	<subject type="AT" name="">
		<!-- verification_key -->
		<attribute type="verification_key">
			<public_key algorithm="0">
				<ecc_point type="compressed"/>
			</public_key>
		</attribute>
		<!-- encryption_key -->
		<attribute type="encryption_key">
			<public_key sym_alg="0" algorithm="0">
				<ecc_point type="compressed"/>
			</public_key>
		</attribute>
		<!-- assurance_level -->
		<attribute type="assurance_level">
			<assurance level="3"/>
		</attribute>
		<!-- its_aid_ssp_list -->
		<attribute type="its_aid_ssp_list">
			<ssp aid="DENM">01 FF FF FF</ssp>  <!-- DENM -->
			<ssp aid="GN-MGMT"></ssp> <!--ssp aid="GN-MGMT">00</ssp-->  <!-- GN-MGMT -->
		</attribute>
	</subject>
	<validity>
		<restriction type="time" start="+0d" end="+365d"/>
		<restriction type="region">
			<none/>
		</restriction>
	</validity>
	<signature algorithm="0"/>
</certificate>
+36 −0
Original line number Original line Diff line number Diff line
<!-- General authorization ticket certificate without any region restriction -->
<certificate>
	<version>3</version>
	<signer type="digest" name="CERT_IUT_A_AA"/>
	<subject type="AT" name="">
		<!-- verification_key -->
		<attribute type="verification_key">
			<public_key algorithm="0">
				<ecc_point type="compressed"/>
			</public_key>
		</attribute>
		<!-- encryption_key -->
		<attribute type="encryption_key">
			<public_key sym_alg="0" algorithm="0">
				<ecc_point type="compressed"/>
			</public_key>
		</attribute>
		<!-- assurance_level -->
		<attribute type="assurance_level">
			<assurance level="3"/>
		</attribute>
		<!-- its_aid_ssp_list -->
		<attribute type="its_aid_ssp_list">
			<ssp aid="CAM">01 FD FC</ssp>  <!-- CAM, no emergency container -->
			<ssp aid="DENM">01 FF FF FF</ssp>  <!-- DENM -->
			<ssp aid="GN-MGMT"></ssp> <!--ssp aid="GN-MGMT">00</ssp-->  <!-- GN-MGMT -->
		</attribute>
	</subject>
	<validity>
		<restriction type="time" start="+0d" end="+365d"/>
		<restriction type="region">
			<none/>
		</restriction>
	</validity>
	<signature algorithm="0"/>
</certificate>
+36 −0
Original line number Original line Diff line number Diff line
<!-- General authorization ticket certificate without any region restriction -->
<certificate>
	<version>3</version>
	<signer type="digest" name="CERT_IUT_A_AA"/>
	<subject type="AT" name="">
		<!-- verification_key -->
		<attribute type="verification_key">
			<public_key algorithm="0">
				<ecc_point type="compressed"/>
			</public_key>
		</attribute>
		<!-- encryption_key -->
		<attribute type="encryption_key">
			<public_key sym_alg="0" algorithm="0">
				<ecc_point type="compressed"/>
			</public_key>
		</attribute>
		<!-- assurance_level -->
		<attribute type="assurance_level">
			<assurance level="3"/>
		</attribute>
		<!-- its_aid_ssp_list -->
		<attribute type="its_aid_ssp_list">
			<ssp aid="CAM">01 FF FC</ssp>  <!-- CAM -->
			<ssp aid="DENM">01 FF FF FF</ssp>  <!-- DENM -->
			<ssp aid="GN-MGMT"></ssp> <!--ssp aid="GN-MGMT">00</ssp-->  <!-- GN-MGMT -->
		</attribute>
	</subject>
	<validity>
		<restriction type="time" start="-365d" end="+0d"/>
		<restriction type="region">
			<none/>
		</restriction>
	</validity>
	<signature algorithm="0"/>
</certificate>
+36 −5
Original line number Original line Diff line number Diff line
@@ -34,6 +34,7 @@ LibItsSecurity_Pixits.PX_IUT_SEC_CONFIG_NAME := "certificates"
#LibItsSecurity_Pics.PICS_SEC_SHA384 := true
#LibItsSecurity_Pics.PICS_SEC_SHA384 := true


LibItsMbr_Pics.PICS_IUT_MA_CERTIFICATE_ID        := "CERT_IUT_A_MA"
LibItsMbr_Pics.PICS_IUT_MA_CERTIFICATE_ID        := "CERT_IUT_A_MA"
LibItsMbr_Pics.PICS_IUT_MA_CERTIFICATE_ID_NO_SSP := "CERT_IUT_A_MA_NO_SSP"


[LOGGING]
[LOGGING]
# In this section you can specify the name of the log file and the classes of events
# In this section you can specify the name of the log file and the classes of events
@@ -138,13 +139,43 @@ system.utMbrPort.params := "UT_MBR/UDP(dst_ip=192.168.1.43,dst_port=12345,src_po
[EXECUTE]
[EXECUTE]


# Check that the IUT generates an encrypted MBR message
# Check that the IUT generates an encrypted MBR message
#ItsMbr_TestCases.TC_MRS_ITSS_SEC_BV_001
#ItsMbr_TestCases.TC_MRS_ITSS_SEC_BV_01

# Check that the IUT discards an encrypted MBR message when recipientId does not contain MA certificate
#ItsMbr_TestCases.TC_MRS_MA_SEC_BO_01

# Check that the IUT discards an encrypted MBR message done with a certificate with no MBS SSPs
#ItsMbr_TestCases.TC_MRS_MA_SEC_BO_02

# Check that the IUT generates a security HeaderInfo with missing fields observation on a CAM MR Message when requested (Class 1) - obs-Security-MessageIdIncWithHeaderInfo
#ItsMbr_TestCases.TC_MRS_ITSS_SEC_MESSAGES_CLASS1_CAM_BV_01

# Check that the IUT generates a inconsistent security profile observation (psid set to DENM) on a CAM MR Message when requested (Class 1) - obs-Security-HeaderIncWithSecurityProfile
#ItsMbr_TestCases.TC_MRS_ITSS_SEC_MESSAGES_CLASS1_CAM_BV_02

# Check that the IUT generates an inconsistent PSID observation (invalid PSID value) on a CAM MR Message when requested (Class 1) - obs-Security_HeaderPsidIncWithCertificate
#ItsMbr_TestCases.TC_MRS_ITSS_SEC_MESSAGES_CLASS1_CAM_BV_03

# Check that the IUT generates an invalid AppPermissions observation on a CAM MR Message when requested (Class 1) - obs-Security-MessageIncWithSsp
#ItsMbr_TestCases.TC_MRS_ITSS_SEC_MESSAGES_CLASS1_CAM_BV_04

# Check that the IUT generates an inconsistent certificate time observation on a CAM MR Message when requested (Class 1) - obs-Security-HeaderTimeOutsideCertificateValidity
#ItsMbr_TestCases.TC_MRS_ITSS_SEC_MESSAGES_CLASS1_CAM_BV_05

# Check that the IUT generates an inconsistent certificate location outside observation on a CAM MR Message when requested (Class 1) - obs-Security-MessageLocationOutsideCertificateValidity
#ItsMbr_TestCases.TC_MRS_ITSS_SEC_MESSAGES_CLASS1_CAM_BV_06


# Check that the IUT provides the certificate of the reported ITS-S when the invalid secured geonetworking packet does not contain the AT certificate
# Check that the IUT provides the certificate of the reported ITS-S when the invalid secured geonetworking packet does not contain the AT certificate
ItsMbr_TestCases.TC_MRS_ITSS_MESSAGES_001
ItsMbr_TestCases.TC_MRS_ITSS_MESSAGES_BV_01

# Check that the IUT generates an invalid speed value observation on a CAM in the MR message when requested (Class 1) - obs-Speed-ValueTooLarge-VehicleType (e.g. A cycle with a speed of 100km/h) 
#ItsMbr_TestCases.TC_MRS_ITSS_MESSAGES_CLASS1_CAM_BV_01

# Check that the IUT generates an invalid speed value in reverse driving observation on a CAM in the MR message when requested (Class 1) - obs-Speed-ValueTooLarge-DriveDirectionReverse
#ItsMbr_TestCases.TC_MRS_ITSS_MESSAGES_CLASS1_CAM_BV_02


# Check that the IUT generates an invalid speed value observation on a CAM in the MR message when requested (Class 1) - obs-Speed-ValueTooLarge-VehicleType
# Check that the IUT generates an invalid acceleration value observation on a CAM in the MR message when requested (Class 1) - obs-LongAcc-ValueTooLarge
#ItsMbr_TestCases.TC_MRS_ITSS_MESSAGES_CLASS1_CAM_001
#ItsMbr_TestCases.TC_MRS_ITSS_MESSAGES_CLASS1_CAM_BV_03


[MAIN_CONTROLLER]
[MAIN_CONTROLLER]
# The options herein control the behavior of MC.
# The options herein control the behavior of MC.
Loading