LibItsPki_Pics.ttcn 5.29 KB
Newer Older
garciay's avatar
garciay committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
module LibItsPki_Pics {
  
  /**
   * @desc Does the IUT act as ITS-S device?
   */
  modulepar boolean PICS_IUT_ITS_S_ROLE := false;
  
  /**
   * @desc Does the IUT act as EA device?
   */
  modulepar boolean PICS_IUT_EA_ROLE := true;
  
  /**
   * @desc Does the IUT act as AA device?
   */
Yann Garcia's avatar
Yann Garcia committed
16
  modulepar boolean PICS_IUT_AA_ROLE := true;
garciay's avatar
garciay committed
17
  
18
19
20
21
22
23
24
25
26
27
28
29
30
  /**
   * @desc Does the IUT support enrolment?
   */
  modulepar boolean PICS_SECPKI_ENROLMENT := true;
  
  /**
   * @desc Does the IUT support autorization?
   */
  modulepar boolean PICS_SECPKI_AUTHORIZATION := true;
  
  /**
   * @desc Is a re-enrolment request?
   */
Yann Garcia's avatar
Yann Garcia committed
31
  modulepar boolean PICS_SECPKI_REENROLMENT := false;
32
33
34
35
36

  /**
   * @desc ?
   */
  modulepar boolean PICS_SECPKI_CRL := false;
vagrant's avatar
vagrant committed
37
  
garciay's avatar
garciay committed
38
  /**
garciay's avatar
garciay committed
39
   * @desc Certificate used by the IUT acting as ITS-S
garciay's avatar
garciay committed
40
41
42
   */
  modulepar charstring PICS_IUT_CERTIFICATE_ID := "CERT_IUT_A_EA";

garciay's avatar
garciay committed
43
44
45
46
47
48
49
50
51
52
  /**
   * @desc Certificate used by the IUT acting as EA
   */
  modulepar charstring PICS_IUT_EA_CERTIFICATE_ID := "CERT_IUT_A__EA_EA";

  /**
   * @desc Certificate used by the IUT acting as AA
   */
  modulepar charstring PICS_IUT_AA_CERTIFICATE_ID := "CERT_IUT_A_AA_EA";

garciay's avatar
garciay committed
53
  /**
Yann Garcia's avatar
Yann Garcia committed
54
   * @desc Certificate used by the Test System acting as ITS-S
garciay's avatar
garciay committed
55
56
57
   */
  modulepar charstring PICS_TS_CERTIFICATE_ID := "CERT_TS_A_EA";
  
Yann Garcia's avatar
Yann Garcia committed
58
59
60
  /**
   * @desc Certificate used by the Test System acting as EA
   */
61
  modulepar charstring PICS_TS_EA_CERTIFICATE_ID := "CERT_EA";
Yann Garcia's avatar
Yann Garcia committed
62
63
64
65
  
  /**
   * @desc Certificate used by the Test System acting as AA
   */
66
  modulepar charstring PICS_TS_AA_CERTIFICATE_ID := "CERT_AA";
Yann Garcia's avatar
Yann Garcia committed
67
  
Yann Garcia's avatar
Yann Garcia committed
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
  /**
   * @desc Set to true if different end points are used for EC and AT
   */
  modulepar boolean PICS_MULTIPLE_END_POINT := false;

  /**
   * @desc End point for the enrolment
   */
  modulepar charstring PICS_HEADER_HOST_EC := "www.its.ec.org";
  
  /**
   * @desc End point for the authorization validation
   */
  modulepar charstring PICS_HEADER_HOST_ATV := "www.its.atv.org";
  
  /**
   * @desc End point for the authorization
   */
  modulepar charstring PICS_HEADER_HOST_AT := "www.its.at.org";
  
88
89
90
  /**
   * @desc Certificate used by the Test System
   */
91
92
93
94
95
96
97
  modulepar charstring PICS_HTTP_POST_URI := "/its/inner_ec_request";
  
  /**
   * @desc ITS-S with privacy
   */
  modulepar boolean PICS_ITS_S_WITH_PRIVACY := true;
  
Yann Garcia's avatar
Yann Garcia committed
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
  /**
   * @desc HTTP POST URI for InnerECRequest
   */
  modulepar charstring PICS_HTTP_POST_URI_EC := "/enrolment";
  
  /**
   * @desc HTTP POST URI for InnerATRequest
   */
  modulepar charstring PICS_HTTP_POST_URI_AT := "/authorize";
  
