LibItsSecurity_Pixits.ttcn 2.15 KB
Newer Older
garciay's avatar
garciay committed
/**
 *  @author   ETSI / STF481 / STF507 / STF517 / STF538
 *  @version  $Url: https://oldforge.etsi.org/svn/LibIts/tags/20170222_STF527_Final/ttcn/Security/LibItsSecurity_Pixits.ttcn3 $
 *            $Id: LibItsSecurity_Pixits.ttcn3 1318 2017-01-26 10:20:53Z filatov $
 *  @desc     Module containing Pixits for Security Protocol
 *  @copyright   ETSI Copyright Notification
 *               No part may be reproduced except as authorized by written permission.
 *               The copyright and the foregoing restriction extend to reproduction in all media.
 *               All rights reserved.
 *
 */
module LibItsSecurity_Pixits {
    
    // LibCommon
    import from LibCommon_BasicTypesAndValues all;
    import from LibCommon_DataStrings all;
    
    // LibIts
    import from IEEE1609dot2BaseTypes language "ASN.1:1997" all;
    import from IEEE1609dot2 language "ASN.1:1997" all;
    import from EtsiTs103097Module language "ASN.1:1997" all;
    
    /**
     * @desc Root path to access certificate stored in files, identified by certficate ID
     */
    modulepar charstring PX_CERTIFICATE_POOL_PATH := "data/v3/certificates";
    
    /**
     * @desc Configuration sub-directory to access certificate stored in files
     */
    modulepar charstring PX_IUT_SEC_CONFIG_NAME := "";
    
    /**
     * @desc The certficate the IUT should use. Default: CERT_IUT_A_AT
     * @remark If the IUT cannot use the test certificates, set this PIXIT to CERT_NONE
     */
    modulepar charstring PX_IUT_DEFAULT_CERTIFICATE := "CERT_IUT_A_AT";
    
    /**
     * @desc ITS-AID value for other profile. Default: 38
     */
    modulepar Psid PX_OTHER_ITS_AID := 141; // Assign to GN-MGMT, Other than CA, DEN, MAP, SPAT, IVI, SRE, SSE & GN-MGMT: 38
    
    /**
Yann Garcia's avatar
Yann Garcia committed
     * @desc Invalid protocol version. Default: 3
garciay's avatar
garciay committed
     */
Yann Garcia's avatar
Yann Garcia committed
    modulepar UInt8 PX_WRONG_PROTOCOL_VERSION := 3;
garciay's avatar
garciay committed
    
    /**
     * @desc Invalid WGS longitude
     */
    modulepar SecLongitude PX_WGSLONGITUDE := 0;
    
    /**
     * @desc Invalid WGS latitude. Default: 1
     */
    modulepar SecLatitude PX_WGSLATITUDE := 0;
    
} // End of module LibItsSecurity_Pixits