ItsSecurity_Pics.ttcn 1.97 KB
Newer Older
 *  @author   ETSI / STF481 / STF507 / STF517 / STF538
garciay's avatar
garciay committed
 *  @version  $URL$
 *            $Id$
 *  @desc     Module containing Pics for Security ATS
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.
module ItsSecurity_Pics {
    // 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;
    
    /**
     * For each IUT certificate used by security ATS, this table contains the fields of interest used by the tests
     */
    /**
     * @desc This record contains, for each IUT certificates, the filed of interests used by the tests
     */
    type record certificates_foi {
        charstring certificate_id,
        HashAlgorithm hashAlgorithm,
        HashedId8 issuer,
        HashedId8 hashedId8
    } // End of type certificates_foi
    type enumerated SignAlgorithm {
        e_nistp_256,
        e_nistp_384,
        e_brainpool_256,
        e_brainpool_384
    }

    modulepar certificates_foi PICS_CERTFICATES_FOI[1] := {
        { cc_iutCert_A, sha256, '0000000000000000'O, '0000000000000000'O } // CERT_IUT_A_AT
    }
    modulepar integer PICS_CERTFICATES_VAR := 0;
    
    modulepar HashAlgorithm PICS_HASH_ALGORITHM := sha256;
    
    modulepar SignAlgorithm PICS_SIGN_ALGORITHM := e_nistp_256;
    
    /**
     * @desc Set to true to enable specific behavior to validate ITS Security ATS against itself
     */
    modulepar boolean PICS_DEBUG_ADDON := false;
    
    /**
     * @desc Set to true to enable restrictions of TS 103 097 v1.2.5
     */
    //modulepar boolean PICS_PLUGTEST_VERSION := false;
} // End of module ItsSecurity_Pics