blob: 0746c483ed7327be042e4f7b6761ed79ffa48bf6 [file] [log] [blame]
Philipp Maier08902cf2024-03-04 10:32:55 +01001/* SGP22 Templates in TTCN-3
2 *
3 * Author: Philipp Maier <pmaier@sysmocom.de> / sysmocom - s.f.m.c. GmbH
4 *
5 * Released under the terms of GNU General Public License, Version 2 or
6 * (at your option) any later version.
7 *
8 * SPDX-License-Identifier: GPL-2.0-or-later
9 */
10
11module RSPDefinitions_Templates {
12
13import from PEDefinitions all;
14import from RSPDefinitions all;
15import from RSPDefinitions_Types all;
16
17import from PKIX1Explicit88 all;
18import from PKIX1Explicit88_Templates all;
19import from PKIX1Explicit88_Types all;
20
21import from PKIX1Implicit88 all;
22
23/* GSMA SGP.22, section 2.5.4 */
24template (present) BoundProfilePackage
25tr_boundProfilePackage := {
26 initialiseSecureChannelRequest := {
27 remoteOpId := ?,
28 transactionId := ?,
29 controlRefTemplate := {
30 keyType := ?,
31 keyLen := ?,
32 hostId := ?
33 },
34 smdpOtpk := ?,
35 smdpSign := ?
36 },
37 /* ES8+.ConfigureISDP */
38 firstSequenceOf87 := ?,
39 /* ES8+.StoreMetadata */
40 sequenceOf88 := ?,
41 /* ES8+.ReplaceSessionKeys (optional) */
42 secondSequenceOf87 := *,
43 /* ES8+.LoadProfileElements */
44 sequenceOf86 := ?
45}
46template (value) BoundProfilePackage
47ts_boundProfilePackage := {
48 initialiseSecureChannelRequest := {
49 remoteOpId := 1,
50 transactionId := 'AABBCC'O,
51 controlRefTemplate := {
52 keyType := '88'O, /* AES */
53 keyLen := '10'O, /* 16 byte key-length */
54 hostId := '01020304050607080910111213141516'O
55 },
56 smdpOtpk := '1122334455667788'O,
57 smdpSign := 'AABBCCDDEEFF0000'O
58 },
59 /* ES8+.ConfigureISDP */
60 firstSequenceOf87 := {'41414141414141414141414141414141414141414141414141414141414141'O,
61 '42424242424242424242424242424242424242424242424242424242424242'O,
62 '43434343434343434343434343434343434343434343434343434343434343'O},
63 /* ES8+.StoreMetadata */
64 sequenceOf88 := {'444444444444444444444444444444444444444444'O,
65 '454545454545454545454545454545454545454545'O,
66 '464646464646464646464646464646464646464646'O},
67 /* ES8+.ReplaceSessionKeys (optional) */
68 secondSequenceOf87 := omit,
69 /* ES8+.LoadProfileElements */
70 sequenceOf86 := {'474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747'O,
71 '484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848'O,
72 '494949494949494949494949494949494949494949494949494949494949494949494949494949494949494949494949494949494949494949494949'O,
73 '505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050'O,
74 '515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151'O}
75}
76
Philipp Maier746f43e2024-04-29 12:17:12 +020077template (present) ServerSigned1 tr_serverSigned1(template (present) octetstring transactionId := ?,
78 template (present) octetstring euiccChallenge := ?,
79 template (present) universal charstring serverAddress := ?,
80 template (present) octetstring serverChallenge := ?) := {
81 transactionId := transactionId,
82 euiccChallenge := euiccChallenge,
83 serverAddress := serverAddress,
84 serverChallenge := serverChallenge
85}
86template (value) ServerSigned1 ts_serverSigned1(template (value) octetstring transactionId := 'ABCDEF'O,
87 template (value) octetstring euiccChallenge := '00112233445566778899AABBCCDDEEFF'O,
88 template (value) universal charstring serverAddress := "smdp.example.com",
89 template (value) octetstring serverChallenge := '01020304050607080910111213141516'O) := {
90 transactionId := transactionId,
91 euiccChallenge := euiccChallenge,
92 serverAddress := serverAddress,
93 serverChallenge := serverChallenge
94}
95
Philipp Maierd7ccd012024-04-30 11:03:53 +020096template (present) CtxParams1 tr_ctxParams1 := {
97 ctxParamsForCommonAuthentication := {
98 matchingId := *,
99 deviceInfo := {
100 tac := ?,
101 deviceCapabilities := {
102 gsmSupportedRelease := *,
103 utranSupportedRelease := *,
104 cdma2000onexSupportedRelease := *,
105 cdma2000hrpdSupportedRelease := *,
106 cdma2000ehrpdSupportedRelease := *,
107 eutranEpcSupportedRelease := *,
108 contactlessSupportedRelease := *,
109 rspCrlSupportedVersion := *,
110 nrEpcSupportedRelease := *,
111 nr5gcSupportedRelease := *,
112 eutran5gcSupportedRelease := *,
113 lpaSvn := *,
114 catSupportedClasses := *,
115 euiccFormFactorType := *,
116 deviceAdditionalFeatureSupport := *
117 },
118 imei := *
119 }
120 }
121}
122template (value) CtxParams1 ts_ctxParams1 := {
123 ctxParamsForCommonAuthentication := {
124 matchingId := omit,
125 deviceInfo := {
126 tac := '12345678'O,
127 deviceCapabilities := {
128 gsmSupportedRelease := omit,
129 utranSupportedRelease := omit,
130 cdma2000onexSupportedRelease := omit,
131 cdma2000hrpdSupportedRelease := omit,
132 cdma2000ehrpdSupportedRelease := omit,
133 eutranEpcSupportedRelease := omit,
134 contactlessSupportedRelease := omit,
135 rspCrlSupportedVersion := omit,
136 nrEpcSupportedRelease := omit,
137 nr5gcSupportedRelease := omit,
138 eutran5gcSupportedRelease := omit,
139 lpaSvn := omit,
140 catSupportedClasses := omit,
141 euiccFormFactorType := omit,
142 deviceAdditionalFeatureSupport := omit
143 },
144 imei := omit
145 }
146 }
147}
148
Philipp Maier916b5fa2024-04-30 11:34:09 +0200149template (present) EuiccSigned1 tr_euiccSigned1(template (present) octetstring transactionId := ?,
150 template (present) universal charstring serverAddress := ?,
151 template (present) octetstring serverChallenge := ?,
152 template (present) EUICCInfo2 euiccInfo2 := ?,
153 template (present) CtxParams1 ctxParams1 := ?) := {
154 transactionId := transactionId,
155 serverAddress := serverAddress,
156 serverChallenge := serverChallenge,
157 euiccInfo2 := euiccInfo2,
158 ctxParams1 := ctxParams1
159}
160template (value) EuiccSigned1 ts_euiccSigned1(template (value) octetstring transactionId := 'ABCDEF'O,
161 template (value) universal charstring serverAddress := "smdp.example.com",
162 template (value) octetstring serverChallenge := '01020304050607080910111213141516'O,
163 template (value) EUICCInfo2 euiccInfo2 := ts_EUICCInfo2,
164 template (value) CtxParams1 ctxParams1 := ts_ctxParams1) := {
165 transactionId := transactionId,
166 serverAddress := serverAddress,
167 serverChallenge := serverChallenge,
168 euiccInfo2 := euiccInfo2,
169 ctxParams1 := ctxParams1
170}
171
Philipp Maier35834752024-04-30 11:06:33 +0200172template (present) StoreMetadataRequest tr_storeMetadataRequest := {
173 iccid := ?,
174 serviceProviderName := ?,
175 profileName := ?,
176 iconType := *,
177 icon := *,
178 profileClass := ?,
179 notificationConfigurationInfo := *,
180 profileOwner := *,
181 profilePolicyRules := *,
182 serviceSpecificDataStoredInEuicc := *,
183 serviceSpecificDataNotStoredInEuicc := *
184}
185template (value) StoreMetadataRequest ts_storeMetadataRequest := {
186 iccid := '123456789ABCDEFFAAAA'O,
187 serviceProviderName := "testsuite",
188 profileName := "testprofile",
189 iconType := omit,
190 icon := omit,
191 profileClass := 2, /* operational */
192 notificationConfigurationInfo := omit,
193 profileOwner := omit,
194 profilePolicyRules := omit,
195 serviceSpecificDataStoredInEuicc := omit,
196 serviceSpecificDataNotStoredInEuicc := omit
197}
198
199template (present) SmdpSigned2 tr_smdpSigned2(template (present) octetstring transactionId := ?,
200 template (present) boolean ccRequiredFlag := ?) := {
201 transactionId := transactionId,
202 ccRequiredFlag := ccRequiredFlag,
203 bppEuiccOtpk := ?
204}
205template (value) SmdpSigned2 ts_smdpSigned2(template (value) octetstring transactionId := 'ABCDEF'O,
206 template (value) boolean ccRequiredFlag := false) := {
207 transactionId := transactionId,
208 ccRequiredFlag := ccRequiredFlag,
209 bppEuiccOtpk := omit
210}
211
Philipp Maier08902cf2024-03-04 10:32:55 +0100212/* GSMA SGP.22, section 2.5.6 */
Philipp Maier49ae9f92024-05-14 17:37:35 +0200213template (present) ProfileInstallationResultData
214tr_profileInstallationResultData := {
215 transactionId := ?,
216 notificationMetadata := {
217 seqNumber := ?,
218 profileManagementOperation := ?,
219 notificationAddress := ?,
220 iccid := *
221 },
222 smdpOid := ?,
223 finalResult := ?
224}
225template (value) ProfileInstallationResultData
226ts_profileInstallationResultData := {
227 transactionId := 'AABBCC'O,
228 notificationMetadata := {
229 seqNumber := 1234,
230 profileManagementOperation := '01'B, /* is this correct? (notificationInstall) */
231 notificationAddress := "smdp.example.com",
Philipp Maierb8335d92024-05-23 16:00:13 +0200232 iccid := '123456789ABCDEFFAAAA'O
Philipp Maier49ae9f92024-05-14 17:37:35 +0200233 },
234 smdpOid := id_rsp, /* random OBJECT IDENTIFIER for testing */
235 finalResult := {
236 successResult := {
237 aid := '0102030405'O,
238 simaResponse := '4141414141414141414141414141414141414141414141414141'O
239 }
240 }
241}
Philipp Maier08902cf2024-03-04 10:32:55 +0100242template (present) ProfileInstallationResult
243tr_profileInstallationResult := {
Philipp Maier49ae9f92024-05-14 17:37:35 +0200244 profileInstallationResultData := tr_profileInstallationResultData,
Philipp Maier08902cf2024-03-04 10:32:55 +0100245 euiccSignPIR := ?
246}
247template (value) ProfileInstallationResult
248ts_profileInstallationResult := {
Philipp Maier49ae9f92024-05-14 17:37:35 +0200249 profileInstallationResultData := ts_profileInstallationResultData,
Philipp Maier08902cf2024-03-04 10:32:55 +0100250 euiccSignPIR := '00112233445566778899AABBCCDDEEFF'O
251}
252
Philipp Maier08902cf2024-03-04 10:32:55 +0100253/* GSMA SGP.22, section 5.6.1 (ES9+) */
254template (present) RemoteProfileProvisioningRequest
255tr_initiateAuthenticationRequest(template (present) octetstring euiccChallenge := ?,
256 template (present) charstring smdpAddress := ?,
257 template (present) EUICCInfo1 euiccInfo1 := ?) := {
258 initiateAuthenticationRequest := {
259 euiccChallenge := euiccChallenge,
260 smdpAddress := smdpAddress,
261 euiccInfo1 := euiccInfo1
262 }
263}
264template (value) RemoteProfileProvisioningRequest
Philipp Maierb1e2fe42024-04-29 12:20:30 +0200265ts_initiateAuthenticationRequest(template (value) octetstring euiccChallenge := '00112233445566778899aabbccddeeff'O,
266 template (value) charstring smdpAddress := "smdp.example.com",
267 template (value) EUICCInfo1 euiccInfo1 := ts_EUICCInfo1) := {
Philipp Maier08902cf2024-03-04 10:32:55 +0100268 initiateAuthenticationRequest := {
269 euiccChallenge := euiccChallenge,
270 smdpAddress := smdpAddress,
271 euiccInfo1 := euiccInfo1
272 }
273}
274template (present) RemoteProfileProvisioningResponse
275tr_initiateAuthenticationResponse(template (present) octetstring transactionId := ?,
276 template (present) ServerSigned1 serverSigned1 := ?,
277 template (present) octetstring serverSignature1 := ?,
278 template (present) SubjectKeyIdentifier euiccCiPKIdToBeUsed := ?,
279 template (present) Certificate serverCertificate := ?) := {
280 initiateAuthenticationResponse := {
281 initiateAuthenticationOk := {
282 transactionId := transactionId,
283 serverSigned1 := serverSigned1,
284 serverSignature1 := serverSignature1,
285 euiccCiPKIdToBeUsed := euiccCiPKIdToBeUsed,
286 serverCertificate := serverCertificate
287 }
288 }
289}
290template (value) RemoteProfileProvisioningResponse
Philipp Maierb1e2fe42024-04-29 12:20:30 +0200291ts_initiateAuthenticationResponse(template (value) octetstring transactionId := 'ABCDEF'O,
292 template (value) ServerSigned1 serverSigned1 := ts_serverSigned1,
293 template (value) octetstring serverSignature1 := '01020304'O,
294 template (value) SubjectKeyIdentifier euiccCiPKIdToBeUsed := 'F54172BDF98A95D65CBEB88A38A1C11D800A85C3'O, /* NIST */
295 template (value) Certificate serverCertificate := ts_cert_s_sm_dpauth_nist) := {
Philipp Maier08902cf2024-03-04 10:32:55 +0100296 initiateAuthenticationResponse := {
297 initiateAuthenticationOk := {
298 transactionId := transactionId,
299 serverSigned1 := serverSigned1,
300 serverSignature1 := serverSignature1,
301 euiccCiPKIdToBeUsed := euiccCiPKIdToBeUsed,
302 serverCertificate := serverCertificate
303 }
304 }
305}
306
307/* GSMA SGP.22, section 5.6.2 (ES9+) */
308template (present) RemoteProfileProvisioningRequest
309tr_getBoundProfilePackageRequest(template (present) octetstring transactionId := ?,
310 template (present) PrepareDownloadResponse prepareDownloadResponse := ?) := {
311 getBoundProfilePackageRequest := {
312 transactionId := transactionId,
313 prepareDownloadResponse := prepareDownloadResponse
314 }
315}
316template (value) RemoteProfileProvisioningRequest
Philipp Maier29c2a092024-05-13 12:29:04 +0200317ts_getBoundProfilePackageRequest(template (value) octetstring transactionId := 'AABBCC'O,
318 template (value) PrepareDownloadResponse prepareDownloadResponse := ts_prepareDownloadResponse) := {
Philipp Maier08902cf2024-03-04 10:32:55 +0100319 getBoundProfilePackageRequest := {
320 transactionId := transactionId,
321 prepareDownloadResponse := prepareDownloadResponse
322 }
323}
324template (present) RemoteProfileProvisioningResponse
325tr_getBoundProfilePackageResponse(template (present) octetstring transactionId := ?,
326 template (present) BoundProfilePackage boundProfilePackage := ?) := {
327 getBoundProfilePackageResponse := {
328 getBoundProfilePackageOk := {
329 transactionId := transactionId,
330 boundProfilePackage := boundProfilePackage
331 }
332 }
333}
334template (value) RemoteProfileProvisioningResponse
Philipp Maier29c2a092024-05-13 12:29:04 +0200335ts_getBoundProfilePackageResponse(template (value) octetstring transactionId := 'AABBCC'O,
336 template (value) BoundProfilePackage boundProfilePackage := ts_boundProfilePackage) := {
Philipp Maier08902cf2024-03-04 10:32:55 +0100337 getBoundProfilePackageResponse := {
338 getBoundProfilePackageOk := {
339 transactionId := transactionId,
340 boundProfilePackage := boundProfilePackage
341 }
342 }
343}
344
345/* GSMA SGP.22, section 5.6.3 (ES9+) */
346template (present) RemoteProfileProvisioningRequest
347tr_authenticateClientRequest(template (present) octetstring transactionId := ?,
348 template (present) AuthenticateServerResponse authenticateServerResponse := ?) := {
349 authenticateClientRequest := {
350 transactionId := transactionId,
351 authenticateServerResponse := authenticateServerResponse
352 }
353}
354template (value) RemoteProfileProvisioningRequest
355ts_authenticateClientRequest(template (value) octetstring transactionId,
356 template (value) AuthenticateServerResponse authenticateServerResponse) := {
357 authenticateClientRequest := {
358 transactionId := transactionId,
359 authenticateServerResponse := authenticateServerResponse
360 }
361}
362template (present) RemoteProfileProvisioningResponse
363tr_authenticateClientResponseEs9(template (present) octetstring transactionId := ?,
364 template (present) StoreMetadataRequest profileMetaData := ?,
365 template (present) SmdpSigned2 smdpSigned2 := ?,
366 template (present) octetstring smdpSignature2 := ?,
367 template (present) Certificate smdpCertificate := ?) := {
368 authenticateClientResponseEs9 := {
369 authenticateClientOk := {
370 transactionId := transactionId,
371 profileMetaData := profileMetaData,
372 smdpSigned2 := smdpSigned2,
373 smdpSignature2 := smdpSignature2,
374 smdpCertificate := smdpCertificate
375 }
376 }
377}
378template (value) RemoteProfileProvisioningResponse
Philipp Maier35834752024-04-30 11:06:33 +0200379ts_authenticateClientResponseEs9(template (value) octetstring transactionId := 'ABCDEF'O,
380 template (value) StoreMetadataRequest profileMetaData := ts_storeMetadataRequest,
381 template (value) SmdpSigned2 smdpSigned2 := ts_smdpSigned2,
382 template (value) octetstring smdpSignature2 := 'BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB'O,
383 template (value) Certificate smdpCertificate := ts_cert_s_sm_dpauth_nist) := {
Philipp Maier08902cf2024-03-04 10:32:55 +0100384 authenticateClientResponseEs9 := {
385 authenticateClientOk := {
386 transactionId := transactionId,
387 profileMetaData := profileMetaData,
388 smdpSigned2 := smdpSigned2,
389 smdpSignature2 := smdpSignature2,
390 smdpCertificate := smdpCertificate
391 }
392 }
393}
394
395/* GSMA SGP.22, section 5.6.4 (ES9+) */
396template (present) RemoteProfileProvisioningRequest
397tr_handleNotification(template (present) PendingNotification pendingNotification := ?) := {
398 handleNotification := {
399 pendingNotification := pendingNotification
400 }
401}
402template (value) RemoteProfileProvisioningRequest
403ts_handleNotification(template (value) PendingNotification pendingNotification) := {
404 handleNotification := {
405 pendingNotification := pendingNotification
406 }
407}
408
409/* GSMA SGP.22, section 5.6.5 (ES9+) */
410template (present) RemoteProfileProvisioningRequest
411tr_cancelSessionRequestEs9(template (present) octetstring transactionId := ?,
412 template (present) CancelSessionResponse cancelSessionResponse := ?) := {
413 cancelSessionRequestEs9 := {
414 transactionId := transactionId,
415 cancelSessionResponse := cancelSessionResponse
416 }
417}
418template (value) RemoteProfileProvisioningRequest
419ts_cancelSessionRequestEs9(template (value) octetstring transactionId,
420 template (value) CancelSessionResponse cancelSessionResponse) := {
421 cancelSessionRequestEs9 := {
422 transactionId := transactionId,
423 cancelSessionResponse := cancelSessionResponse
424 }
425}
426template (present) RemoteProfileProvisioningResponse
427tr_cancelSessionResponseEs9 := {
428 cancelSessionResponseEs9 := {
429 cancelSessionOk := { } /* This function has no output data */
430 }
431}
432template (value) RemoteProfileProvisioningResponse
433ts_cancelSessionResponseEs9 := {
434 cancelSessionResponseEs9 := {
435 cancelSessionOk := { } /* This function has no output data */
436 }
437}
438
439
440/* GSMA SGP.22, section 5.7.3 (ES10x) */
441template (present) EuiccConfiguredAddressesResponse
442tr_euiccConfiguredAddressesResponse := {
443 defaultDpAddress := *,
444 rootDsAddress := ?
445}
446template (value) EuiccConfiguredAddressesResponse
447ts_euiccConfiguredAddressesResponse := {
448 defaultDpAddress := "smdp.example.com",
449 rootDsAddress := "smds.example.com"
450}
451
452/* GSMA SGP.22, section 5.7.5 (ES10x) */
Philipp Maierc0045ca2024-05-13 12:31:49 +0200453template (present) PrepareDownloadResponseOk
454tr_prepareDownloadResponseOk := {
455 euiccSigned2 := {
456 transactionId := ?,
457 euiccOtpk := ?,
458 hashCc := *
459 },
460 euiccSignature2 := ?
461}
462template (value) PrepareDownloadResponseOk
463ts_prepareDownloadResponseOk := {
464 euiccSigned2 := {
465 transactionId := 'ABCDEF'O,
466 euiccOtpk := 'AABBCCDDEEFF'O,
467 hashCc := omit
468 },
469 euiccSignature2 := 'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'O
470}
Philipp Maier08902cf2024-03-04 10:32:55 +0100471template (present) PrepareDownloadResponse
472tr_prepareDownloadResponse := {
Philipp Maierc0045ca2024-05-13 12:31:49 +0200473 downloadResponseOk := tr_prepareDownloadResponseOk
Philipp Maier08902cf2024-03-04 10:32:55 +0100474}
475template (value) PrepareDownloadResponse
476ts_prepareDownloadResponse := {
Philipp Maierc0045ca2024-05-13 12:31:49 +0200477 downloadResponseOk := ts_prepareDownloadResponseOk
Philipp Maier08902cf2024-03-04 10:32:55 +0100478}
479
480/* GSMA SGP.22, section 5.7.7 (ES10x) */
481template (present) GetEuiccChallengeResponse
482tr_GetEuiccChallengeResponse := {
483 euiccChallenge := ?
484}
485template (value) GetEuiccChallengeResponse
486ts_GetEuiccChallengeResponse(template (value) octetstring euiccChallenge := '00112233445566778899AABBCCDDEEFF'O) := {
487 euiccChallenge := euiccChallenge
488}
489
490/* GSMA SGP.22, section 5.7.8 (ES10x) */
491template (present) EUICCInfo1
492tr_EUICCInfo1 := {
493 svn := ?,
494 euiccCiPKIdListForVerification := ?,
495 euiccCiPKIdListForSigning := ?
496}
497template (value) EUICCInfo1
498ts_EUICCInfo1 := {
499 svn := '020200'O,
500 euiccCiPKIdListForVerification := {
501 'C0BC70BA36929D43B467FF57570530E57AB8FCD8'O,
502 'F54172BDF98A95D65CBEB88A38A1C11D800A85C3'O
503 },
504 euiccCiPKIdListForSigning := {
505 'C0BC70BA36929D43B467FF57570530E57AB8FCD8'O,
506 'F54172BDF98A95D65CBEB88A38A1C11D800A85C3'O
507 }
508}
509
510/* GSMA SGP.22, section 5.7.8 (ES10x) */
511template (present) EUICCInfo2
512tr_EUICCInfo2 := {
513 profileVersion := ?,
514 svn := ?,
515 euiccFirmwareVer := ?,
516 extCardResource := ?,
517 uiccCapability := ?,
518 ts102241Version := *,
519 globalplatformVersion := *,
520 rspCapability := ?,
521 euiccCiPKIdListForVerification := ?,
522 euiccCiPKIdListForSigning := ?,
523 euiccCategory := *,
524 forbiddenProfilePolicyRules := *,
525 ppVersion := ?,
526 sasAcreditationNumber := ?,
527 certificationDataObject := *,
528 treProperties := *,
529 treProductReference := *,
530 additionalEuiccProfilePackageVersions := *
531}
532template (value) EUICCInfo2
533ts_EUICCInfo2 := {
534 profileVersion := '414243'O,
535 svn := '02000C'O,
536 euiccFirmwareVer := '414243'O,
537 extCardResource := '414243'O,
538 uiccCapability := '1111111111111111111'B,
539 ts102241Version := omit,
540 globalplatformVersion := omit,
541 rspCapability := '1111'B,
542 euiccCiPKIdListForVerification := {
543 'C0BC70BA36929D43B467FF57570530E57AB8FCD8'O,
544 'F54172BDF98A95D65CBEB88A38A1C11D800A85C3'O
545 },
546 euiccCiPKIdListForSigning := {
547 'C0BC70BA36929D43B467FF57570530E57AB8FCD8'O,
548 'F54172BDF98A95D65CBEB88A38A1C11D800A85C3'O
549 },
550 euiccCategory := omit,
551 forbiddenProfilePolicyRules := omit,
552 ppVersion := '414243'O,
553 sasAcreditationNumber := "123456",
554 certificationDataObject := omit,
555 treProperties := omit,
556 treProductReference := omit,
557 additionalEuiccProfilePackageVersions := omit
558}
559
560/* GSMA SGP.22, section 5.7.10 (ES10x) */
561template (value) RetrieveNotificationsListResponse
562ts_retrieveNotificationsListResponse := {
563 notificationList := {
564 {
565 profileInstallationResult := {
566 profileInstallationResultData := {
567 transactionId := 'AABBCC'O,
568 notificationMetadata := {
569 seqNumber := 1234,
570 profileManagementOperation := '01'B, /* is this correct? (notificationInstall) */
571 notificationAddress := "smdp.example.com",
572 iccid := omit
573 },
574 smdpOid := id_rsp, /* random OBJECT IDENTIFIER for testing */
575 finalResult := {
576 successResult := {
577 aid := 'A0000005591010FFFFFFFF8900000D00'O,
578 simaResponse := 'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'O
579 }
580 }
581 },
582 euiccSignPIR := 'BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB'O
583 }
584 }
585 }
586}
587
588/* GSMA SGP.22, section 5.7.11 (ES10x) */
589template (present) NotificationSentResponse
590tr_notificationSentResponse := {
591 deleteNotificationStatus := ?
592}
593template (value) NotificationSentResponse
594ts_notificationSentResponse := {
595 deleteNotificationStatus := 0 /* 0k */
596}
597
598/* GSMA SGP.22, section 5.7.13 (ES10x) */
599template (present) AuthenticateServerResponse
600tr_authenticateServerResponse := {
601 authenticateResponseOk := {
602 euiccSigned1 := {
603 transactionId := ?,
604 serverAddress := ?,
605 serverChallenge := ?,
606 euiccInfo2 := ?,
Philipp Maierd7ccd012024-04-30 11:03:53 +0200607 ctxParams1 := tr_ctxParams1
Philipp Maier08902cf2024-03-04 10:32:55 +0100608 },
609 euiccSignature1 := ?,
610 euiccCertificate := ?,
611 eumCertificate := ?
612 }
613}
614template (value) AuthenticateServerResponse
615ts_authenticateServerResponse := {
616 authenticateResponseOk := {
617 euiccSigned1 := {
618 transactionId := 'ABCDEF'O,
619 serverAddress := "smdp.example.com",
620 serverChallenge := '01020304050607080910111213141516'O,
621 euiccInfo2 := ts_EUICCInfo2,
Philipp Maierd7ccd012024-04-30 11:03:53 +0200622 ctxParams1 := ts_ctxParams1
Philipp Maier08902cf2024-03-04 10:32:55 +0100623 },
624 euiccSignature1 := '12345678'O,
625 euiccCertificate := ts_cert_euicc_nist,
626// euiccCertificate := ts_cert_euicc_brp,
627 eumCertificate := ts_cert_eum_nist
628// eumCertificate := ts_cert_eum_brp
629
630 }
631}
632
633/* GSMA SGP.22, section 5.7.13 (ES10x) */
634template (present) CancelSessionResponseOk
635tr_cancelSessionResponseOk := {
636 euiccCancelSessionSigned := {
637 transactionId := ?,
638 smdpOid := ?,
639 reason := ?
640 },
641 euiccCancelSessionSignature := ?
642}
643template (value) CancelSessionResponseOk
644ts_cancelSessionResponseOk := {
645 euiccCancelSessionSigned := {
646 transactionId := 'AABBCC'O,
647 smdpOid := id_rspRole_euicc,
648 reason := 5
649 },
650 euiccCancelSessionSignature := '1234567890'O
651}
652template (present) CancelSessionResponse
653tr_cancelSessionResponse := {
654 cancelSessionResponseOk := tr_cancelSessionResponseOk
655}
656template (value) CancelSessionResponse
657ts_cancelSessionResponse := {
658 cancelSessionResponseOk := ts_cancelSessionResponseOk
659}
660
661/* GSMA SGP.22, section 5.7.20 (ES10x) */
662template (present) GetEuiccDataResponse
663tr_getEuiccDataResponse := {
664 eidValue := ?
665}
666template (value) GetEuiccDataResponse
667ts_getEuiccDataResponse(template (value) octetstring eidValue := '000102030405060708090A0B0C0D0E0F'O) := {
668 eidValue := eidValue
669}
670
Philipp Maier746f43e2024-04-29 12:17:12 +0200671}