LibItsSecurity_Pixits.ttcn 2.07 KB
Newer Older
garciay's avatar
garciay committed
/**
garciay's avatar
garciay committed
 *  @author   ETSI / STF481 / STF507 / STF517
garciay's avatar
garciay committed
 *  @version  $URL$
 *            $Id$
 *  @desc     Module containing Pixits for Security Protocol
garciay's avatar
garciay committed
 *  @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.
garciay's avatar
garciay committed
 *
 */
module LibItsSecurity_Pixits {
    // LibCommon
    import from LibCommon_BasicTypesAndValues all;
garciay's avatar
garciay committed
    import from LibCommon_DataStrings all;
    
    // LibItsSecurity
    import from LibItsSecurity_TypesAndValues all;
    
     * @desc Root path to access certificate stored in files, identified by certficate ID
    modulepar charstring PX_CERTIFICATE_POOL_PATH := "data/certificates";
    
    /**
garciay's avatar
garciay committed
     * @desc Configuration sub-directory to access certificate stored in files
garciay's avatar
garciay committed
    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
     */
garciay's avatar
garciay committed
    modulepar IntX PX_OTHER_ITS_AID := 141; // Assign to GN-MGMT, Other than CA, DEN, MAP, SPAT, IVI, SRE, SSE & GN-MGMT: 38
    
    /**
     * @desc Invalid protocol version. Default: 1
     */
    modulepar UInt8 PX_WRONG_PROTOCOL_VERSION := 1;
garciay's avatar
garciay committed
    /**
garciay's avatar
garciay committed
     * @desc Invalid WGS longitude
garciay's avatar
garciay committed
     */
    modulepar WGSLongitude PX_WGSLONGITUDE := 0;
    
    /**
garciay's avatar
garciay committed
     * @desc Invalid WGS latitude. Default: 1
garciay's avatar
garciay committed
     */
    modulepar WGSLatitude PX_WGSLATITUDE := 0;
    
    /**
garciay's avatar
garciay committed
     * @desc Invalid digest. Default: 1
garciay's avatar
garciay committed
     */
    modulepar HashedId8 PX_OTHER_CERT_DIGEST := '0000000000000000'O;
    
garciay's avatar
garciay committed
    /**
     * @desc AES-128-CCM nonce public key
     */
    modulepar Oct12 PX_ENCRYPTIONPARAMETERS_AES_128_CCM_NONCE := 'C0FFEEDECAC0FFEEDECA0000'O;
    
garciay's avatar
garciay committed
} // End of module LibItsSecurity_Pixits