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