Commit e463d7cf authored by garciay's avatar garciay
Browse files

Align source code with Draft ETSI TS 103 097 V1.1.13

parent 9b8f9548
Loading
Loading
Loading
Loading
+5 −7
Changes for ttcn/Security/LibItsSecurity_Functions.ttcn3: 5 added lines, 7 removed lines.
Original line number Diff line number Diff line
@@ -97,7 +97,7 @@ module LibItsSecurity_Functions {
        * @desc    Calculate digest over the certificate
        * @param   p_cert The certificate
        * @return  the digest
        * @see Draft ETSI TS 103 097 V1.1.9 Clause 4.2.13   HashedId8
        * @see Draft ETSI TS 103 097 V1.1.13 Clause 4.2.13   HashedId8
        */
        function f_calculateDigestFromCertificate(
                                                  in Certificate p_cert
@@ -148,8 +148,7 @@ module LibItsSecurity_Functions {
                            m_header_field_generation_time(oct2int('BBBBBBBB'O)),   // To be replaced by TA with generation time
                            m_header_field_generation_location(
                                vc_location
                            ),
                            m_header_field_verification_advice_recommended
                            )
                        }, // End of field HeaderFields
                        m_payload_signed(
                            'AAAAAAAAAA'O                                           // To be replaced by TA with real payload
@@ -167,8 +166,7 @@ module LibItsSecurity_Functions {
                            m_header_field_generation_time(oct2int('BBBBBBBB'O)),   // To be replaced by TA with generation time
                            m_header_field_generation_location(
                                vc_location
                            ),
                            m_header_field_verification_advice_recommended
                            )
                        }, // End of field HeaderFields
                        m_payload_signed(
                            'AAAAAAAAAA'O                                           // To be replaced by TA with real payload
@@ -308,7 +306,7 @@ module LibItsSecurity_Functions {
            * @param p_addMissingHeaders    Whether to add mandatory headers not present in p_headerFields
            * @return true on success, false otherwise
            * 
            * @see Draft ETSI TS 103 097 V1.1.9 Clause 7.1  Security profile for CAMs
            * @see Draft ETSI TS 103 097 V1.1.13 Clause 7.1  Security profile for CAMs
            */
            function f_buildGnSecuredCam(
                                         out template (value) SecuredMessage p_securedMessage,
@@ -742,7 +740,7 @@ module LibItsSecurity_Functions {
        group certificateGetters {
            
            /**
            * @desc Set the generation location as defined in Draft ETSI TS 103 097 V1.1.9 Clause 7.2 Security profile for DENMs
            * @desc Set the generation location as defined in Draft ETSI TS 103 097 V1.1.13 Clause 7.2 Security profile for DENMs
            * @param p_latitude    The latitude value of the ITS-S position
            * @param p_longitude   The longitude value of the ITS-S position
            * @param p_elevation   The elevation value of the ITS-S position
+111 −155

File changed.

Preview size limit exceeded, changes collapsed.

+1 −1
Changes for ttcn/Security/LibItsSecurity_TestSystem.ttcn3: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -28,7 +28,7 @@ module LibItsSecurity_TestSystem {
            var Oct32 vc_signingPrivateKey; 
            var Oct32 vc_encryptPrivateKey; 
            
            // Generation position. See Draft ETSI TS 103 097 V1.1.9 Clause 7.2    Security profiles for DENMs
            // Generation position. See Draft ETSI TS 103 097 V1.1.13 Clause 7.2    Security profiles for DENMs
            var ThreeDLocation vc_location; 
            
            // Test Adapter certificates & private keys
+58 −71

File changed.

Preview size limit exceeded, changes collapsed.