  /**
   * @desc HTTP POST URI for authorization validation
   */
  modulepar charstring PICS_HTTP_POST_URI_ATV := "/authorize_validate";
  
garciay's avatar
garciay committed
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
  /**
   * @desc Factory private key for verification Nist P256
   */
  modulepar octetstring PICS_ITS_S_SIGN_NITSP256_PRIVATE_KEY := '5C25F97607DFC62972A147FAD8B7A7C939569F0F95ECD4C641724A68B51836E5'O;
  
  /**
   * @desc Factory compressed public key for verification Nist P256
   */
  modulepar octetstring PICS_ITS_S_SIGN_NISTP256_PUBLIC_KEY := '020144E5174B0AFDA86BDB8B643B68D40030F5BDB9A9F090C64852CC3C20C9D5AD'O;
  
  /**
   * @desc Factory private key for encryption Nist P256
   */
  modulepar octetstring PICS_ITS_S_ENC_NITSP256_PRIVATE_KEY := 'EDEBEADCAA9514CD4B30256126FB7DF958B911C6EB58CCF702983C3DCD3DECBD'O;
  
  /**
   * @desc Factory compressed public key for encryption Nist P256
   */
  modulepar octetstring PICS_ITS_S_ENC_NISTP256_PUBLIC_KEY := '023A4ADDCDD5EE66DAB2116B0C3AB47CCEDAE92CD9ACE98A84B10EB63A9DCA798C'O;
  
  /**
   * @desc Factory private key for encryption Brainpool P256 r1
   */
  modulepar octetstring PICS_ITS_S_ENC_BRAINPOOLP256r1_PRIVATE_KEY := '9F155D40B6C920BA45D8027093C8ADADAF3AA6F9F71F0CC0F8279FF0146A8A48'O;
  
  /**
   * @desc Factory compressed public key for encryption Brainpool P256 r1
   */
  modulepar octetstring PICS_ITS_S_ENC_BRAINPOOLP256r1_PUBLIC_KEY := '038602F468BD334EA4D2BA416295E204D58BD1F42C85FB9BE57237C74544F6A69A'O;
  
  /**
   * @desc Factory private key for verification Brainpool P256 r1
   */
  modulepar octetstring PICS_ITS_S_SIGN_BRAINPOOLP256r1_PRIVATE_KEY := '6D585B716D06F75EC2B8A8ADEBFCE6ED35B0640C2AFBFF25FE48FC81A6732D4F'O;
  
  /**
   * @desc Factory compressed public key for verification Brainpool P256 r1
   */
  modulepar octetstring PICS_ITS_S_SIGN_BRAINPOOLP256r1_PUBLIC_KEY := '02A92BA3B770B040B8D958D5BD2CC9B537212D6963F50EA3E4784FEFA5D0454C12'O;
  
  /**
   * @desc Factory private key for encryption Brainpool P384 r1
   */
  modulepar octetstring PICS_ITS_S_ENC_BRAINPOOLP384r1_PRIVATE_KEY := '6B4B4392511B252C904801466F5DA0A7F28E038E6656800CBB0CDCB3D32F862CA4D59CBDC1A19E98E9191582AF1DB3D7'O;
  
  /**
   * @desc Factory private key for verification Brainpool P384 r1
   */
  modulepar octetstring PICS_ITS_S_SIGN_BRAINPOOLP384r1_PRIVATE_KEY := '3CD977195A579787C84D5900F4CB6341E0C3D2750B140C5380E6F03CE3FBA0022F7541DEABDCED4790D313ED8F56ACA8'O;
  
  /**
   * @desc Factory compressed public key for verification Brainpool P384 r1
   */
  modulepar octetstring PICS_ITS_S_SIGN_BRAINPOOLP384r1_PUBLIC_KEY := '0243FF5C96984C2C3F5FD5C5F6551C90F5FAEE1E5E8301763E4AF1E9D627F3474E554B82EE98EC4B49808DFF61B35F8313'O;
  
168
169
170
  /**
   * @desc Canonical ITSS-S identifier
   */
171
  modulepar octetstring PICS_ITS_S_CANONICAL_ID := '1B4CA1210123AE900BBE6C3EBAE7E87DA20DBDAB1E7B2EC0691C51C1021900AA'O;
172
  
garciay's avatar
garciay committed
173
} // End of module LibItsPki_Pics