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 | |
| 254 | /* GSMA SGP.32, section 6.3.2.6 */ |
| 255 | template (value) EsipaMessageFromEimToIpa |
| 256 | ts_getEimPackageResponse_euiccPkgReq := { |
| 257 | getEimPackageResponse := { |
| 258 | euiccPackageRequest := { |
| 259 | euiccPackageSigned := { |
| 260 | eimId := "myEim", |
| 261 | eidValue := '00112233445566778899AABBCCDDEEFF'O, |
| 262 | counterValue := 123, |
| 263 | transactionId := omit, |
| 264 | euiccPackage := { |
| 265 | psmoList := { |
| 266 | { |
Philipp Maier | ac10cee | 2024-04-10 15:51:47 +0200 | [diff] [blame] | 267 | enable := { |
| 268 | iccid := '123456789ABCDEFFAAAA'O, |
| 269 | rollbackFlag := NULL |
Philipp Maier | 08902cf | 2024-03-04 10:32:55 +0100 | [diff] [blame] | 270 | } |
| 271 | } |
| 272 | } |
| 273 | } |
| 274 | }, |
| 275 | eimSignature := '1234567890'O |
| 276 | } |
| 277 | } |
| 278 | } |
| 279 | |
| 280 | /* GSMA SGP.32, section 6.3.2.5 */ |
| 281 | template (present) EsipaMessageFromIpaToEim |
| 282 | tr_cancelSessionRequestEsipa := { |
| 283 | cancelSessionRequestEsipa := { |
| 284 | transactionId := ?, |
| 285 | cancelSessionResponse := { |
| 286 | cancelSessionResponseOk := tr_cancelSessionResponseOk |
| 287 | } |
| 288 | } |
| 289 | } |
| 290 | template (value) EsipaMessageFromIpaToEim |
| 291 | ts_cancelSessionRequestEsipa := { |
| 292 | cancelSessionRequestEsipa := { |
| 293 | transactionId := 'AABBCC'O, |
| 294 | cancelSessionResponse := { |
| 295 | cancelSessionResponseOk := ts_cancelSessionResponseOk |
| 296 | } |
| 297 | } |
| 298 | } |
| 299 | |
| 300 | /* GSMA SGP.32, section 6.3.2.5 */ |
| 301 | template (present) EsipaMessageFromEimToIpa |
| 302 | tr_cancelSessionResponseEsipa := { |
| 303 | cancelSessionResponseEsipa := { |
| 304 | cancelSessionOk := { |
| 305 | /* This function has no output data */ |
| 306 | } |
| 307 | } |
| 308 | } |
| 309 | template (value) EsipaMessageFromEimToIpa |
| 310 | ts_cancelSessionResponseEsipa := { |
| 311 | cancelSessionResponseEsipa := { |
| 312 | cancelSessionOk := { |
| 313 | /* This function has no output data */ |
| 314 | } |
| 315 | } |
| 316 | } |
| 317 | |
| 318 | /* GSMA SGP.32, section 6.3.2.3 */ |
Philipp Maier | 3b7bad3 | 2024-05-13 12:36:58 +0200 | [diff] [blame] | 319 | template (present) EsipaMessageFromIpaToEim |
| 320 | tr_getBoundProfilePackageRequestEsipa := { |
| 321 | getBoundProfilePackageRequestEsipa := { |
| 322 | transactionId := ?, |
| 323 | prepareDownloadResponse := { |
| 324 | downloadResponseOk := tr_prepareDownloadResponseOk |
| 325 | } |
| 326 | } |
| 327 | } |
| 328 | template (value) EsipaMessageFromIpaToEim |
| 329 | ts_getBoundProfilePackageRequestEsipa := { |
| 330 | getBoundProfilePackageRequestEsipa := { |
| 331 | transactionId := 'ABCDEF'O, |
| 332 | prepareDownloadResponse := { |
| 333 | downloadResponseOk := ts_prepareDownloadResponseOk |
| 334 | } |
| 335 | } |
| 336 | } |
| 337 | |
| 338 | /* GSMA SGP.32, section 6.3.2.3 */ |
Philipp Maier | 08902cf | 2024-03-04 10:32:55 +0100 | [diff] [blame] | 339 | template (present) EsipaMessageFromEimToIpa |
| 340 | tr_getBoundProfilePackageResponseEsipa := { |
| 341 | getBoundProfilePackageResponseEsipa := { |
| 342 | getBoundProfilePackageOkEsipa := { |
| 343 | transactionId := *, |
| 344 | boundProfilePackage := tr_boundProfilePackage |
| 345 | } |
| 346 | } |
| 347 | } |
| 348 | template (value) EsipaMessageFromEimToIpa |
| 349 | ts_getBoundProfilePackageResponseEsipa := { |
| 350 | getBoundProfilePackageResponseEsipa := { |
| 351 | getBoundProfilePackageOkEsipa := { |
| 352 | transactionId := omit, |
| 353 | boundProfilePackage := ts_boundProfilePackage |
| 354 | } |
| 355 | } |
| 356 | } |
| 357 | |
| 358 | /* GSMA SGP.32, section 5.9.1 */ |
| 359 | template (present) EuiccPackageResult |
| 360 | tr_euiccPackageResult := { |
| 361 | euiccPackageResultSigned := { |
| 362 | euiccPackageResultDataSigned := { |
| 363 | eimId := ?, |
| 364 | counterValue := ?, |
| 365 | transactionId := *, |
| 366 | seqNumber := ?, |
| 367 | euiccResult := ? |
| 368 | }, |
| 369 | euiccSignEPR := ? |
| 370 | } |
| 371 | } |
| 372 | template (value) EuiccPackageResult |
| 373 | ts_euiccPackageResult := { |
| 374 | euiccPackageResultSigned := { |
| 375 | euiccPackageResultDataSigned := { |
| 376 | eimId := "myEim", |
| 377 | counterValue := 333, |
| 378 | transactionId := omit, |
| 379 | seqNumber := 1234, |
| 380 | euiccResult := { |
| 381 | { |
Philipp Maier | ac10cee | 2024-04-10 15:51:47 +0200 | [diff] [blame] | 382 | enableResult := 0 |
Philipp Maier | 08902cf | 2024-03-04 10:32:55 +0100 | [diff] [blame] | 383 | } |
| 384 | } |
| 385 | }, |
| 386 | euiccSignEPR := 'AABBCCDDEEFF'O |
| 387 | } |
| 388 | } |
| 389 | |
Philipp Maier | bff6337 | 2024-05-14 17:41:16 +0200 | [diff] [blame^] | 390 | /* GSMA SGP.32, section 6.3.2.4 */ |
| 391 | template (present) EsipaMessageFromIpaToEim |
| 392 | tr_handleNotificationEsipa_prfleInstRslt := { |
| 393 | handleNotificationEsipa := { |
| 394 | pendingNotification := { |
| 395 | profileInstallationResult := { |
| 396 | profileInstallationResultData := tr_profileInstallationResultData, |
| 397 | euiccSignPIR := ? |
| 398 | } |
| 399 | } |
| 400 | } |
| 401 | } |
| 402 | template (value) EsipaMessageFromIpaToEim |
| 403 | ts_handleNotificationEsipa_prfleInstRslt := { |
| 404 | handleNotificationEsipa := { |
| 405 | pendingNotification := { |
| 406 | profileInstallationResult := { |
| 407 | profileInstallationResultData := ts_profileInstallationResultData, |
| 408 | euiccSignPIR := '00112233445566778899AABBCCDDEEFF'O |
| 409 | } |
| 410 | } |
| 411 | } |
| 412 | } |
| 413 | |
Philipp Maier | 08902cf | 2024-03-04 10:32:55 +0100 | [diff] [blame] | 414 | /* GSMA SGP.32, section 6.3.2.7 */ |
Philipp Maier | e4de06e | 2024-04-10 15:58:22 +0200 | [diff] [blame] | 415 | template (present) EsipaMessageFromIpaToEim |
| 416 | tr_provideEimPackageResult_ePRAndNotif := { |
| 417 | provideEimPackageResult := { |
| 418 | ePRAndNotifications := { |
| 419 | euiccPackageResult := ?, |
| 420 | notificationList := ? |
| 421 | } |
| 422 | } |
| 423 | } |
Philipp Maier | 08902cf | 2024-03-04 10:32:55 +0100 | [diff] [blame] | 424 | template (present) EsipaMessageFromEimToIpa |
Philipp Maier | 88f2481 | 2024-04-10 15:55:51 +0200 | [diff] [blame] | 425 | tr_provideEimPackageResultResponse_eimAck := { |
Philipp Maier | 08902cf | 2024-03-04 10:32:55 +0100 | [diff] [blame] | 426 | provideEimPackageResultResponse := { |
| 427 | eimAcknowledgements := * |
| 428 | } |
| 429 | } |
| 430 | template (value) EsipaMessageFromEimToIpa |
Philipp Maier | 88f2481 | 2024-04-10 15:55:51 +0200 | [diff] [blame] | 431 | ts_provideEimPackageResultResponse_eimAck(template (value) EimAcknowledgements eimAcknowledgements := {}) := { |
Philipp Maier | 08902cf | 2024-03-04 10:32:55 +0100 | [diff] [blame] | 432 | provideEimPackageResultResponse := { |
| 433 | eimAcknowledgements := eimAcknowledgements |
| 434 | } |
| 435 | } |
| 436 | |
| 437 | /* GSMA SGP.32, section 2.11.1.2 */ |
| 438 | template (present) GetCertsResponse |
| 439 | tr_getCertsResponse := { |
| 440 | certs := { |
| 441 | eumCertificate := ?, |
| 442 | euiccCertificate := ? |
| 443 | } |
| 444 | } |
| 445 | template (value) GetCertsResponse |
| 446 | ts_getCertsResponse := { |
| 447 | certs := { |
| 448 | eumCertificate := ts_cert_s_sm_dpauth_nist, |
| 449 | euiccCertificate := ts_cert_eum_nist |
| 450 | } |
| 451 | } |
| 452 | |
| 453 | /* GSMA SGP.32, section 5.9.18 */ |
| 454 | template (present) GetEimConfigurationDataResponse |
| 455 | tr_getEimConfigurationDataResponse := { |
| 456 | eimConfigurationDataList := ? |
| 457 | } |
| 458 | template (value) GetEimConfigurationDataResponse |
| 459 | ts_getEimConfigurationDataResponse(template (value) charstring eimFqdn := "127.0.0.1") := { |
| 460 | eimConfigurationDataList := { |
| 461 | { |
| 462 | eimId := "myEIM", |
| 463 | eimFqdn := eimFqdn, |
| 464 | eimIdType := omit, |
| 465 | counterValue := omit, |
| 466 | associationToken := 123, |
| 467 | eimPublicKeyData := omit, |
| 468 | trustedPublicKeyDataTls := omit, |
| 469 | eimSupportedProtocol := omit, |
| 470 | euiccCiPKId := omit |
| 471 | } |
| 472 | } |
| 473 | } |
| 474 | |
| 475 | /* GSMA SGP.32, section 5.9.4 */ |
| 476 | template (present) AddInitialEimResponse |
| 477 | tr_addInitialEimResponse := { |
| 478 | addInitialEimOk := ? |
| 479 | } |
| 480 | template (value) AddInitialEimResponse |
Philipp Maier | d9887d3 | 2024-04-10 15:48:05 +0200 | [diff] [blame] | 481 | ts_addInitialEimResponse := { |
Philipp Maier | 08902cf | 2024-03-04 10:32:55 +0100 | [diff] [blame] | 482 | addInitialEimOk := { |
| 483 | { |
| 484 | addOk := NULL |
| 485 | } |
| 486 | } |
| 487 | } |
| 488 | |
Philipp Maier | 4a24fb0 | 2024-04-10 16:01:06 +0200 | [diff] [blame] | 489 | /* GSMA SGP.32, section 5.9.16 */ |
| 490 | template (present) ProfileRollbackRequest |
| 491 | tr_profileRollbackRequest := { |
| 492 | refreshFlag := ? |
| 493 | } |
| 494 | template (value) ProfileRollbackRequest |
| 495 | ts_profileRollbackRequest := { |
| 496 | refreshFlag := false |
| 497 | } |
| 498 | template (present) ProfileRollbackResponse |
| 499 | tr_profileRollbackResponse := { |
| 500 | cmdResult := ?, |
| 501 | eUICCPackageResult := ? |
| 502 | } |
| 503 | template (value) ProfileRollbackResponse |
| 504 | ts_profileRollbackResponse := { |
| 505 | cmdResult := 0, |
| 506 | eUICCPackageResult := { |
| 507 | euiccPackageResultSigned := { |
| 508 | euiccPackageResultDataSigned := { |
| 509 | eimId := "myEim", |
| 510 | counterValue := 333, |
| 511 | transactionId := omit, |
| 512 | seqNumber := 1234, |
| 513 | euiccResult := { |
| 514 | { |
| 515 | enableResult := 0 |
| 516 | }, |
| 517 | { |
| 518 | rollbackResult := 0 |
| 519 | } |
| 520 | } |
| 521 | }, |
| 522 | euiccSignEPR := 'AABBCCDDEEFF'O |
| 523 | } |
| 524 | } |
| 525 | } |
| 526 | |
| 527 | |
Philipp Maier | 978ab44 | 2024-04-10 15:46:45 +0200 | [diff] [blame] | 528 | } |