Philipp Maier | 08902cf | 2024-03-04 10:32:55 +0100 | [diff] [blame] | 1 | /* SGP32 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 | |
| 11 | module SGP32Definitions_Templates { |
| 12 | |
| 13 | import from SGP32Definitions all; |
| 14 | import from SGP32Definitions_Types all; |
| 15 | |
| 16 | import from RSPDefinitions all; |
| 17 | import from RSPDefinitions_Types all; |
| 18 | import from RSPDefinitions_Templates all; |
| 19 | |
| 20 | import from PKIX1Explicit88 all; |
| 21 | import from PKIX1Explicit88_Templates all; |
| 22 | import from PKIX1Explicit88_Types all; |
| 23 | |
| 24 | /* GSMA SGP.32, section 6.3.2.1 */ |
| 25 | template (present) EsipaMessageFromEimToIpa |
| 26 | tr_initiateAuthenticationResponseEsipa(template (present) octetstring euiccChallenge := ?, |
| 27 | template (present) universal charstring serverAddress := ?) := { |
| 28 | initiateAuthenticationResponseEsipa := { |
| 29 | initiateAuthenticationOkEsipa := { |
| 30 | transactionId := *, |
Philipp Maier | 746f43e | 2024-04-29 12:17:12 +0200 | [diff] [blame] | 31 | serverSigned1 := tr_serverSigned1(euiccChallenge := euiccChallenge, serverAddress := serverAddress), |
Philipp Maier | 08902cf | 2024-03-04 10:32:55 +0100 | [diff] [blame] | 32 | serverSignature1 := ?, |
| 33 | euiccCiPKIdToBeUsed := ?, |
| 34 | serverCertificate := ?, |
| 35 | matchingId := *, |
| 36 | ctxParams1 := * |
| 37 | } |
| 38 | } |
| 39 | } |
| 40 | |
| 41 | template (value) EsipaMessageFromEimToIpa |
| 42 | ts_initiateAuthenticationResponseEsipa(template (value) octetstring euiccChallenge := '00112233445566778899AABBCCDDEEFF'O, |
| 43 | template (value) universal charstring serverAddress := "smdp.example.com") := { |
| 44 | initiateAuthenticationResponseEsipa := { |
| 45 | initiateAuthenticationOkEsipa := { |
| 46 | transactionId := omit, |
Philipp Maier | 746f43e | 2024-04-29 12:17:12 +0200 | [diff] [blame] | 47 | serverSigned1 := ts_serverSigned1(euiccChallenge := euiccChallenge, serverAddress := serverAddress), |
Philipp Maier | 68e476c | 2024-06-12 15:04:49 +0200 | [diff] [blame^] | 48 | serverSignature1 := '5252525252525252525252525252525252525252525252525252525252525252 |
| 49 | 5353535353535353535353535353535353535353535353535353535353535353'O, |
Philipp Maier | 08902cf | 2024-03-04 10:32:55 +0100 | [diff] [blame] | 50 | euiccCiPKIdToBeUsed := 'F54172BDF98A95D65CBEB88A38A1C11D800A85C3'O, /* NIST */ |
| 51 | serverCertificate := ts_cert_s_sm_dpauth_nist, |
| 52 | // serverCertificate := ts_cert_s_sm_dpauth_brp, |
| 53 | // serverCertificate := ts_cert_s_sm_dp2auth_nist, |
| 54 | // serverCertificate := ts_cert_s_sm_dp2auth_brp, |
| 55 | matchingId := omit, |
| 56 | ctxParams1 := omit |
| 57 | } |
| 58 | } |
| 59 | } |
| 60 | |
| 61 | /* GSMA SGP.32, section 6.3.2.1 */ |
| 62 | template (present) EsipaMessageFromIpaToEim |
| 63 | tr_initiateAuthenticationRequestEsipa(template (present) octetstring euiccChallenge := ?) := { |
| 64 | initiateAuthenticationRequestEsipa := { |
| 65 | euiccChallenge := euiccChallenge, |
| 66 | smdpAddress := *, |
| 67 | euiccInfo1 := * |
| 68 | } |
| 69 | } |
| 70 | template (value) EsipaMessageFromIpaToEim |
Philipp Maier | e73a6a3 | 2024-04-25 15:48:37 +0200 | [diff] [blame] | 71 | ts_initiateAuthenticationRequestEsipa(template (value) octetstring euiccChallenge := '00112233445566778899aabbccddeeff'O, |
| 72 | template (omit) charstring smdpAddress := "smdp.example.com", |
| 73 | template (omit) EUICCInfo1 euiccInfo1 := ts_EUICCInfo1) := { |
Philipp Maier | 08902cf | 2024-03-04 10:32:55 +0100 | [diff] [blame] | 74 | initiateAuthenticationRequestEsipa := { |
| 75 | euiccChallenge := euiccChallenge, |
Philipp Maier | e73a6a3 | 2024-04-25 15:48:37 +0200 | [diff] [blame] | 76 | smdpAddress := smdpAddress, |
| 77 | euiccInfo1 := euiccInfo1 |
Philipp Maier | 08902cf | 2024-03-04 10:32:55 +0100 | [diff] [blame] | 78 | } |
| 79 | } |
| 80 | |
| 81 | /* GSMA SGP.32, section 6.3.2.2 */ |
| 82 | template (present) EsipaMessageFromIpaToEim |
| 83 | tr_authenticateClientRequestEsipa := { |
| 84 | authenticateClientRequestEsipa := { |
| 85 | transactionId := ?, |
| 86 | authenticateServerResponse := { |
| 87 | authenticateResponseOk := ? |
| 88 | } |
| 89 | } |
| 90 | } |
Philipp Maier | 916b5fa | 2024-04-30 11:34:09 +0200 | [diff] [blame] | 91 | template (value) EsipaMessageFromIpaToEim |
| 92 | ts_authenticateClientRequestEsipa(template (value) octetstring transactionId := 'ABCDEF'O) := { |
| 93 | authenticateClientRequestEsipa := { |
| 94 | transactionId := transactionId, |
| 95 | authenticateServerResponse := { |
| 96 | authenticateResponseOk := { |
| 97 | euiccSigned1 := ts_euiccSigned1, |
Philipp Maier | 68e476c | 2024-06-12 15:04:49 +0200 | [diff] [blame^] | 98 | euiccSignature1 := '5252525252525252525252525252525252525252525252525252525252525252 |
| 99 | 5353535353535353535353535353535353535353535353535353535353535353'O, |
Philipp Maier | 916b5fa | 2024-04-30 11:34:09 +0200 | [diff] [blame] | 100 | euiccCertificate := ts_cert_eum_nist, |
| 101 | eumCertificate := ts_cert_s_sm_dpauth_nist |
| 102 | } |
| 103 | } |
| 104 | } |
| 105 | } |
Philipp Maier | 08902cf | 2024-03-04 10:32:55 +0100 | [diff] [blame] | 106 | |
| 107 | /* GSMA SGP.32, section 6.3.2.2 */ |
| 108 | template (present) EsipaMessageFromEimToIpa |
| 109 | tr_authenticateClientResponseEsipa_dse(template (present) octetstring transactionId := ?, |
| 110 | template (present) charstring activationCode := ?) := { |
| 111 | authenticateClientResponseEsipa := { |
| 112 | authenticateClientOkDSEsipa := { |
| 113 | transactionId := transactionId, |
| 114 | profileDownloadTrigger := { |
| 115 | profileDownloadData := { |
| 116 | activationCode := ? |
| 117 | }, |
| 118 | eimTransactionId := * |
| 119 | } |
| 120 | } |
| 121 | } |
| 122 | } |
| 123 | template (value) EsipaMessageFromEimToIpa |
| 124 | ts_authenticateClientResponseEsipa_dse(template (value) octetstring transactionId := 'ABCDEF'O, |
| 125 | template (value) charstring activationCode := "1$SMDP.EXAMPLE.COM$$1.3.6.1.4.1.31746") := { |
| 126 | authenticateClientResponseEsipa := { |
| 127 | authenticateClientOkDSEsipa := { |
| 128 | transactionId := transactionId, |
| 129 | profileDownloadTrigger := { |
| 130 | profileDownloadData := { |
| 131 | activationCode := activationCode |
| 132 | }, |
| 133 | eimTransactionId := omit |
| 134 | } |
| 135 | } |
| 136 | } |
| 137 | } |
| 138 | |
| 139 | /* GSMA SGP.32, section 6.3.2.2 */ |
| 140 | template (present) EsipaMessageFromEimToIpa |
| 141 | tr_authenticateClientResponseEsipa_dpe(template (present) octetstring transactionId := ?) := { |
| 142 | authenticateClientResponseEsipa := { |
| 143 | authenticateClientOkDPEsipa := { |
| 144 | transactionId := transactionId, |
| 145 | profileMetaData := *, |
| 146 | smdpSigned2 := { |
| 147 | transactionId := ?, |
| 148 | ccRequiredFlag := ?, |
| 149 | bppEuiccOtpk := * |
| 150 | }, |
| 151 | smdpSignature2 := ?, |
| 152 | smdpCertificate := ?, |
| 153 | hashCc := * |
| 154 | } |
| 155 | } |
| 156 | } |
| 157 | template (value) EsipaMessageFromEimToIpa |
| 158 | ts_authenticateClientResponseEsipa_dpe(template (value) octetstring transactionId := 'ABCDEF'O) := { |
| 159 | authenticateClientResponseEsipa := { |
| 160 | authenticateClientOkDPEsipa := { |
| 161 | transactionId := transactionId, |
| 162 | profileMetaData := omit, |
| 163 | smdpSigned2 := { |
| 164 | transactionId := transactionId, |
| 165 | ccRequiredFlag := false, |
| 166 | bppEuiccOtpk := omit |
| 167 | }, |
Philipp Maier | 68e476c | 2024-06-12 15:04:49 +0200 | [diff] [blame^] | 168 | smdpSignature2 := '5252525252525252525252525252525252525252525252525252525252525252 |
| 169 | 5353535353535353535353535353535353535353535353535353535353535353'O, |
Philipp Maier | 08902cf | 2024-03-04 10:32:55 +0100 | [diff] [blame] | 170 | smdpCertificate := ts_cert_s_sm_dpauth_nist, |
| 171 | // smdpCertificate := ts_cert_s_sm_dpauth_brp, |
| 172 | // smdpCertificate := ts_cert_s_sm_dp2auth_nist, |
| 173 | // smdpCertificate := ts_cert_s_sm_dp2auth_brp, |
| 174 | hashCc := omit |
| 175 | } |
| 176 | } |
| 177 | } |
| 178 | |
| 179 | /* GSMA SGP.32, section 6.3.2.6 */ |
| 180 | template (present) EsipaMessageFromIpaToEim |
| 181 | tr_getEimPackageRequest(template (present) octetstring eidValue := ?) := { |
| 182 | getEimPackageRequest := { |
| 183 | eidValue := eidValue, |
| 184 | notifyStateChange := *, |
| 185 | rPLMN := * |
| 186 | } |
| 187 | } |
| 188 | template (value) EsipaMessageFromIpaToEim |
| 189 | ts_getEimPackageRequest(template (value) octetstring eidValue) := { |
| 190 | getEimPackageRequest := { |
| 191 | eidValue := eidValue, |
| 192 | notifyStateChange := omit, |
| 193 | rPLMN := omit |
| 194 | } |
| 195 | } |
| 196 | |
| 197 | /* GSMA SGP.32, section 6.3.2.6 and 2.11.1.3 */ |
| 198 | template (present) EsipaMessageFromEimToIpa |
| 199 | tr_getEimPackageResponse_dnlTrigReq(template (present) charstring activationCode := ?) := { |
| 200 | getEimPackageResponse := { |
| 201 | profileDownloadTriggerRequest := { |
| 202 | profileDownloadData := { |
| 203 | activationCode := activationCode |
| 204 | }, |
| 205 | eimTransactionId := * |
| 206 | } |
| 207 | } |
| 208 | } |
| 209 | template (value) EsipaMessageFromEimToIpa |
| 210 | ts_getEimPackageResponse_dnlTrigReq(template (value) charstring activationCode := "1$SMDP.EXAMPLE.COM$$1.3.6.1.4.1.31746") := { |
| 211 | getEimPackageResponse := { |
| 212 | profileDownloadTriggerRequest := { |
| 213 | profileDownloadData := { |
| 214 | activationCode := activationCode |
| 215 | }, |
| 216 | eimTransactionId := omit |
| 217 | } |
| 218 | } |
| 219 | } |
| 220 | |
| 221 | /* GSMA SGP.32, section 6.3.2.6 and 2.11.1.2 */ |
| 222 | template (present) EsipaMessageFromEimToIpa |
| 223 | tr_getEimPackageResponse_euiccDataReq := { |
| 224 | getEimPackageResponse := { |
| 225 | ipaEuiccDataRequest := { |
| 226 | tagList := ?, |
| 227 | euiccCiPKId := *, |
| 228 | searchCriteria := * |
| 229 | } |
| 230 | } |
| 231 | } |
| 232 | template (value) EsipaMessageFromEimToIpa |
| 233 | ts_getEimPackageResponse_euiccDataReq := { |
| 234 | getEimPackageResponse := { |
| 235 | ipaEuiccDataRequest := { |
| 236 | tagList := '80BF20BF228384A5A688A9BF2B'O, |
| 237 | euiccCiPKId := omit, |
| 238 | searchCriteria := omit |
| 239 | } |
| 240 | } |
| 241 | } |
| 242 | |
| 243 | /* GSMA SGP.32, section 6.3.2.6 */ |
| 244 | template (present) EsipaMessageFromEimToIpa |
| 245 | tr_getEimPackageResponse_eimPkgErrUndef := { |
| 246 | getEimPackageResponse := { |
| 247 | eimPackageError := ? |
| 248 | } |
| 249 | } |
| 250 | template (value) EsipaMessageFromEimToIpa |
| 251 | ts_getEimPackageResponse_eimPkgErrUndef := { |
| 252 | getEimPackageResponse := { |
| 253 | eimPackageError := 127 |
| 254 | } |
| 255 | } |
| 256 | |
Philipp Maier | ee47821 | 2024-05-16 15:15:03 +0200 | [diff] [blame] | 257 | /* GSMA SGP.32, section 2.11.1.1.3 */ |
| 258 | template (present) EuiccPackage |
| 259 | tr_euiccPackage_enablePsmo := { |
| 260 | psmoList := { |
| 261 | { |
| 262 | enable := { |
| 263 | iccid := ?, |
| 264 | rollbackFlag := * |
| 265 | } |
| 266 | } |
| 267 | } |
| 268 | } |
| 269 | template (value) EuiccPackage |
| 270 | ts_euiccPackage_enablePsmo := { |
| 271 | psmoList := { |
| 272 | { |
| 273 | enable := { |
| 274 | iccid := '123456789ABCDEFFAAAA'O, |
| 275 | rollbackFlag := NULL |
| 276 | } |
| 277 | } |
| 278 | } |
| 279 | } |
| 280 | template (present) EuiccPackage |
| 281 | tr_euiccPackage_disablePsmo := { |
| 282 | psmoList := { |
| 283 | { |
| 284 | disable := { |
| 285 | iccid := ? |
| 286 | } |
| 287 | } |
| 288 | } |
| 289 | } |
| 290 | template (value) EuiccPackage |
| 291 | ts_euiccPackage_disablePsmo := { |
| 292 | psmoList := { |
| 293 | { |
| 294 | disable := { |
| 295 | iccid := '123456789ABCDEFFAAAA'O |
| 296 | } |
| 297 | } |
| 298 | } |
| 299 | } |
| 300 | template (present) EuiccPackage |
| 301 | tr_euiccPackage_deletePsmo := { |
| 302 | psmoList := { |
| 303 | { |
| 304 | delete := { |
| 305 | iccid := ? |
| 306 | } |
| 307 | } |
| 308 | } |
| 309 | } |
| 310 | template (value) EuiccPackage |
| 311 | ts_euiccPackage_deletePsmo := { |
| 312 | psmoList := { |
| 313 | { |
| 314 | delete := { |
| 315 | iccid := '123456789ABCDEFFAAAA'O |
| 316 | } |
| 317 | } |
| 318 | } |
| 319 | } |
| 320 | template (present) EuiccPackage |
| 321 | tr_euiccPackage_disableAndDeletePsmo := { |
| 322 | psmoList := { |
| 323 | { |
| 324 | disable := { |
| 325 | iccid := ? |
| 326 | } |
| 327 | }, |
| 328 | { |
| 329 | delete := { |
| 330 | iccid := ? |
| 331 | } |
| 332 | } |
| 333 | } |
| 334 | } |
| 335 | template (value) EuiccPackage |
| 336 | ts_euiccPackage_disableAndDeletePsmo := { |
| 337 | psmoList := { |
| 338 | { |
| 339 | disable := { |
| 340 | iccid := '123456789ABCDEFFAAAA'O |
| 341 | } |
| 342 | }, |
| 343 | { |
| 344 | delete := { |
| 345 | iccid := '123456789ABCDEFFAAAA'O |
| 346 | } |
| 347 | } |
| 348 | } |
| 349 | } |
Philipp Maier | ace1ac0 | 2024-05-21 11:14:35 +0200 | [diff] [blame] | 350 | template (present) EuiccPackage |
| 351 | tr_euiccPackage_listProfileInfo := { |
| 352 | psmoList := { |
| 353 | { |
| 354 | listProfileInfo := { |
| 355 | searchCriteria := *, |
| 356 | tagList := * |
| 357 | } |
| 358 | } |
| 359 | } |
| 360 | } |
| 361 | template (value) EuiccPackage |
| 362 | ts_euiccPackage_listProfileInfo := { |
| 363 | psmoList := { |
| 364 | { |
| 365 | listProfileInfo := { |
| 366 | searchCriteria := { |
| 367 | iccid := '123456789ABCDEFFAAAA'O |
| 368 | }, |
| 369 | tagList := '92'O /* profileName */ |
| 370 | } |
| 371 | } |
| 372 | } |
| 373 | } |
| 374 | template (present) EuiccPackage |
| 375 | tr_euiccPackage_getRAT := { |
| 376 | psmoList := { |
| 377 | { |
| 378 | getRAT := { } |
| 379 | } |
| 380 | } |
| 381 | } |
| 382 | template (value) EuiccPackage |
| 383 | ts_euiccPackage_getRAT := { |
| 384 | psmoList := { |
| 385 | { |
| 386 | getRAT := { } |
| 387 | } |
| 388 | } |
| 389 | } |
| 390 | template (present) EuiccPackage |
| 391 | tr_euiccPackage_configureAutoEnable := { |
| 392 | psmoList := { |
| 393 | { |
| 394 | configureAutoEnable := { |
| 395 | autoEnableFlag := *, |
| 396 | smdpOid := *, |
| 397 | smdpAddress := * |
| 398 | } |
| 399 | } |
| 400 | } |
| 401 | } |
| 402 | template (value) EuiccPackage |
| 403 | ts_euiccPackage_configureAutoEnable := { |
| 404 | psmoList := { |
| 405 | { |
| 406 | configureAutoEnable := { |
| 407 | autoEnableFlag := NULL, |
| 408 | smdpOid := objid {1 2 3}, |
| 409 | smdpAddress := "smdp.example.com" |
| 410 | } |
| 411 | } |
| 412 | } |
| 413 | } |
Philipp Maier | 6d11f52 | 2024-05-23 15:58:28 +0200 | [diff] [blame] | 414 | template (present) EuiccPackage |
| 415 | tr_euiccPackage_addEim := { |
| 416 | ecoList := { |
| 417 | { |
| 418 | addEim := tr_eimConfigurationData |
| 419 | } |
| 420 | } |
| 421 | } |
| 422 | template (value) EuiccPackage |
| 423 | ts_euiccPackage_addEim := { |
| 424 | ecoList := { |
| 425 | { |
| 426 | addEim := ts_eimConfigurationData |
| 427 | } |
| 428 | } |
| 429 | } |
| 430 | template (present) EuiccPackage |
| 431 | tr_euiccPackage_deleteEim := { |
| 432 | ecoList := { |
| 433 | { |
| 434 | deleteEim := ? |
| 435 | } |
| 436 | } |
| 437 | } |
| 438 | template (value) EuiccPackage |
| 439 | ts_euiccPackage_deleteEim := { |
| 440 | ecoList := { |
| 441 | { |
| 442 | deleteEim := { |
| 443 | eimId := "eIM" |
| 444 | } |
| 445 | } |
| 446 | } |
| 447 | } |
| 448 | template (present) EuiccPackage |
| 449 | tr_euiccPackage_updateEim := { |
| 450 | ecoList := { |
| 451 | { |
| 452 | updateEim := tr_eimConfigurationData |
| 453 | } |
| 454 | } |
| 455 | } |
| 456 | template (value) EuiccPackage |
| 457 | ts_euiccPackage_updateEim := { |
| 458 | ecoList := { |
| 459 | { |
| 460 | updateEim := ts_eimConfigurationData |
| 461 | } |
| 462 | } |
| 463 | } |
| 464 | template (present) EuiccPackage |
| 465 | tr_euiccPackage_listEim := { |
| 466 | ecoList := { |
| 467 | { |
| 468 | listEim := { } |
| 469 | } |
| 470 | } |
| 471 | } |
| 472 | template (value) EuiccPackage |
| 473 | ts_euiccPackage_listEim := { |
| 474 | ecoList := { |
| 475 | { |
| 476 | listEim := { } |
| 477 | } |
| 478 | } |
| 479 | } |
Philipp Maier | ee47821 | 2024-05-16 15:15:03 +0200 | [diff] [blame] | 480 | |
Philipp Maier | 08902cf | 2024-03-04 10:32:55 +0100 | [diff] [blame] | 481 | /* GSMA SGP.32, section 6.3.2.6 */ |
Philipp Maier | ee47821 | 2024-05-16 15:15:03 +0200 | [diff] [blame] | 482 | template (present) EsipaMessageFromEimToIpa |
| 483 | tr_getEimPackageResponse_euiccPkgReq(template (present) EuiccPackage euiccPackage := tr_euiccPackage_enablePsmo) := { |
| 484 | getEimPackageResponse := { |
| 485 | euiccPackageRequest := { |
| 486 | euiccPackageSigned := { |
| 487 | eimId := ?, |
| 488 | eidValue := ?, |
| 489 | counterValue := ?, |
| 490 | transactionId := *, |
| 491 | euiccPackage := euiccPackage |
| 492 | }, |
| 493 | eimSignature := ? |
| 494 | } |
| 495 | } |
| 496 | } |
Philipp Maier | 08902cf | 2024-03-04 10:32:55 +0100 | [diff] [blame] | 497 | template (value) EsipaMessageFromEimToIpa |
Philipp Maier | ee47821 | 2024-05-16 15:15:03 +0200 | [diff] [blame] | 498 | ts_getEimPackageResponse_euiccPkgReq(template (value) EuiccPackage euiccPackage := ts_euiccPackage_enablePsmo) := { |
Philipp Maier | 08902cf | 2024-03-04 10:32:55 +0100 | [diff] [blame] | 499 | getEimPackageResponse := { |
| 500 | euiccPackageRequest := { |
| 501 | euiccPackageSigned := { |
| 502 | eimId := "myEim", |
| 503 | eidValue := '00112233445566778899AABBCCDDEEFF'O, |
| 504 | counterValue := 123, |
| 505 | transactionId := omit, |
Philipp Maier | ee47821 | 2024-05-16 15:15:03 +0200 | [diff] [blame] | 506 | euiccPackage := euiccPackage |
Philipp Maier | 08902cf | 2024-03-04 10:32:55 +0100 | [diff] [blame] | 507 | }, |
Philipp Maier | 68e476c | 2024-06-12 15:04:49 +0200 | [diff] [blame^] | 508 | eimSignature := '5252525252525252525252525252525252525252525252525252525252525252 |
| 509 | 5353535353535353535353535353535353535353535353535353535353535353'O |
Philipp Maier | 08902cf | 2024-03-04 10:32:55 +0100 | [diff] [blame] | 510 | } |
| 511 | } |
| 512 | } |
| 513 | |
| 514 | /* GSMA SGP.32, section 6.3.2.5 */ |
| 515 | template (present) EsipaMessageFromIpaToEim |
| 516 | tr_cancelSessionRequestEsipa := { |
| 517 | cancelSessionRequestEsipa := { |
| 518 | transactionId := ?, |
| 519 | cancelSessionResponse := { |
| 520 | cancelSessionResponseOk := tr_cancelSessionResponseOk |
| 521 | } |
| 522 | } |
| 523 | } |
| 524 | template (value) EsipaMessageFromIpaToEim |
| 525 | ts_cancelSessionRequestEsipa := { |
| 526 | cancelSessionRequestEsipa := { |
| 527 | transactionId := 'AABBCC'O, |
| 528 | cancelSessionResponse := { |
| 529 | cancelSessionResponseOk := ts_cancelSessionResponseOk |
| 530 | } |
| 531 | } |
| 532 | } |
| 533 | |
| 534 | /* GSMA SGP.32, section 6.3.2.5 */ |
| 535 | template (present) EsipaMessageFromEimToIpa |
| 536 | tr_cancelSessionResponseEsipa := { |
| 537 | cancelSessionResponseEsipa := { |
| 538 | cancelSessionOk := { |
| 539 | /* This function has no output data */ |
| 540 | } |
| 541 | } |
| 542 | } |
| 543 | template (value) EsipaMessageFromEimToIpa |
| 544 | ts_cancelSessionResponseEsipa := { |
| 545 | cancelSessionResponseEsipa := { |
| 546 | cancelSessionOk := { |
| 547 | /* This function has no output data */ |
| 548 | } |
| 549 | } |
| 550 | } |
| 551 | |
| 552 | /* GSMA SGP.32, section 6.3.2.3 */ |
Philipp Maier | 3b7bad3 | 2024-05-13 12:36:58 +0200 | [diff] [blame] | 553 | template (present) EsipaMessageFromIpaToEim |
| 554 | tr_getBoundProfilePackageRequestEsipa := { |
| 555 | getBoundProfilePackageRequestEsipa := { |
| 556 | transactionId := ?, |
| 557 | prepareDownloadResponse := { |
| 558 | downloadResponseOk := tr_prepareDownloadResponseOk |
| 559 | } |
| 560 | } |
| 561 | } |
| 562 | template (value) EsipaMessageFromIpaToEim |
| 563 | ts_getBoundProfilePackageRequestEsipa := { |
| 564 | getBoundProfilePackageRequestEsipa := { |
| 565 | transactionId := 'ABCDEF'O, |
| 566 | prepareDownloadResponse := { |
| 567 | downloadResponseOk := ts_prepareDownloadResponseOk |
| 568 | } |
| 569 | } |
| 570 | } |
| 571 | |
| 572 | /* GSMA SGP.32, section 6.3.2.3 */ |
Philipp Maier | 08902cf | 2024-03-04 10:32:55 +0100 | [diff] [blame] | 573 | template (present) EsipaMessageFromEimToIpa |
| 574 | tr_getBoundProfilePackageResponseEsipa := { |
| 575 | getBoundProfilePackageResponseEsipa := { |
| 576 | getBoundProfilePackageOkEsipa := { |
| 577 | transactionId := *, |
| 578 | boundProfilePackage := tr_boundProfilePackage |
| 579 | } |
| 580 | } |
| 581 | } |
| 582 | template (value) EsipaMessageFromEimToIpa |
| 583 | ts_getBoundProfilePackageResponseEsipa := { |
| 584 | getBoundProfilePackageResponseEsipa := { |
| 585 | getBoundProfilePackageOkEsipa := { |
| 586 | transactionId := omit, |
| 587 | boundProfilePackage := ts_boundProfilePackage |
| 588 | } |
| 589 | } |
| 590 | } |
| 591 | |
| 592 | /* GSMA SGP.32, section 5.9.1 */ |
| 593 | template (present) EuiccPackageResult |
| 594 | tr_euiccPackageResult := { |
| 595 | euiccPackageResultSigned := { |
| 596 | euiccPackageResultDataSigned := { |
| 597 | eimId := ?, |
| 598 | counterValue := ?, |
| 599 | transactionId := *, |
| 600 | seqNumber := ?, |
| 601 | euiccResult := ? |
| 602 | }, |
| 603 | euiccSignEPR := ? |
| 604 | } |
| 605 | } |
| 606 | template (value) EuiccPackageResult |
| 607 | ts_euiccPackageResult := { |
| 608 | euiccPackageResultSigned := { |
| 609 | euiccPackageResultDataSigned := { |
| 610 | eimId := "myEim", |
| 611 | counterValue := 333, |
| 612 | transactionId := omit, |
| 613 | seqNumber := 1234, |
| 614 | euiccResult := { |
| 615 | { |
Philipp Maier | ac10cee | 2024-04-10 15:51:47 +0200 | [diff] [blame] | 616 | enableResult := 0 |
Philipp Maier | 08902cf | 2024-03-04 10:32:55 +0100 | [diff] [blame] | 617 | } |
| 618 | } |
| 619 | }, |
Philipp Maier | 68e476c | 2024-06-12 15:04:49 +0200 | [diff] [blame^] | 620 | euiccSignEPR := '5252525252525252525252525252525252525252525252525252525252525252 |
| 621 | 5353535353535353535353535353535353535353535353535353535353535353'O |
Philipp Maier | 08902cf | 2024-03-04 10:32:55 +0100 | [diff] [blame] | 622 | } |
| 623 | } |
| 624 | |
Philipp Maier | bff6337 | 2024-05-14 17:41:16 +0200 | [diff] [blame] | 625 | /* GSMA SGP.32, section 6.3.2.4 */ |
| 626 | template (present) EsipaMessageFromIpaToEim |
| 627 | tr_handleNotificationEsipa_prfleInstRslt := { |
| 628 | handleNotificationEsipa := { |
| 629 | pendingNotification := { |
| 630 | profileInstallationResult := { |
| 631 | profileInstallationResultData := tr_profileInstallationResultData, |
| 632 | euiccSignPIR := ? |
| 633 | } |
| 634 | } |
| 635 | } |
| 636 | } |
| 637 | template (value) EsipaMessageFromIpaToEim |
| 638 | ts_handleNotificationEsipa_prfleInstRslt := { |
| 639 | handleNotificationEsipa := { |
| 640 | pendingNotification := { |
| 641 | profileInstallationResult := { |
| 642 | profileInstallationResultData := ts_profileInstallationResultData, |
Philipp Maier | 68e476c | 2024-06-12 15:04:49 +0200 | [diff] [blame^] | 643 | euiccSignPIR := '5252525252525252525252525252525252525252525252525252525252525252 |
| 644 | 5353535353535353535353535353535353535353535353535353535353535353'O |
Philipp Maier | bff6337 | 2024-05-14 17:41:16 +0200 | [diff] [blame] | 645 | } |
| 646 | } |
| 647 | } |
| 648 | } |
| 649 | |
Philipp Maier | 08902cf | 2024-03-04 10:32:55 +0100 | [diff] [blame] | 650 | /* GSMA SGP.32, section 6.3.2.7 */ |
Philipp Maier | 6e04d17 | 2024-05-16 15:22:01 +0200 | [diff] [blame] | 651 | template (present) EuiccPackageResult |
| 652 | tr_euiccPackageResultSigned_enablePsmo := { |
| 653 | euiccPackageResultSigned := { |
| 654 | euiccPackageResultDataSigned := { |
| 655 | eimId := ?, |
| 656 | counterValue := ?, |
| 657 | transactionId := *, |
| 658 | seqNumber := ?, |
| 659 | euiccResult := { |
| 660 | { |
Philipp Maier | ab2e72a | 2024-05-21 11:11:46 +0200 | [diff] [blame] | 661 | enableResult := ? |
Philipp Maier | 6e04d17 | 2024-05-16 15:22:01 +0200 | [diff] [blame] | 662 | } |
| 663 | } |
| 664 | }, |
| 665 | euiccSignEPR := ? |
| 666 | } |
| 667 | } |
| 668 | template (value) EuiccPackageResult |
| 669 | ts_euiccPackageResultSigned_enablePsmo := { |
| 670 | euiccPackageResultSigned := { |
| 671 | euiccPackageResultDataSigned := { |
| 672 | eimId := "myEIM", |
| 673 | counterValue := 1, |
| 674 | transactionId := omit, |
| 675 | seqNumber := 123, |
| 676 | euiccResult := { |
| 677 | { |
Philipp Maier | ab2e72a | 2024-05-21 11:11:46 +0200 | [diff] [blame] | 678 | enableResult := 0 |
Philipp Maier | 6e04d17 | 2024-05-16 15:22:01 +0200 | [diff] [blame] | 679 | } |
| 680 | } |
| 681 | }, |
Philipp Maier | 68e476c | 2024-06-12 15:04:49 +0200 | [diff] [blame^] | 682 | euiccSignEPR := '5252525252525252525252525252525252525252525252525252525252525252 |
| 683 | 5353535353535353535353535353535353535353535353535353535353535353'O |
Philipp Maier | 6e04d17 | 2024-05-16 15:22:01 +0200 | [diff] [blame] | 684 | } |
| 685 | } |
| 686 | template (present) EuiccPackageResult |
| 687 | tr_euiccPackageResultSigned_disablePsmo := { |
| 688 | euiccPackageResultSigned := { |
| 689 | euiccPackageResultDataSigned := { |
| 690 | eimId := ?, |
| 691 | counterValue := ?, |
| 692 | transactionId := *, |
| 693 | seqNumber := ?, |
| 694 | euiccResult := { |
| 695 | { |
Philipp Maier | ab2e72a | 2024-05-21 11:11:46 +0200 | [diff] [blame] | 696 | disableResult := ? |
Philipp Maier | 6e04d17 | 2024-05-16 15:22:01 +0200 | [diff] [blame] | 697 | } |
| 698 | } |
| 699 | }, |
| 700 | euiccSignEPR := ? |
| 701 | } |
| 702 | } |
| 703 | template (value) EuiccPackageResult |
| 704 | ts_euiccPackageResultSigned_disablePsmo := { |
| 705 | euiccPackageResultSigned := { |
| 706 | euiccPackageResultDataSigned := { |
| 707 | eimId := "myEIM", |
| 708 | counterValue := 1, |
| 709 | transactionId := omit, |
| 710 | seqNumber := 123, |
| 711 | euiccResult := { |
| 712 | { |
Philipp Maier | ab2e72a | 2024-05-21 11:11:46 +0200 | [diff] [blame] | 713 | disableResult := 0 |
Philipp Maier | 6e04d17 | 2024-05-16 15:22:01 +0200 | [diff] [blame] | 714 | } |
| 715 | } |
| 716 | }, |
Philipp Maier | 68e476c | 2024-06-12 15:04:49 +0200 | [diff] [blame^] | 717 | euiccSignEPR := '5252525252525252525252525252525252525252525252525252525252525252 |
| 718 | 5353535353535353535353535353535353535353535353535353535353535353'O |
Philipp Maier | 6e04d17 | 2024-05-16 15:22:01 +0200 | [diff] [blame] | 719 | } |
| 720 | } |
| 721 | template (present) EuiccPackageResult |
| 722 | tr_euiccPackageResultSigned_deletePsmo := { |
| 723 | euiccPackageResultSigned := { |
| 724 | euiccPackageResultDataSigned := { |
| 725 | eimId := ?, |
| 726 | counterValue := ?, |
| 727 | transactionId := *, |
| 728 | seqNumber := ?, |
| 729 | euiccResult := { |
| 730 | { |
Philipp Maier | ab2e72a | 2024-05-21 11:11:46 +0200 | [diff] [blame] | 731 | deleteResult := ? |
Philipp Maier | 6e04d17 | 2024-05-16 15:22:01 +0200 | [diff] [blame] | 732 | } |
| 733 | } |
| 734 | }, |
| 735 | euiccSignEPR := ? |
| 736 | } |
| 737 | } |
| 738 | template (value) EuiccPackageResult |
| 739 | ts_euiccPackageResultSigned_deletePsmo := { |
| 740 | euiccPackageResultSigned := { |
| 741 | euiccPackageResultDataSigned := { |
| 742 | eimId := "myEIM", |
| 743 | counterValue := 1, |
| 744 | transactionId := omit, |
| 745 | seqNumber := 123, |
| 746 | euiccResult := { |
| 747 | { |
Philipp Maier | ab2e72a | 2024-05-21 11:11:46 +0200 | [diff] [blame] | 748 | deleteResult := 0 |
Philipp Maier | 6e04d17 | 2024-05-16 15:22:01 +0200 | [diff] [blame] | 749 | } |
| 750 | } |
| 751 | }, |
Philipp Maier | 68e476c | 2024-06-12 15:04:49 +0200 | [diff] [blame^] | 752 | euiccSignEPR := '5252525252525252525252525252525252525252525252525252525252525252 |
| 753 | 5353535353535353535353535353535353535353535353535353535353535353'O |
Philipp Maier | 6e04d17 | 2024-05-16 15:22:01 +0200 | [diff] [blame] | 754 | } |
| 755 | } |
| 756 | template (present) EuiccPackageResult |
| 757 | tr_euiccPackageResultSigned_disableAndDeletePsmo := { |
| 758 | euiccPackageResultSigned := { |
| 759 | euiccPackageResultDataSigned := { |
| 760 | eimId := ?, |
| 761 | counterValue := ?, |
| 762 | transactionId := *, |
| 763 | seqNumber := ?, |
| 764 | euiccResult := { |
| 765 | { |
Philipp Maier | ab2e72a | 2024-05-21 11:11:46 +0200 | [diff] [blame] | 766 | disableResult := ? |
Philipp Maier | 6e04d17 | 2024-05-16 15:22:01 +0200 | [diff] [blame] | 767 | }, |
| 768 | { |
Philipp Maier | ab2e72a | 2024-05-21 11:11:46 +0200 | [diff] [blame] | 769 | deleteResult := ? |
Philipp Maier | 6e04d17 | 2024-05-16 15:22:01 +0200 | [diff] [blame] | 770 | } |
| 771 | } |
| 772 | }, |
| 773 | euiccSignEPR := ? |
| 774 | } |
| 775 | } |
| 776 | template (value) EuiccPackageResult |
| 777 | ts_euiccPackageResultSigned_disableAndDeletePsmo := { |
| 778 | euiccPackageResultSigned := { |
| 779 | euiccPackageResultDataSigned := { |
| 780 | eimId := "myEIM", |
| 781 | counterValue := 1, |
| 782 | transactionId := omit, |
| 783 | seqNumber := 123, |
| 784 | euiccResult := { |
| 785 | { |
Philipp Maier | ab2e72a | 2024-05-21 11:11:46 +0200 | [diff] [blame] | 786 | disableResult := 0 |
Philipp Maier | 6e04d17 | 2024-05-16 15:22:01 +0200 | [diff] [blame] | 787 | }, |
| 788 | { |
Philipp Maier | ab2e72a | 2024-05-21 11:11:46 +0200 | [diff] [blame] | 789 | deleteResult := 0 |
Philipp Maier | 6e04d17 | 2024-05-16 15:22:01 +0200 | [diff] [blame] | 790 | } |
| 791 | } |
| 792 | }, |
Philipp Maier | 68e476c | 2024-06-12 15:04:49 +0200 | [diff] [blame^] | 793 | euiccSignEPR := '5252525252525252525252525252525252525252525252525252525252525252 |
| 794 | 5353535353535353535353535353535353535353535353535353535353535353'O |
Philipp Maier | 6e04d17 | 2024-05-16 15:22:01 +0200 | [diff] [blame] | 795 | } |
| 796 | } |
Philipp Maier | ace1ac0 | 2024-05-21 11:14:35 +0200 | [diff] [blame] | 797 | template (present) EuiccPackageResult |
| 798 | tr_euiccPackageResultSigned_listProfileInfo := { |
| 799 | euiccPackageResultSigned := { |
| 800 | euiccPackageResultDataSigned := { |
| 801 | eimId := ?, |
| 802 | counterValue := ?, |
| 803 | transactionId := *, |
| 804 | seqNumber := ?, |
| 805 | euiccResult := { |
| 806 | { |
| 807 | listProfileInfoResult := ? |
| 808 | } |
| 809 | } |
| 810 | }, |
| 811 | euiccSignEPR := ? |
| 812 | } |
| 813 | } |
| 814 | template (value) EuiccPackageResult |
| 815 | ts_euiccPackageResultSigned_listProfileInfo := { |
| 816 | euiccPackageResultSigned := { |
| 817 | euiccPackageResultDataSigned := { |
| 818 | eimId := "myEIM", |
| 819 | counterValue := 1, |
| 820 | transactionId := omit, |
| 821 | seqNumber := 123, |
| 822 | euiccResult := { |
| 823 | { |
| 824 | listProfileInfoResult := { |
| 825 | profileInfoListOk := { |
| 826 | { |
Philipp Maier | 1ff26e8 | 2024-05-24 16:35:35 +0200 | [diff] [blame] | 827 | iccid := '123456789ABCDEFFAAAA'O, |
Philipp Maier | ace1ac0 | 2024-05-21 11:14:35 +0200 | [diff] [blame] | 828 | isdpAid := omit, |
Philipp Maier | 1ff26e8 | 2024-05-24 16:35:35 +0200 | [diff] [blame] | 829 | profileState := 1, /* enabled */ |
Philipp Maier | ace1ac0 | 2024-05-21 11:14:35 +0200 | [diff] [blame] | 830 | profileNickname := omit, |
| 831 | serviceProviderName := omit, |
| 832 | profileName := "testme", |
| 833 | iconType := omit, |
| 834 | icon := omit, |
Philipp Maier | 1ff26e8 | 2024-05-24 16:35:35 +0200 | [diff] [blame] | 835 | profileClass := 2, /* operational */ |
Philipp Maier | ace1ac0 | 2024-05-21 11:14:35 +0200 | [diff] [blame] | 836 | notificationConfigurationInfo := omit, |
| 837 | profileOwner := omit, |
| 838 | dpProprietaryData := omit, |
| 839 | profilePolicyRules := omit, |
| 840 | serviceSpecificDataStoredInEuicc := omit |
| 841 | } |
| 842 | } |
| 843 | } |
| 844 | } |
| 845 | } |
| 846 | }, |
Philipp Maier | 68e476c | 2024-06-12 15:04:49 +0200 | [diff] [blame^] | 847 | euiccSignEPR := '5252525252525252525252525252525252525252525252525252525252525252 |
| 848 | 5353535353535353535353535353535353535353535353535353535353535353'O |
Philipp Maier | ace1ac0 | 2024-05-21 11:14:35 +0200 | [diff] [blame] | 849 | } |
| 850 | } |
| 851 | template (present) EuiccPackageResult |
| 852 | tr_euiccPackageResultSigned_getRAT := { |
| 853 | euiccPackageResultSigned := { |
| 854 | euiccPackageResultDataSigned := { |
| 855 | eimId := ?, |
| 856 | counterValue := ?, |
| 857 | transactionId := *, |
| 858 | seqNumber := ?, |
| 859 | euiccResult := { |
| 860 | { |
| 861 | getRATResult := ? |
| 862 | } |
| 863 | } |
| 864 | }, |
| 865 | euiccSignEPR := ? |
| 866 | } |
| 867 | } |
| 868 | template (value) EuiccPackageResult |
| 869 | ts_euiccPackageResultSigned_getRAT := { |
| 870 | euiccPackageResultSigned := { |
| 871 | euiccPackageResultDataSigned := { |
| 872 | eimId := "myEIM", |
| 873 | counterValue := 1, |
| 874 | transactionId := omit, |
| 875 | seqNumber := 123, |
| 876 | euiccResult := { |
| 877 | { |
| 878 | getRATResult := { |
| 879 | { |
| 880 | pprIds := '000'B, |
| 881 | allowedOperators := { |
| 882 | { |
| 883 | mccMnc := '001F01'O, |
| 884 | gid1 := omit, |
| 885 | gid2 := omit |
| 886 | } |
| 887 | }, |
| 888 | pprFlags := '0'B |
| 889 | } |
| 890 | } |
| 891 | } |
| 892 | } |
| 893 | }, |
Philipp Maier | 68e476c | 2024-06-12 15:04:49 +0200 | [diff] [blame^] | 894 | euiccSignEPR := '5252525252525252525252525252525252525252525252525252525252525252 |
| 895 | 5353535353535353535353535353535353535353535353535353535353535353'O |
Philipp Maier | ace1ac0 | 2024-05-21 11:14:35 +0200 | [diff] [blame] | 896 | } |
| 897 | } |
| 898 | template (present) EuiccPackageResult |
| 899 | tr_euiccPackageResultSigned_configureAutoEnable := { |
| 900 | euiccPackageResultSigned := { |
| 901 | euiccPackageResultDataSigned := { |
| 902 | eimId := ?, |
| 903 | counterValue := ?, |
| 904 | transactionId := *, |
| 905 | seqNumber := ?, |
| 906 | euiccResult := { |
| 907 | { |
| 908 | configureAutoEnableResult := ? |
| 909 | } |
| 910 | } |
| 911 | }, |
| 912 | euiccSignEPR := ? |
| 913 | } |
| 914 | } |
| 915 | template (value) EuiccPackageResult |
| 916 | ts_euiccPackageResultSigned_configureAutoEnable := { |
| 917 | euiccPackageResultSigned := { |
| 918 | euiccPackageResultDataSigned := { |
| 919 | eimId := "myEIM", |
| 920 | counterValue := 1, |
| 921 | transactionId := omit, |
| 922 | seqNumber := 123, |
| 923 | euiccResult := { |
| 924 | { |
| 925 | configureAutoEnableResult := 0 |
| 926 | } |
| 927 | } |
| 928 | }, |
Philipp Maier | 68e476c | 2024-06-12 15:04:49 +0200 | [diff] [blame^] | 929 | euiccSignEPR := '5252525252525252525252525252525252525252525252525252525252525252 |
| 930 | 5353535353535353535353535353535353535353535353535353535353535353'O |
Philipp Maier | ace1ac0 | 2024-05-21 11:14:35 +0200 | [diff] [blame] | 931 | } |
| 932 | } |
Philipp Maier | 6d11f52 | 2024-05-23 15:58:28 +0200 | [diff] [blame] | 933 | template (present) EuiccPackageResult |
| 934 | tr_euiccPackageResultSigned_addEim := { |
| 935 | euiccPackageResultSigned := { |
| 936 | euiccPackageResultDataSigned := { |
| 937 | eimId := ?, |
| 938 | counterValue := ?, |
| 939 | transactionId := *, |
| 940 | seqNumber := ?, |
| 941 | euiccResult := { |
| 942 | { |
| 943 | addEimResult := ? |
| 944 | } |
| 945 | } |
| 946 | }, |
| 947 | euiccSignEPR := ? |
| 948 | } |
| 949 | } |
| 950 | template (value) EuiccPackageResult |
| 951 | ts_euiccPackageResultSigned_addEim := { |
| 952 | euiccPackageResultSigned := { |
| 953 | euiccPackageResultDataSigned := { |
| 954 | eimId := "myEIM", |
| 955 | counterValue := 1, |
| 956 | transactionId := omit, |
| 957 | seqNumber := 123, |
| 958 | euiccResult := { |
| 959 | { |
| 960 | addEimResult := { |
Philipp Maier | db9898a | 2024-05-24 16:32:31 +0200 | [diff] [blame] | 961 | associationToken := 123 |
Philipp Maier | 6d11f52 | 2024-05-23 15:58:28 +0200 | [diff] [blame] | 962 | } |
| 963 | } |
| 964 | } |
| 965 | }, |
Philipp Maier | 68e476c | 2024-06-12 15:04:49 +0200 | [diff] [blame^] | 966 | euiccSignEPR := '5252525252525252525252525252525252525252525252525252525252525252 |
| 967 | 5353535353535353535353535353535353535353535353535353535353535353'O |
Philipp Maier | 6d11f52 | 2024-05-23 15:58:28 +0200 | [diff] [blame] | 968 | } |
| 969 | } |
| 970 | template (present) EuiccPackageResult |
| 971 | tr_euiccPackageResultSigned_deleteEim := { |
| 972 | euiccPackageResultSigned := { |
| 973 | euiccPackageResultDataSigned := { |
| 974 | eimId := ?, |
| 975 | counterValue := ?, |
| 976 | transactionId := *, |
| 977 | seqNumber := ?, |
| 978 | euiccResult := { |
| 979 | { |
| 980 | deleteEimResult := ? |
| 981 | } |
| 982 | } |
| 983 | }, |
| 984 | euiccSignEPR := ? |
| 985 | } |
| 986 | } |
| 987 | template (value) EuiccPackageResult |
| 988 | ts_euiccPackageResultSigned_deleteEim := { |
| 989 | euiccPackageResultSigned := { |
| 990 | euiccPackageResultDataSigned := { |
| 991 | eimId := "myEIM", |
| 992 | counterValue := 1, |
| 993 | transactionId := omit, |
| 994 | seqNumber := 123, |
| 995 | euiccResult := { |
| 996 | { |
| 997 | deleteEimResult := 0 |
| 998 | } |
| 999 | } |
| 1000 | }, |
Philipp Maier | 68e476c | 2024-06-12 15:04:49 +0200 | [diff] [blame^] | 1001 | euiccSignEPR := '5252525252525252525252525252525252525252525252525252525252525252 |
| 1002 | 5353535353535353535353535353535353535353535353535353535353535353'O |
Philipp Maier | 6d11f52 | 2024-05-23 15:58:28 +0200 | [diff] [blame] | 1003 | } |
| 1004 | } |
| 1005 | template (present) EuiccPackageResult |
| 1006 | tr_euiccPackageResultSigned_updateEim := { |
| 1007 | euiccPackageResultSigned := { |
| 1008 | euiccPackageResultDataSigned := { |
| 1009 | eimId := ?, |
| 1010 | counterValue := ?, |
| 1011 | transactionId := *, |
| 1012 | seqNumber := ?, |
| 1013 | euiccResult := { |
| 1014 | { |
| 1015 | updateEimResult := ? |
| 1016 | } |
| 1017 | } |
| 1018 | }, |
| 1019 | euiccSignEPR := ? |
| 1020 | } |
| 1021 | } |
| 1022 | template (value) EuiccPackageResult |
| 1023 | ts_euiccPackageResultSigned_updateEim := { |
| 1024 | euiccPackageResultSigned := { |
| 1025 | euiccPackageResultDataSigned := { |
| 1026 | eimId := "myEIM", |
| 1027 | counterValue := 1, |
| 1028 | transactionId := omit, |
| 1029 | seqNumber := 123, |
| 1030 | euiccResult := { |
| 1031 | { |
| 1032 | updateEimResult := 0 |
| 1033 | } |
| 1034 | } |
| 1035 | }, |
Philipp Maier | 68e476c | 2024-06-12 15:04:49 +0200 | [diff] [blame^] | 1036 | euiccSignEPR := '5252525252525252525252525252525252525252525252525252525252525252 |
| 1037 | 5353535353535353535353535353535353535353535353535353535353535353'O |
Philipp Maier | 6d11f52 | 2024-05-23 15:58:28 +0200 | [diff] [blame] | 1038 | } |
| 1039 | } |
| 1040 | template (present) EuiccPackageResult |
| 1041 | tr_euiccPackageResultSigned_listEim := { |
| 1042 | euiccPackageResultSigned := { |
| 1043 | euiccPackageResultDataSigned := { |
| 1044 | eimId := ?, |
| 1045 | counterValue := ?, |
| 1046 | transactionId := *, |
| 1047 | seqNumber := ?, |
| 1048 | euiccResult := { |
| 1049 | { |
| 1050 | listEimResult := ? |
| 1051 | } |
| 1052 | } |
| 1053 | }, |
| 1054 | euiccSignEPR := ? |
| 1055 | } |
| 1056 | } |
| 1057 | template (value) EuiccPackageResult |
| 1058 | ts_euiccPackageResultSigned_listEim := { |
| 1059 | euiccPackageResultSigned := { |
| 1060 | euiccPackageResultDataSigned := { |
| 1061 | eimId := "myEIM", |
| 1062 | counterValue := 1, |
| 1063 | transactionId := omit, |
| 1064 | seqNumber := 123, |
| 1065 | euiccResult := { |
| 1066 | { |
| 1067 | listEimResult := { |
| 1068 | eimIdList := { |
| 1069 | { |
| 1070 | eimId := "eIM", |
| 1071 | eimIdType := omit |
| 1072 | } |
| 1073 | } |
| 1074 | } |
| 1075 | } |
| 1076 | } |
| 1077 | }, |
Philipp Maier | 68e476c | 2024-06-12 15:04:49 +0200 | [diff] [blame^] | 1078 | euiccSignEPR := '5252525252525252525252525252525252525252525252525252525252525252 |
| 1079 | 5353535353535353535353535353535353535353535353535353535353535353'O |
Philipp Maier | 6d11f52 | 2024-05-23 15:58:28 +0200 | [diff] [blame] | 1080 | } |
| 1081 | } |
Philipp Maier | e4de06e | 2024-04-10 15:58:22 +0200 | [diff] [blame] | 1082 | template (present) EsipaMessageFromIpaToEim |
Philipp Maier | 6e04d17 | 2024-05-16 15:22:01 +0200 | [diff] [blame] | 1083 | tr_provideEimPackageResult_ePRAndNotif(template (present) EuiccPackageResult euiccPackageResult := tr_euiccPackageResultSigned_enablePsmo) := { |
Philipp Maier | e4de06e | 2024-04-10 15:58:22 +0200 | [diff] [blame] | 1084 | provideEimPackageResult := { |
| 1085 | ePRAndNotifications := { |
Philipp Maier | 6e04d17 | 2024-05-16 15:22:01 +0200 | [diff] [blame] | 1086 | euiccPackageResult := euiccPackageResult, |
Philipp Maier | e4de06e | 2024-04-10 15:58:22 +0200 | [diff] [blame] | 1087 | notificationList := ? |
| 1088 | } |
| 1089 | } |
| 1090 | } |
Philipp Maier | 6e04d17 | 2024-05-16 15:22:01 +0200 | [diff] [blame] | 1091 | template (value) EsipaMessageFromIpaToEim |
| 1092 | ts_provideEimPackageResult_ePRAndNotif(template (value) EuiccPackageResult euiccPackageResult := ts_euiccPackageResultSigned_enablePsmo) := { |
| 1093 | provideEimPackageResult := { |
| 1094 | ePRAndNotifications := { |
| 1095 | euiccPackageResult := euiccPackageResult, |
| 1096 | notificationList := { |
| 1097 | notificationList := { } |
| 1098 | } |
| 1099 | } |
| 1100 | } |
| 1101 | } |
| 1102 | |
Philipp Maier | 08902cf | 2024-03-04 10:32:55 +0100 | [diff] [blame] | 1103 | template (present) EsipaMessageFromEimToIpa |
Philipp Maier | 88f2481 | 2024-04-10 15:55:51 +0200 | [diff] [blame] | 1104 | tr_provideEimPackageResultResponse_eimAck := { |
Philipp Maier | 08902cf | 2024-03-04 10:32:55 +0100 | [diff] [blame] | 1105 | provideEimPackageResultResponse := { |
| 1106 | eimAcknowledgements := * |
| 1107 | } |
| 1108 | } |
| 1109 | template (value) EsipaMessageFromEimToIpa |
Philipp Maier | 88f2481 | 2024-04-10 15:55:51 +0200 | [diff] [blame] | 1110 | ts_provideEimPackageResultResponse_eimAck(template (value) EimAcknowledgements eimAcknowledgements := {}) := { |
Philipp Maier | 08902cf | 2024-03-04 10:32:55 +0100 | [diff] [blame] | 1111 | provideEimPackageResultResponse := { |
| 1112 | eimAcknowledgements := eimAcknowledgements |
| 1113 | } |
| 1114 | } |
| 1115 | |
| 1116 | /* GSMA SGP.32, section 2.11.1.2 */ |
| 1117 | template (present) GetCertsResponse |
| 1118 | tr_getCertsResponse := { |
| 1119 | certs := { |
| 1120 | eumCertificate := ?, |
| 1121 | euiccCertificate := ? |
| 1122 | } |
| 1123 | } |
| 1124 | template (value) GetCertsResponse |
| 1125 | ts_getCertsResponse := { |
| 1126 | certs := { |
| 1127 | eumCertificate := ts_cert_s_sm_dpauth_nist, |
| 1128 | euiccCertificate := ts_cert_eum_nist |
| 1129 | } |
| 1130 | } |
| 1131 | |
| 1132 | /* GSMA SGP.32, section 5.9.18 */ |
Philipp Maier | 6434785 | 2024-05-23 15:53:16 +0200 | [diff] [blame] | 1133 | template (present) EimConfigurationData |
| 1134 | tr_eimConfigurationData := { |
| 1135 | eimId := ?, |
| 1136 | eimFqdn := *, |
| 1137 | eimIdType := *, |
| 1138 | counterValue := *, |
| 1139 | associationToken := *, |
| 1140 | eimPublicKeyData := *, |
| 1141 | trustedPublicKeyDataTls := *, |
| 1142 | eimSupportedProtocol := *, |
| 1143 | euiccCiPKId := * |
| 1144 | } |
| 1145 | template (value) EimConfigurationData |
| 1146 | ts_eimConfigurationData(template (omit) charstring eimFqdn := omit) := { |
| 1147 | eimId := "myEIM", |
| 1148 | eimFqdn := eimFqdn, |
| 1149 | eimIdType := omit, |
| 1150 | counterValue := omit, |
| 1151 | associationToken := 123, |
| 1152 | eimPublicKeyData := omit, |
| 1153 | trustedPublicKeyDataTls := omit, |
| 1154 | eimSupportedProtocol := omit, |
| 1155 | euiccCiPKId := omit |
| 1156 | } |
Philipp Maier | 08902cf | 2024-03-04 10:32:55 +0100 | [diff] [blame] | 1157 | template (present) GetEimConfigurationDataResponse |
| 1158 | tr_getEimConfigurationDataResponse := { |
| 1159 | eimConfigurationDataList := ? |
| 1160 | } |
| 1161 | template (value) GetEimConfigurationDataResponse |
| 1162 | ts_getEimConfigurationDataResponse(template (value) charstring eimFqdn := "127.0.0.1") := { |
| 1163 | eimConfigurationDataList := { |
Philipp Maier | 6434785 | 2024-05-23 15:53:16 +0200 | [diff] [blame] | 1164 | ts_eimConfigurationData(eimFqdn) |
Philipp Maier | 08902cf | 2024-03-04 10:32:55 +0100 | [diff] [blame] | 1165 | } |
| 1166 | } |
| 1167 | |
| 1168 | /* GSMA SGP.32, section 5.9.4 */ |
| 1169 | template (present) AddInitialEimResponse |
| 1170 | tr_addInitialEimResponse := { |
| 1171 | addInitialEimOk := ? |
| 1172 | } |
| 1173 | template (value) AddInitialEimResponse |
Philipp Maier | d9887d3 | 2024-04-10 15:48:05 +0200 | [diff] [blame] | 1174 | ts_addInitialEimResponse := { |
Philipp Maier | 08902cf | 2024-03-04 10:32:55 +0100 | [diff] [blame] | 1175 | addInitialEimOk := { |
| 1176 | { |
| 1177 | addOk := NULL |
| 1178 | } |
| 1179 | } |
| 1180 | } |
| 1181 | |
Philipp Maier | 4a24fb0 | 2024-04-10 16:01:06 +0200 | [diff] [blame] | 1182 | /* GSMA SGP.32, section 5.9.16 */ |
| 1183 | template (present) ProfileRollbackRequest |
| 1184 | tr_profileRollbackRequest := { |
| 1185 | refreshFlag := ? |
| 1186 | } |
| 1187 | template (value) ProfileRollbackRequest |
| 1188 | ts_profileRollbackRequest := { |
| 1189 | refreshFlag := false |
| 1190 | } |
| 1191 | template (present) ProfileRollbackResponse |
| 1192 | tr_profileRollbackResponse := { |
| 1193 | cmdResult := ?, |
| 1194 | eUICCPackageResult := ? |
| 1195 | } |
| 1196 | template (value) ProfileRollbackResponse |
| 1197 | ts_profileRollbackResponse := { |
| 1198 | cmdResult := 0, |
| 1199 | eUICCPackageResult := { |
| 1200 | euiccPackageResultSigned := { |
| 1201 | euiccPackageResultDataSigned := { |
| 1202 | eimId := "myEim", |
| 1203 | counterValue := 333, |
| 1204 | transactionId := omit, |
| 1205 | seqNumber := 1234, |
| 1206 | euiccResult := { |
| 1207 | { |
| 1208 | enableResult := 0 |
| 1209 | }, |
| 1210 | { |
| 1211 | rollbackResult := 0 |
| 1212 | } |
| 1213 | } |
| 1214 | }, |
Philipp Maier | 68e476c | 2024-06-12 15:04:49 +0200 | [diff] [blame^] | 1215 | euiccSignEPR := '5252525252525252525252525252525252525252525252525252525252525252 |
| 1216 | 5353535353535353535353535353535353535353535353535353535353535353'O |
| 1217 | |
Philipp Maier | 4a24fb0 | 2024-04-10 16:01:06 +0200 | [diff] [blame] | 1218 | } |
| 1219 | } |
| 1220 | } |
| 1221 | |
| 1222 | |
Philipp Maier | 978ab44 | 2024-04-10 15:46:45 +0200 | [diff] [blame] | 1223 | } |