Commit 0c85548b authored by tepelmann's avatar tepelmann
Browse files

Taken from STF484 branch.

parent e2ed8c72
Loading
Loading
Loading
Loading
+1 −1
Changes for ttcn/GeoNetworking/LibItsGeoNetworking_Functions.ttcn: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -1750,7 +1750,7 @@ module LibItsGeoNetworking_Functions {
            // Local variables
            
            // Load certificates
            if( not f_loadCertificates(PX_CONFIG_DIRECTORY_FOR_SECURITY) ) {
            if( not f_loadCertificates(PX_IUT_SEC_CONFIG_NAME) ) {
                return e_error;
            }
            
+336 −11

File changed.

Preview size limit exceeded, changes collapsed.

+2 −2
Changes for ttcn/Security/LibItsSecurity_Pics.ttcn3: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
/**
 *  @author   ETSI / STF481
 *  @version  $URL: https://forge.etsi.org/svn/LibIts/branches/STF484_VALIDATION/ttcn/Security/LibItsSecurity_Pics.ttcn3 $
 *            $Id: LibItsSecurity_Pics.ttcn3 1110 2015-02-13 08:41:30Z garciay $
 *            $Id: LibItsSecurity_Pics.ttcn3 1195 2015-05-01 21:22:45Z filatov $
 *  @desc     Module containing Pics for Security Protocol
 *
 */
@@ -10,7 +10,7 @@ module LibItsSecurity_Pics {
    /**
     * Is the IUT support certificates pushing
     */
    modulepar boolean PICS_IUT_CERTIFICATES_PUSHING := true;
    modulepar boolean PICS_CERTIFICATE_SELECTION := true;
    
    /**
     * Is the IUT support circular region geographical restriction
+9 −1
Changes for ttcn/Security/LibItsSecurity_Pixits.ttcn3: 9 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -7,13 +7,16 @@
 */
module LibItsSecurity_Pixits {
    
    // LibCommon
    import from LibCommon_BasicTypesAndValues all;
    
    // LibItsSecurity
    import from LibItsSecurity_TypesAndValues all;
    
    /**
     * @desc Root path to access certificate stored in files, identified by certficate ID
     */
    modulepar charstring PX_ROOT_PATH_FOR_SECURITY := "data/certificates";
    modulepar charstring PX_CERTIFICATE_POOL_PATH := "data/certificates";
    
    /**
     * @descConfiguration sub-directory to access certificate stored in files
@@ -31,4 +34,9 @@ module LibItsSecurity_Pixits {
     */
    modulepar IntX PX_OTHER_ITS_AID := 38; 
    
    /**
     * @desc Invalid protocol version. Default: 1
     */
    modulepar UInt8 PX_WRONG_PROTOCOL_VERSION := 1;
    
} // End of module LibItsSecurity_Pixits
 No newline at end of file
+11
Changes for ttcn/Security/LibItsSecurity_Templates.ttcn3: 11 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -2477,6 +2477,17 @@ module LibItsSecurity_Templates {
            trailerFieldType        := p_trailer_field_type
        } // End of template m_toBeSignedSecuredMessage
        
        // FIXME Replace c_protocol_version by a PIXIT
        template (value) ToBeSignedSecuredMessage m_toBeSignedSecuredMessage_wrong_protocol(
            in template (value) HeaderFields p_header_fields,
            in template (value) SecPayload p_payload_field,
            in template (value) TrailerFieldType p_trailer_field_type,
            in template (value) UInt8 p_protocol_version := c_protocol_version,
            in template (value) UInt8 p_trailer_fieldsLength := 67
        ) modifies m_toBeSignedSecuredMessage := {
            protocol_version        := p_protocol_version
        } // End of template m_toBeSignedSecuredMessage
        
        /**
         * @desc The certificate paylaod to be signed
         * @member p_certificate    The signed certificate to be verified