LibItsSecurity_TestSystem.ttcn 2.26 KB
Newer Older
Yann Garcia's avatar
Yann Garcia committed
/**
 *  @author   ETSI / STF481 / STF507 / STF517 / STF538
 *  @version  $Url: https://oldforge.etsi.org/svn/LibIts/tags/20170222_STF527_Final/ttcn/Security/LibItsSecurity_TestSystem.ttcn3 $
 *            $Id: LibItsSecurity_TestSystem.ttcn3 1318 2017-01-26 10:20:53Z filatov $
 *  @desc     Test System module 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_TestSystem {
    
    // LibCommon
    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;
    
    // LibItsSecurity
    import from LibItsSecurity_TypesAndValues all;
    import from LibItsSecurity_Pixits all;
    
    group componentDefinitions {
        
        /**
         * @desc ITS Security Component 
         */
        type component ItsSecurityBaseComponent {
            
            // Certificates
            var Certificate vc_aaCertificate;                                   /** Test Adapter AA certificate */
            var Certificate vc_atCertificate;                                   /** Test Adapter AT certificate */
            var Certificate vc_lastAtCertificateUsed;                           /** Last Test Adapter certificate used in 'f_buildGnSecuredXXX' functions */
            var charstring  vc_hashedId8ToBeUsed := PX_IUT_DEFAULT_CERTIFICATE; /** Digest value of the AT certificate to be used by the IUT. Default: CERT_IUT_A_AT */
            
            // Private keys
            var octetstring vc_signingPrivateKey; 
            var octetstring vc_encryptPrivateKey; 
            
            // Generation position. See Draft ETSI TS 103 097 V1.1.14 Clause 7.2    Security profiles for DENMs
            var ThreeDLocation vc_location; 
            
        } // End of ItsSecurityBaseComponent
        
    } // End of group componentDefinitions
    
} // End of module LibItsSecurity_TestSystem