ItsSecurity_Pics.ttcn 1.97 KB
Newer Older
1
/**
garciay's avatar
garciay committed
2
 *  @author   ETSI / STF481 / STF507 / STF517 / STF538
garciay's avatar
garciay committed
3
 *  @version  $URL$
4
5
 *            $Id$
 *  @desc     Module containing Pics for Security ATS
garciay's avatar
garciay committed
6
7
8
9
 *  @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.
10
11
 *
 */
filatov's avatar
filatov committed
12
module ItsSecurity_Pics {
13
    
garciay's avatar
garciay committed
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
    // 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;
    
50
51
52
53
54
    /**
     * @desc Set to true to enable specific behavior to validate ITS Security ATS against itself
     */
    modulepar boolean PICS_DEBUG_ADDON := false;
    
55
56
57
    /**
     * @desc Set to true to enable restrictions of TS 103 097 v1.2.5
     */
garciay's avatar
garciay committed
58
    //modulepar boolean PICS_PLUGTEST_VERSION := false;
59
    
garciay's avatar
garciay committed
60
} // End of module ItsSecurity_Pics