laforge has submitted this change. ( 
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/37469?usp=email )

Change subject: SGP32Definitions_Templates: add template for 
IpaEuiccDataResponse
......................................................................

SGP32Definitions_Templates: add template for IpaEuiccDataResponse

Related: SYS#6824
Change-Id: I93125dfedb2c1742efdc98e5f1f4d07ed5ed715c
---
M library/euicc/SGP32Definitions_Templates.ttcn
1 file changed, 109 insertions(+), 0 deletions(-)

Approvals:
  Jenkins Builder: Verified
  pespin: Looks good to me, but someone else must approve
  osmith: Looks good to me, but someone else must approve
  laforge: Looks good to me, approved




diff --git a/library/euicc/SGP32Definitions_Templates.ttcn 
b/library/euicc/SGP32Definitions_Templates.ttcn
index 26003ad..d602d8e 100644
--- a/library/euicc/SGP32Definitions_Templates.ttcn
+++ b/library/euicc/SGP32Definitions_Templates.ttcn
@@ -21,6 +21,66 @@
 import from PKIX1Explicit88_Templates all;
 import from PKIX1Explicit88_Types all;

+/* GSMA SGP.32, section 5.9.2 (ES10x) */
+template (present) SGP32_EUICCInfo2
+tr_SGP32_EUICCInfo2 := {
+       profileVersion := ?,
+       svn := ?,
+       euiccFirmwareVer := ?,
+       extCardResource := ?,
+       uiccCapability := ?,
+       ts102241Version := *,
+       globalplatformVersion := *,
+       rspCapability := ?,
+       euiccCiPKIdListForVerification := ?,
+       euiccCiPKIdListForSigning := ?,
+       euiccCategory := *,
+       forbiddenProfilePolicyRules := *,
+       ppVersion := ?,
+       sasAcreditationNumber := ?,
+       certificationDataObject := *,
+       treProperties := *,
+       treProductReference := *,
+       additionalEuiccProfilePackageVersions := *,
+       ipaMode := *,
+       rfu2 := *,
+       rfu3 := *,
+       rfu4 := *,
+       iotSpecificInfo:= *
+}
+template (value) SGP32_EUICCInfo2
+ts_SGP32_EUICCInfo2 := {
+       profileVersion := '414243'O,
+       svn := '02000C'O,
+       euiccFirmwareVer := '414243'O,
+       extCardResource := '414243'O,
+       uiccCapability := '1111111111111111111'B,
+       ts102241Version := omit,
+       globalplatformVersion := omit,
+       rspCapability := '1111'B,
+       euiccCiPKIdListForVerification := {
+              'C0BC70BA36929D43B467FF57570530E57AB8FCD8'O,
+              'F54172BDF98A95D65CBEB88A38A1C11D800A85C3'O
+       },
+       euiccCiPKIdListForSigning := {
+              'C0BC70BA36929D43B467FF57570530E57AB8FCD8'O,
+              'F54172BDF98A95D65CBEB88A38A1C11D800A85C3'O
+       },
+       euiccCategory := omit,
+       forbiddenProfilePolicyRules := omit,
+       ppVersion := '414243'O,
+       sasAcreditationNumber := "123456",
+       certificationDataObject := omit,
+       treProperties := omit,
+       treProductReference := omit,
+       additionalEuiccProfilePackageVersions := omit,
+       ipaMode := omit,
+       rfu2 := omit,
+       rfu3 := omit,
+       rfu4 := omit,
+       iotSpecificInfo:= omit
+}
+
 /* GSMA SGP.32, section 6.3.2.1 */
 template (present) EsipaMessageFromEimToIpa
 tr_initiateAuthenticationResponseEsipa(template (present) octetstring 
euiccChallenge := ?,
@@ -1100,6 +1160,45 @@
        }
 }

+template (present) EsipaMessageFromIpaToEim
+tr_provideEimPackageResult_euiccDataResp := {
+       provideEimPackageResult := {
+               ipaEuiccDataResponse := {
+                       ipaEuiccData := {
+                               defaultSmdpAddress := *,
+                               euiccInfo1 := *,
+                               euiccInfo2 := *,
+                               rootSmdsAddress := *,
+                               associationToken := *,
+                               eumCertificate := *,
+                               euiccCertificate := *,
+                               ipaCapabilities := *,
+                               deviceInfo := *,
+                               notificationsList := *
+                       }
+               }
+       }
+}
+template (value) EsipaMessageFromIpaToEim
+ts_provideEimPackageResult_euiccDataResp := {
+       provideEimPackageResult := {
+               ipaEuiccDataResponse := {
+                       ipaEuiccData := {
+                               defaultSmdpAddress := "smdp.example.com",
+                               euiccInfo1 := ts_EUICCInfo1,
+                               euiccInfo2 := ts_SGP32_EUICCInfo2,
+                               rootSmdsAddress := "smds.example.com",
+                               associationToken := 1,
+                               eumCertificate := ts_cert_eum_nist,
+                               euiccCertificate := ts_cert_euicc_nist,
+                               ipaCapabilities := omit,
+                               deviceInfo := omit,
+                               notificationsList := omit
+                       }
+               }
+       }
+}
+
 template (present) EsipaMessageFromEimToIpa
 tr_provideEimPackageResultResponse_eimAck := {
        provideEimPackageResultResponse := {

--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/37469?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I93125dfedb2c1742efdc98e5f1f4d07ed5ed715c
Gerrit-Change-Number: 37469
Gerrit-PatchSet: 1
Gerrit-Owner: dexter <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <[email protected]>
Gerrit-Reviewer: osmith <[email protected]>
Gerrit-Reviewer: pespin <[email protected]>
Gerrit-MessageType: merged

Reply via email to