LibItsSecurity_Pixits.ttcn3 1.71 KB
Newer Older
garciay's avatar
garciay committed
/**
 *  @author   ETSI / STF481
 *  @version  $URL$
 *            $Id$
 *  @desc     Module containing Pixits for Security Protocol
 *
 */
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
     */
    modulepar IntX PX_OTHER_ITS_AID := 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