blob: 8456ef49998dfaf65e925e16f0fb1948c077db50 [file] [log] [blame]
Philipp Maier08902cf2024-03-04 10:32:55 +01001-- Section 2.1.3
2-- ASN1START
3SGP32Definitions {joint-iso-itu-t(2) international-organizations(23) gsma(146) rsp(1) asn1modules(1) sgp32v1(31)}
4DEFINITIONS
5AUTOMATIC TAGS
6EXTENSIBILITY IMPLIED ::=
7BEGIN
8
9IMPORTS Certificate, SubjectPublicKeyInfo
10FROM PKIX1Explicit88 {iso(1) identified-organization(3) dod(6) internet(1) security(5) mechanisms(5) pkix(7) id-mod(0) id-pkix1-explicit(18)}
11SubjectKeyIdentifier FROM PKIX1Implicit88 {iso(1) identified-organization(3) dod(6) internet(1) security(5) mechanisms(5) pkix(7) id-mod(0) id-pkix1-implicit(19)}
12
13ProfileInfo, EuiccSigned1, CancelSessionReason, RetrieveNotificationsListResponse,
14ServerSigned1, RspCapability, Iccid, TransactionId, ProfileInfoListRequest,
15ProfileInfoListResponse, RulesAuthorisationTable, EUICCInfo1, DeviceInfo,
16VersionType, UICCCapability, PprIds,
17CertificationDataObject, Octet1, Octet16, Octet32, PrepareDownloadResponse,
18PrepareDownloadResponseOk, PrepareDownloadResponseError,
19AuthenticateServerResponse, AuthenticateResponseOk, AuthenticateResponseError,
20CtxParams1, ProfileInstallationResult, ProfileInstallationResultData,
21OtherSignedNotification, EuiccSignPIR, ErrorResult, NotificationMetadata,
22CancelSessionResponse, CancelSessionResponseOk,
23StoreMetadataRequest, SmdpSigned2, BoundProfilePackage, NotificationEvent
24FROM RSPDefinitions {joint-iso-itu-t(2) international-organizations(23) gsma(146) rsp(1) asn1modules(1) sgp22v2(2)};
25-- ASN1STOP
26
27-- Section 2.11.1.1
28-- ASN1START
29EuiccPackageRequest ::= [81] SEQUENCE { -- Tag ' BF51', #SupportedForPsmoV1.0.0#
30 euiccPackageSigned EuiccPackageSigned,
31 eimSignature [APPLICATION 55] OCTET STRING -- Tag '5F37'
32}
33EuiccPackageSigned ::= SEQUENCE {
34 eimId [0] UTF8String,
35 eidValue [APPLICATION 26] Octet16, -- Tag '5A'
36 counterValue [1] INTEGER,
37 transactionId [2] TransactionId OPTIONAL,
38 euiccPackage EuiccPackage
39}
40EuiccPackage ::= CHOICE {
41 psmoList SEQUENCE OF Psmo, -- #SupportedForPsmoV1.0.0#
42 ecoList SEQUENCE OF Eco -- #SupportedForEcoV1.0.0#
43}
44-- ASN1STOP
45
46
47-- Section 2.11.1.1.1
48-- ASN1START
49EimConfigurationData ::= SEQUENCE {
50 eimId [0] UTF8String, -- eimId of eIM
51 eimFqdn [1] UTF8String OPTIONAL, -- FQDN of eIM
52 eimIdType [2] EimIdType OPTIONAL,
53 counterValue [3] INTEGER OPTIONAL, -- initial counterValue for the eIM
54 associationToken [4] INTEGER OPTIONAL,
55 eimPublicKeyData [5] CHOICE {
56 eimPublicKey SubjectPublicKeyInfo, -- public key of eIM, used for eUICC Package signature verification, where the encoding follows X.509 standard
57 eimCertificate Certificate -- certificate of eIM, used for eUICC Package signature verification, where the encoding follows X.509 standard
58 } OPTIONAL,
59 trustedPublicKeyDataTls [6] CHOICE {
60 trustedEimPkTls SubjectPublicKeyInfo, -- public key of eIM, used for TLS or DTLS, where the encoding follows X.509 standard
61 trustedCertificateTls Certificate -- either the certificate of eIM, used for (D)TLS, or the certificate of the CA, where the encoding follows X.509 standard
62 } OPTIONAL,
63 eimSupportedProtocol [7] EimSupportedProtocol OPTIONAL,
64 euiccCiPKId [8] SubjectKeyIdentifier OPTIONAL -- CI Public Key Identifier supported on the eUICC for signature creation
65}
66EimIdType ::= INTEGER {
67 eimIdTypeOid(1),
68 eimIdTypeFqdn(2),
69 eimIdTypeProprietary(3)
70}
71 EimSupportedProtocol ::= BIT STRING {
72 eimRetrieveHttps(0),
73 eimRetrieveCoaps(1),
74 eimInjectHttps(2),
75 eimInjectCoaps(3),
76 eimProprietary(4)
77}
78-- ASN1STOP
79
80-- Section 2.11.1.1.2
81-- ASN1START
82Eco ::= CHOICE {
83 addEim [8] EimConfigurationData, -- for eIM configuration data see 2.11.1
84 deleteEim [9] SEQUENCE {eimId [0] UTF8String},
85 updateEim [10] EimConfigurationData,
86 listEim [11] SEQUENCE {}
87}
88-- ASN1STOP
89
90-- Section 2.11.1.1.3
91-- ASN1START
92Psmo ::= CHOICE {
93 enable [3] SEQUENCE {
94 iccid [APPLICATION 26] Iccid,
95 rollbackFlag NULL OPTIONAL
96 },
97 disable [4] SEQUENCE {iccid [APPLICATION 26] Iccid},
98 delete [5] SEQUENCE {iccid [APPLICATION 26] Iccid},
99 listProfileInfo [45] ProfileInfoListRequest, -- Tag 'BF2D'
100 getRAT [6] SEQUENCE {},
101 configureAutoEnable [7] SEQUENCE {
102 autoEnableFlag [0] NULL OPTIONAL,
103 smdpOid [1] OBJECT IDENTIFIER OPTIONAL,
104 smdpAddress [2] UTF8String OPTIONAL
105 }
106}
107-- ASN1STOP
108
109
110-- Section 2.11.1.2
111-- ASN1START
112IpaEuiccDataRequest ::= [82] SEQUENCE { -- Tag BF52
113 tagList [APPLICATION 28] OCTET STRING, -- Tag '5C'
114 euiccCiPKId SubjectKeyIdentifier OPTIONAL, -- CI Public Key Identifier supported on the eUICC for signature creation
115 searchCriteria [1] CHOICE {
116 seqNumber [0] INTEGER,
117 profileManagementOperation [1] NotificationEvent,
118 euiccPackageResults [2] NULL
119 } OPTIONAL
120}
121-- ASN1STOP
122
123-- Section 2.11.1.3
124-- ASN1START
125ProfileDownloadTriggerRequest ::= [84] SEQUENCE { -- Tag 'BF54'
126 profileDownloadData [0] ProfileDownloadData OPTIONAL,
127 eimTransactionId [2] TransactionId OPTIONAL
128}
129ProfileDownloadData ::= CHOICE {
130 activationCode [0] UTF8String (SIZE(0..255)),
131 contactDefaultSmdp [1] NULL,
132 contactSmds [2] SEQUENCE {
133 smdsAddress UTF8String OPTIONAL
134 }
135}
136-- ASN1STOP
137
138-- Section 2.11.1.4
139-- ASN1START
140EimAcknowledgements ::= [83] SEQUENCE OF SequenceNumber -- Tag BF53
141SequenceNumber ::= [0] INTEGER
142-- ASN1STOP
143
144
145-- Section 2.11.2.1
146-- ASN1START
147EuiccPackageResult ::= [81] CHOICE { -- Tag 'BF51' #SupportedForPsmoV1.0.0#
148 euiccPackageResultSigned EuiccPackageResultSigned,
149 euiccPackageErrorSigned EuiccPackageErrorSigned,
150 euiccPackageErrorUnsigned EuiccPackageErrorUnsigned
151}
152EuiccPackageResultSigned ::= SEQUENCE {
153 euiccPackageResultDataSigned EuiccPackageResultDataSigned,
154 euiccSignEPR [APPLICATION 55] OCTET STRING -- Tag '5F37'
155}
156EuiccPackageResultDataSigned ::= SEQUENCE { -- #SupportedForPsmoV1.0.0#
157 eimId [0] UTF8String,
158 counterValue [1] INTEGER,
159 transactionId[2] TransactionId OPTIONAL,
160 seqNumber [3] INTEGER,
161 euiccResult SEQUENCE OF EuiccResultData
162}
163EuiccResultData ::= CHOICE {
164 enableResult [3] EnableProfileResult,
165 disableResult [4] DisableProfileResult,
166 deleteResult [5] DeleteProfileResult,
167 listProfileInfoResult [45] SGP32-ProfileInfoListResponse,
168 getRATResult [6] RulesAuthorisationTable, -- see SGP.22
169 configureAutoEnableResult [7] ConfigureAutoEnableResult,
170 addEimResult [8] AddEimResult,
171 deleteEimResult [9] DeleteEimResult,
172 updateEimResult [10] UpdateEimResult,
173 listEimResult [11] ListEimResult,
174 rollbackResult [12] RollbackProfileResult,
175 processingTerminated INTEGER {
176 resultSizeOverflow(1),
177 unknownOrDamagedCommand(2),
178 interruption(3),
179 undefinedError(127)
180 }
181}
182EuiccPackageErrorSigned ::= SEQUENCE {
183 euiccPackageErrorDataSigned EuiccPackageErrorDataSigned,
184 euiccSignEPE [APPLICATION 55] OCTET STRING -- Tag '5F37'
185}
186EuiccPackageErrorDataSigned ::= SEQUENCE {
187 eimId [0] UTF8String,
188 counterValue [1] INTEGER,
189 transactionId [2] TransactionId OPTIONAL,
190 euiccPackageErrorCode EuiccPackageErrorCode
191}
192EuiccPackageErrorCode ::= INTEGER { invalidEid(3), replayError(4), counterValueOutOfRange(6), sizeOverflow(15), undefinedError(127)}
193EuiccPackageErrorUnsigned ::= SEQUENCE {
194 eimId [0] UTF8String,
195 associationToken [4] INTEGER OPTIONAL
196}
197ConfigureAutoEnableResult ::= INTEGER {
198 ok(0),
199 insufficientMemory(1),
200 commandError(7),
201 undefinedError(127)
202}
203EnableProfileResult ::= INTEGER {
204 ok(0),
205 iccidOrAidNotFound(1),
206 profileNotInDisabledState(2),
207 undefinedError(127)
208}
209DisableProfileResult ::= INTEGER {
210 ok(0),
211 iccidOrAidNotFound(1),
212 profileNotInEnabledState(2),
213 undefinedError(127)
214}
215DeleteProfileResult ::= INTEGER {
216 ok(0),
217 iccidOrAidNotFound(1),
218 profileNotInDisabledState(2),
219 undefinedError(127)
220}
221SGP32-ProfileInfoListResponse ::= [45] CHOICE {
222 profileInfoListOk SEQUENCE OF ProfileInfo, -- see SGP.22
223 profileInfoListError SGP32-ProfileInfoListError
224}
225SGP32-ProfileInfoListError ::= INTEGER {
226 incorrectInputValues(1),
227 profileChangeOngoing (11),
228 undefinedError(127)
229}
230RollbackProfileResult ::= INTEGER {
231 ok(0),
232 undefinedError(127)
233}
234AddEimResult ::= CHOICE {
235 associationToken [4] INTEGER,
236 addEimResultCode INTEGER {
237 ok(0),
238 insufficientMemory(1),
239 ciPKUnknown(3),
240 invalidAssociationToken(5),
241 counterValueOutOfRange(6),
242 commandError(7),
243 undefinedError(127)
244 }
245}
246DeleteEimResult ::= INTEGER {
247 ok(0),
248 eimNotFound(1),
249 lastEimDeleted(2), -- no eIM Configuration Data available in eUICC,
250 commandError(7),
251 undefinedError(127)
252}
253UpdateEimResult ::= INTEGER {
254 ok(0),
255 eimNotFound (1),
256 ciPKUnknown(3),
257 counterValueOutOfRange(6),
258 commandError(7),
259 undefinedError(127)
260}
261ListEimResult ::= CHOICE {
262 eimIdList SEQUENCE OF EimIdInfo,
263 listEimError INTEGER {
264 commandError(7),
265 undefinedError(127)
266 }
267}
268EimIdInfo ::= SEQUENCE {
269 eimId [0] UTF8String,
270 eimIdType [4] EimIdType OPTIONAL -- present in case of eimIdTypeOid and eimIdTypeFqdn
271}
272-- ASN1STOP
273
274-- Section 2.11.2.2
275-- ASN1START
276IpaEuiccDataResponse ::= [82] CHOICE { -- Tag 'BF52'
277 ipaEuiccData IpaEuiccData,
278 ipaEuiccDataError INTEGER {
279 incorrectTagList (1),
280 euiccCiPKIdNotFound(5),
281 undefinedError(127)
282 }
283}
284IpaEuiccData ::= SEQUENCE {
285 defaultSmdpAddress [0] UTF8String OPTIONAL, -- Tag '80'
286 euiccInfo1 [32] EUICCInfo1 OPTIONAL, -- Tag 'BF20'
287 euiccInfo2 [34] SGP32-EUICCInfo2 OPTIONAL, -- Tag 'BF22'
288 rootSmdsAddress [3] UTF8String OPTIONAL, -- Tag '83'
289 associationToken [4] INTEGER OPTIONAL, -- Tag '84'
290 eumCertificate [5] Certificate OPTIONAL, -- Tag 'A5'
291 euiccCertificate [6] Certificate OPTIONAL, -- Tag 'A6'
292 ipaCapabilities [8] IpaCapabilities OPTIONAL, -- Tag '88'
293 deviceInfo [9] DeviceInfo OPTIONAL, -- Tag 'A9'
294 notificationsList [43] SGP32-RetrieveNotificationsListResponse OPTIONAL -- Tag 'BF2B'.
295}
296-- ASN1STOP
297
298-- Section 2.11.2.3
299-- ASN1START
300ProfileDownloadTriggerResult ::= [84] SEQUENCE { -- tag 'BF54'
301 eimTransactionId [2] TransactionId OPTIONAL,
302 profileDownloadTriggerResultData CHOICE {
303 profileInstallationResult [55] SGP32-ProfileInstallationResult, -- see SGP.22 [4]
304 profileDownloadError SEQUENCE {
305 errorResponse OCTET STRING OPTIONAL
306 }
307 }
308}
309-- ASN1STOP
310
311-- Section 4.1
312-- ASN1START
313IpaCapabilities ::= SEQUENCE {
314 ipaFeatures [0] BIT STRING {
315 directRspServerCommunication (0),
316 indirectRspServerCommunication (1),
317 eimDownloadDataHandling (2),
318 eimCtxParams1Generation (3),
319 eimProfileMetadataVerification (4),
320 minimizeEsipaBytes (5)
321 },
322 ipaSupportedProtocols [1] BIT STRING {
323 ipaRetrieveHttps(0),
324 ipaRetrieveCoaps(1),
325 ipaInjectHttps(2),
326 ipaInjectCoaps(3),
327 ipaProprietary(4)
328 } OPTIONAL
329}
330-- ASN1STOP
331
332-- Section 5.9.2
333-- ASN1START
334SGP32-EUICCInfo2 ::= [34] SEQUENCE { -- Tag 'BF22'
335 profileVersion [1] VersionType, -- Base eUICC Profile package version supported
336 svn [2] VersionType, -- GSMA SGP.22 version supported (SVN)referenced by SGP.32
337 euiccFirmwareVer [3] VersionType, -- eUICC Firmware version
338 extCardResource [4] OCTET STRING, -- Extended Card Resource Information according to ETSI TS 102 226
339 uiccCapability [5] UICCCapability,
340 ts102241Version [6] VersionType OPTIONAL,
341 globalplatformVersion [7] VersionType OPTIONAL,
342 rspCapability [8] RspCapability,
343 euiccCiPKIdListForVerification [9] SEQUENCE OF SubjectKeyIdentifier, -- List of CI Public Key Identifiers supported on the eUICC for signature verification
344 euiccCiPKIdListForSigning [10] SEQUENCE OF SubjectKeyIdentifier, -- List of CI Public Key Identifier supported on the eUICC for signature creation
345 euiccCategory [11] INTEGER {
346 other(0),
347 basicEuicc(1),
348 mediumEuicc(2),
349 contactlessEuicc(3)
350 } OPTIONAL,
351 forbiddenProfilePolicyRules [25] PprIds OPTIONAL, -- Tag '99'
352 ppVersion VersionType, -- Protection Profile version
353 sasAcreditationNumber UTF8String (SIZE(0..64)),
354 certificationDataObject [12] CertificationDataObject OPTIONAL,
355 treProperties [13] BIT STRING {
356 isDiscrete(0),
357 isIntegrated(1),
358 usesRemoteMemory(2) -- refers to the usage of remote memory protected by the Remote Memory Protection Function described in SGP.21 [4]
359 } OPTIONAL,
360 treProductReference [14] UTF8String OPTIONAL, -- Platform_Label as defined in GlobalPlatform DLOA specification [57]
361 additionalEuiccProfilePackageVersions [15] SEQUENCE OF VersionType OPTIONAL,
362 ipaMode [16] IpaMode OPTIONAL, -- active IPA, mandatory within SGP.32
363 rfu2 [17] SEQUENCE OF SubjectKeyIdentifier OPTIONAL, -- not used by this version of SGP.32.
364 rfu3 [18] OCTET STRING (SIZE(0..32)) OPTIONAL,
365 -- not used by this version of SGP.32
366 rfu4 [19] VersionType OPTIONAL, -- not used by this version of SGP.32
367 iotSpecificInfo [20] IoTSpecificInfo OPTIONAL -- mandatory within SGP.32
368}
369-- Definition of IoTSpecificInfo
370IoTSpecificInfo ::= SEQUENCE {
371iotVersion [0] SEQUENCE OF VersionType -- SGP.32 version(s) supported by the eUICC, at least one must be present
372}
373-- Definition of IpaMode
374IpaMode ::= INTEGER {
375ipad (0), -- IPAd is active
376ipae (1) -- IPAe is active
377}
378-- ASN1STOP
379
380-- Section 5.9.4
381-- ASN1START
382AddInitialEimRequest ::= [87] SEQUENCE { -- Tag 'BF57'
383 eimConfigurationDataList [0] SEQUENCE OF EimConfigurationData
384}
385-- ASN1STOP
386
387-- Section 5.9.4
388-- ASN1START
389AddInitialEimResponse ::= [87] CHOICE { -- Tag 'BF57'
390 addInitialEimOk SEQUENCE OF CHOICE {
391 associationToken [4] INTEGER,
392 addOk NULL
393 },
394 addInitialEimError INTEGER {
395 insufficientMemory(1),
396 unsignedEimConfigDisallowed(2),
397 ciPKUnknown(3),
398 invalidAssociationToken(5),
399 counterValueOutOfRange(6),
400 undefinedError(127)
401 }
402}
403-- ASN1STOP
404
405
406-- Section 5.9.10
407-- ASN1START
408GetCertsRequest ::= [86] SEQUENCE { -- Tag 'BF56'
409 euiccCiPKId SubjectKeyIdentifier OPTIONAL -- CI Public Key Identifier supported on the eUICC for signature creation
410}
411-- ASN1STOP
412-- ASN1START
413GetCertsResponse ::= [86] CHOICE { -- Tag 'BF56'
414 certs SEQUENCE {
415 eumCertificate [5] Certificate, -- Tag 'A5'
416 euiccCertificate [6] Certificate -- Tag 'A6'
417 },
418 getCertsError INTEGER {invalidCiPKId(1), undfinedError(127)}
419}
420-- ASN1STOP
421
422-- Section 5.9.11 (no ASN1START/STOP)!
423SGP32-RetrieveNotificationsListRequest ::= [43] SEQUENCE { -- Tag 'BF2B'
424 searchCriteria CHOICE {
425 seqNumber [0] INTEGER,
426 profileManagementOperation [1] NotificationEvent,
427 euiccPackageResults [2] NULL
428 } OPTIONAL
429}
430
431-- ASN1START
432SGP32-RetrieveNotificationsListResponse ::= [43] CHOICE { -- Tag 'BF2B'
433 notificationList SEQUENCE OF SGP32-PendingNotification,
434 notificationsListResultError INTEGER { undefinedError(127)},
435 euiccPackageResultList SEQUENCE OF EuiccPackageResult,
436 notificationAndEprList SEQUENCE {
437 notificationList SEQUENCE OF SGP32-PendingNotification,
438 euiccPackageResultList SEQUENCE OF EuiccPackageResult
439 }
440}
441-- ASN1STOP
442
443-- Section 5.9.15
444-- ASN1START
445EnableUsingDDRequest ::= [90] SEQUENCE { -- Tag 'BF5A'
446}
447-- ASN1STOP
448-- ASN1START
449EnableUsingDDResponse ::= [90] SEQUENCE { -- Tag 'BF5A'
450 enableUsingDDResult [0] INTEGER {
451 ok(0),
452 autoEnableNotAvailable(1),
453 noSessionContext(4),
454 undefinedError(127)
455 }
456}
457-- ASN1STOP
458
459-- Section 5.9.16
460-- ASN1START
461ProfileRollbackRequest ::= [88] SEQUENCE { -- Tag 'BF58'
462 refreshFlag BOOLEAN -- indicating whether REFRESH is required
463}
464-- ASN1STOP
465-- ASN1START
466ProfileRollbackResponse ::= [88] SEQUENCE { -- Tag 'BF58'
467 cmdResult INTEGER {
468 ok(0),
469 rollbackNotAllowed(1), -- Usage of rollback was not granted by the eIM
470 catBusy(5),
471 commandError(7),
472 undefinedError(127)
473 },
474 eUICCPackageResult [81] EuiccPackageResult OPTIONAL
475}
476-- ASN1STOP
477
478-- Section 5.9.17
479-- ASN1START
480ConfigureAutoProfileEnablingRequest ::= [89] SEQUENCE { -- Tag 'BF59'
481 autoEnableFlag [0] NULL OPTIONAL,
482 smdpOid [1] OBJECT IDENTIFIER OPTIONAL,
483 smdpAddress [2] UTF8String OPTIONAL
484}
485-- ASN1STOP
486-- ASN1START
487ConfigureAutoProfileEnablingResponse ::= [89] SEQUENCE { -- Tag 'BF59'
488 configAutoEnableResult [0] INTEGER {
489 ok(0),
490 insufficientMemory(1),
491 unsignedAutoEnableConfigDisallowed(2),
492 undefinedError(127)
493 }
494}
495-- ASN1STOP
496
497-- Section 5.9.18
498-- ASN1START
499GetEimConfigurationDataRequest ::= [85] SEQUENCE { -- Tag 'BF55'
500}
501-- ASN1STOP
502-- ASN1START
503GetEimConfigurationDataResponse ::= [85] SEQUENCE { -- Tag 'BF55'
504 eimConfigurationDataList [0] SEQUENCE OF EimConfigurationData
505}
506-- ASN1STOP
507
508-- Section 5.14.2
509-- ASN1START
510SGP32-PrepareDownloadResponse ::= [33] CHOICE { -- Tag 'BF21'
511 downloadResponseOk PrepareDownloadResponseOk,
512 downloadResponseError PrepareDownloadResponseError,
513 compactDownloadResponseOk CompactPrepareDownloadResponseOk
514}
515CompactPrepareDownloadResponseOk ::= SEQUENCE {
516 compactEuiccSigned2 CompactEuiccSigned2, -- Compact version of EuiccSigned2
517 euiccSignature2 [APPLICATION 55] OCTET STRING -- tag '5F37' signature on EuiccSigned2
518}
519CompactEuiccSigned2 ::= SEQUENCE {
520 euiccOtpk [APPLICATION 73] OCTET STRING OPTIONAL, -- otPK.EUICC.ECKA, tag '5F49' euiccOtpk is always present except if bppEuiccOtpk was chosen by the eUICC
521 hashCc Octet32 OPTIONAL -- Hash of confirmation code, if not received from Eim
522}
523-- ASN1STOP
524
525-- Section 5.14.3
526-- ASN1START
527SGP32-AuthenticateServerResponse ::= [56] CHOICE { -- Tag 'BF38'
528 authenticateResponseOk AuthenticateResponseOk,
529 authenticateResponseError AuthenticateResponseError,
530 compactAuthenticateResponseOk CompactAuthenticateResponseOk
531}
532CompactAuthenticateResponseOk ::= SEQUENCE {
533 signedData CHOICE {
534 euiccSigned1 EuiccSigned1,
535 compactEuiccSigned1 [0] CompactEuiccSigned1 -- Compact version of EuiccSigned1
536 },
537 euiccSignature1 [APPLICATION 55] OCTET STRING, -- tag 5F37 signature on EuiccSigned1
538 euiccCertificate [1] Certificate OPTIONAL, -- eUICC Certificate (CERT.EUICC.ECDSA)
539 eumCertificate [2] Certificate OPTIONAL -- EUM Certificate (CERT.EUM.ECDSA)
540}
541CompactEuiccSigned1 ::= SEQUENCE {
542 extCardResource [4] OCTET STRING, -- Extended Card Resource Information according to ETSI TS 102 226 extracted from euiccInfo2,
543 ctxParams1 [2] CtxParams1 OPTIONAL -- ctxParams1 may be left out by IPA if eIM ctxParams1 was received from the eIM
544}
545-- ASN1STOP
546
547-- Section 5.14.7
548-- ASN1START
549SGP32-PendingNotification ::= CHOICE {
550 profileInstallationResult [55] SGP32-ProfileInstallationResult, -- tag 'BF37'
551 otherSignedNotification OtherSignedNotification,
552 compactProfileInstallationResult [0] CompactProfileInstallationResult,
553 compactOtherSignedNotification [1] CompactOtherSignedNotification
554}
555SGP32-ProfileInstallationResult ::= [55] SEQUENCE { -- Tag 'BF37'
556 profileInstallationResultData [39] ProfileInstallationResultData,
557 euiccSignPIR EuiccSignPIR
558}
559CompactProfileInstallationResult ::= SEQUENCE {
560 compactProfileInstallationResultData [0] CompactProfileInstallationResultData,
561 euiccSignPIR EuiccSignPIR
562}
563CompactProfileInstallationResultData ::= SEQUENCE {
564 transactionId [0] TransactionId, -- The TransactionID generated by the SM-DP+
565 seqNumber INTEGER,
566 iccidPresent BOOLEAN DEFAULT TRUE,
567 compactFinalResult [2] CHOICE {
568 compactSuccessResult CompactSuccessResult,
569 errorResult ErrorResult
570 }
571}
572CompactSuccessResult ::= SEQUENCE {
573 compactAid [APPLICATION 15] OCTET STRING (SIZE (2)), -- Byte 14 and 15 of ISD-P AID
574 simaResponse OCTET STRING OPTIONAL -- MUST be present if the simaResponse value (EUICCResponse) is different from the 9-byte value ‘30 07 A0 05 30 03 80 01 00’ representing success
575}
576CompactOtherSignedNotification ::= SEQUENCE {
577 tbsOtherNotification NotificationMetadata,
578 euiccNotificationSignature [APPLICATION 55] OCTET STRING -- eUICC signature of tbsOtherNotification, Tag '5F37'
579}
580-- ASN1STOP
581
582-- Section 5.14.8
583-- ASN1START
584SGP32-CancelSessionResponse ::= [65] CHOICE { -- Tag 'BF41'
585 cancelSessionResponseOk CancelSessionResponseOk,
586 cancelSessionResponseError INTEGER {invalidTransactionId(5), undefinedError(127)},
587 compactCancelSessionResponseOk CompactCancelSessionResponseOk
588}
589CompactCancelSessionResponseOk ::= SEQUENCE {
590 compactEuiccCancelSessionSigned CompactEuiccCancelSessionSigned, -- Compact version of euiccCancelSessionSigned
591 euiccCancelSessionSignature [APPLICATION 55] OCTET STRING -- tag 5F37 signature on euiccCancelSessionSigned
592}
593CompactEuiccCancelSessionSigned ::= SEQUENCE {
594 reason CancelSessionReason OPTIONAL
595}
596-- ASN1STOP
597
598-- Section 6.3.1
599-- ASN1START
600EsipaMessageFromIpaToEim ::= CHOICE {
601 initiateAuthenticationRequestEsipa [57] InitiateAuthenticationRequestEsipa, -- Tag 'BF39'
602 authenticateClientRequestEsipa [59] AuthenticateClientRequestEsipa, -- Tag 'BF3B'
603 getBoundProfilePackageRequestEsipa [58] GetBoundProfilePackageRequestEsipa, -- Tag 'BF3A'
604 cancelSessionRequestEsipa [65] CancelSessionRequestEsipa, -- Tag 'BF41'
605 handleNotificationEsipa [61] HandleNotificationEsipa, -- Tag 'BF3D'
606 transferEimPackageResponse [78] TransferEimPackageResponse, -- Tag 'BF4E'
607 getEimPackageRequest [79] GetEimPackageRequest, -- Tag 'BF4F'
608 provideEimPackageResult [80] ProvideEimPackageResult -- Tag 'BF50'
609}
610EsipaMessageFromEimToIpa ::= CHOICE {
611 initiateAuthenticationResponseEsipa [57] InitiateAuthenticationResponseEsipa, -- Tag 'BF39'
612 authenticateClientResponseEsipa [59] AuthenticateClientResponseEsipa, -- Tag 'BF3B'
613 getBoundProfilePackageResponseEsipa [58] GetBoundProfilePackageResponseEsipa, -- Tag 'BF3A'
614 cancelSessionResponseEsipa [65] CancelSessionResponseEsipa, -- Tag 'BF41'
615 transferEimPackageRequest [78] TransferEimPackageRequest, -- Tag 'BF4E'
616 getEimPackageResponse [79] GetEimPackageResponse, -- Tag 'BF4F'
617 provideEimPackageResultResponse [80] ProvideEimPackageResultResponse -- Tag 'BF50'
618}
619-- ASN1STOP
620
621-- Section 6.3.2
622-- ASN1START
623InitiateAuthenticationRequestEsipa ::= [57] SEQUENCE { -- Tag 'BF39'
624 euiccChallenge [1] Octet16, -- random eUICC challenge
625 smdpAddress [3] UTF8String OPTIONAL,
626 euiccInfo1 EUICCInfo1 OPTIONAL
627}
628InitiateAuthenticationResponseEsipa ::= [57] CHOICE { -- Tag 'BF39'
629 initiateAuthenticationOkEsipa InitiateAuthenticationOkEsipa,
630 initiateAuthenticationErrorEsipa INTEGER {
631 invalidDpAddress(1),
632 euiccVersionNotSupportedByDp(2),
633 ciPKIdNotSupported(3),
634 smdpAddressMismatch(50),
635 smdpOidMismatch(51)
636}
637}
638InitiateAuthenticationOkEsipa ::= SEQUENCE {
639 transactionId [0] TransactionId OPTIONAL, -- The TransactionID generated by the SM-DP+
640 serverSigned1 ServerSigned1, -- Signed information
641 serverSignature1 [APPLICATION 55] OCTET STRING, -- Server Sign1, Tag '5F37'
642 euiccCiPKIdToBeUsed OCTET STRING, -- Key identifier (possibly truncated) of the CI Public Key to be used as required by ES10b.AuthenticateServer
643 serverCertificate Certificate,
644 matchingId UTF8String OPTIONAL,
645 ctxParams1 [2] CtxParams1 OPTIONAL
646}
647-- ASN1STOP
648
649-- Section 6.3.2.2
650-- ASN1START
651AuthenticateClientRequestEsipa ::= [59] SEQUENCE { -- Tag 'BF3B'
652 transactionId [0] TransactionId,
653 authenticateServerResponse [56] SGP32-AuthenticateServerResponse -- This is the response from ES10b.AuthenticateServer, possibly in compact format
654}
655AuthenticateClientResponseEsipa ::= [59] CHOICE { -- Tag 'BF3B'
656 authenticateClientOkDPEsipa AuthenticateClientOkDPEsipa,
657 authenticateClientOkDSEsipa AuthenticateClientOkDSEsipa,
658 authenticateClientErrorEsipa INTEGER {
659 eumCertificateInvalid(1),
660 eumCertificateExpired(2),
661 euiccCertificateInvalid(3),
662 euiccCertificateExpired(4),
663 euiccSignatureInvalid(5),
664 matchingIdRefused(6),
665 eidMismatch(7),
666 noEligibleProfile(8),
667 ciPKUnknown(9),
668 invalidTransactionId(10),
669 insufficientMemory(11),
670 pprNotAllowed(50),
671 eventIdUnknown(56),
672 undefinedError(127)
673 }
674}
675AuthenticateClientOkDPEsipa ::= SEQUENCE {
676 transactionId [0] TransactionId OPTIONAL,
677 profileMetaData [37] StoreMetadataRequest OPTIONAL,
678 smdpSigned2 SmdpSigned2, -- Signed information
679 smdpSignature2 [APPLICATION 55] OCTET STRING, -- Tag '5F37'
680 smdpCertificate Certificate, -- CERT.DPpb.ECDSA
681 hashCc Octet32 OPTIONAL -- Hash of confirmation code
682}
683AuthenticateClientOkDSEsipa ::= SEQUENCE {
684 transactionId [0] TransactionId,
685 profileDownloadTrigger [84] ProfileDownloadTriggerRequest OPTIONAL -- Tag 'BF54'
686}
687-- ASN1STOP
688
689-- Section 6.3.2.3
690-- ASN1START
691GetBoundProfilePackageRequestEsipa ::= [58] SEQUENCE { -- Tag 'BF3A'
692 transactionId [0] TransactionId,
693 prepareDownloadResponse [33] SGP32-PrepareDownloadResponse -- This is the response from ES10b.PrepareDownload, possibly in compact format
694}
695GetBoundProfilePackageResponseEsipa ::= [58] CHOICE { -- Tag 'BF3A'
696 getBoundProfilePackageOkEsipa GetBoundProfilePackageOkEsipa,
697 getBoundProfilePackageErrorEsipa INTEGER {
698 euiccSignatureInvalid(1),
699 confirmationCodeMissing(2),
700 confirmationCodeRefused(3),
701 confirmationCodeRetriesExceeded(4),
702 bppRebindingRefused(5),
703 downloadOrderExpired(6),
704 profileMetadataMismatch(50),
705 invalidTransactionId(95),
706 undefinedError(127)
707 }
708}
709GetBoundProfilePackageOkEsipa ::= SEQUENCE {
710 transactionId [0] TransactionId OPTIONAL,
711 boundProfilePackage [54] BoundProfilePackage
712}
713-- ASN1STOP
714
715-- Section 6.3.2.4
716-- ASN1START
717HandleNotificationEsipa ::= [61] CHOICE { -- Tag 'BF3D'
718 pendingNotification SGP32-PendingNotification, -- A Notification to be delivered to a Notification Receiver, possibly in compact format
719 provideEimPackageResult ProvideEimPackageResult
720}
721-- ASN1STOP
722
723-- Section 6.3.2.5
724-- ASN1START
725CancelSessionRequestEsipa ::= [65] SEQUENCE { -- Tag 'BF41'
726 transactionId TransactionId,
727 cancelSessionResponse SGP32-CancelSessionResponse -- This is the response from ES10b. CancelSession function, possibly in compact format
728}
729CancelSessionResponseEsipa ::= [65] CHOICE { -- Tag 'BF41'
730 cancelSessionOk SGP32-CancelSessionOk,
731 cancelSessionError INTEGER {
732 invalidTransactionId(1),
733 euiccSignatureInvalid(2),
734 undefinedError(127)
735 }
736}
737SGP32-CancelSessionOk ::= SEQUENCE { -- This function has no output data
738}
739-- ASN1STOP
740
741
742-- Section 6.3.2.6
743-- ASN1START
744GetEimPackageRequest ::= [79] SEQUENCE { -- Tag 'BF4F'
745 eidValue [APPLICATION 26] Octet16, -- Tag '5A'
746 notifyStateChange [0] NULL OPTIONAL, -- Notification to the eIM that it should update its information about the eUICC (e.g. list of profiles, profile states...)
747 rPLMN [1] OCTET STRING (SIZE(3)) OPTIONAL -- MCC and MNC of the last registered PLMN, coded as defined in 3GPP TS 24.008 [22]
748}
749GetEimPackageResponse ::= [79] CHOICE { -- Tag 'BF4F'
750 euiccPackageRequest [81] EuiccPackageRequest, -- Tag 'BF51'
751 ipaEuiccDataRequest [82] IpaEuiccDataRequest, -- Tag 'BF52'
752 profileDownloadTriggerRequest [84] ProfileDownloadTriggerRequest, -- Tag 'BF54'
753 eimPackageError INTEGER {
754 noEimPackageAvailable(1),
755 undefinedError(127)
756 }
757}
758-- ASN1STOP
759
760-- Section 6.3.2.7
761-- ASN1START
762ProvideEimPackageResult ::= [80] CHOICE { -- Tag 'BF50'
763 euiccPackageResult [81] EuiccPackageResult, -- Tag 'BF51'
764 ePRAndNotifications SEQUENCE {
765 euiccPackageResult [81] EuiccPackageResult, -- Tag 'BF51'
766 notificationList [43] SGP32-RetrieveNotificationsListResponse -- Tag 'BF2B'
767 },
768 ipaEuiccDataResponse [82] IpaEuiccDataResponse, -- Tag 'BF52'
769 profileDownloadTriggerResult [84] ProfileDownloadTriggerResult, -- Tag 'BF54'
770 eimPackageError INTEGER {
771 invalidPackageFormat(1),
772 unknownPackage(2),
773 undefinedError(127)
774 }
775}
776ProvideEimPackageResultResponse ::= [80] SEQUENCE { -- Tag 'BF50'
777 eimAcknowledgements [83] EimAcknowledgements OPTIONAL -- Tag 'BF53'
778}
779-- ASN1STOP
780
781-- Section 6.3.3.1
782-- ASN1START
783TransferEimPackageRequest ::= [78] CHOICE { -- Tag 'BF4E'
784 euiccPackageRequest [81] EuiccPackageRequest, -- Tag 'BF51'
785 ipaEuiccDataRequest [82] IpaEuiccDataRequest, -- Tag 'BF52'
786 eimAcknowledgements [83] EimAcknowledgements, -- Tag 'BF53'
787 profileDownloadTriggerRequest [84] ProfileDownloadTriggerRequest -- Tag 'BF54'
788}
789TransferEimPackageResponse ::= [78] CHOICE { -- Tag 'BF4E'
790 euiccPackageResult [81] EuiccPackageResult, -- Tag 'BF51'
791 ePRAndNotifications SEQUENCE {
792 euiccPackageResult [81] EuiccPackageResult, -- Tag 'BF51'
793 notificationList [43] SGP32-RetrieveNotificationsListResponse -- Tag 'BF2B'
794 },
795 ipaEuiccDataResponse [82] IpaEuiccDataResponse, -- Tag 'BF52'
796 eimPackageReceived NULL,
797 eimPackageError INTEGER {
798 invalidPackageFormat(1),
799 unknownPackage(2),
800 undefinedError(127)
801 }
802}
803-- ASN1STOP
804
805
806END