aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--library/euicc/RSPDefinitions_Templates.ttcn23
-rw-r--r--library/euicc/SGP32Definitions_Templates.ttcn15
2 files changed, 37 insertions, 1 deletions
diff --git a/library/euicc/RSPDefinitions_Templates.ttcn b/library/euicc/RSPDefinitions_Templates.ttcn
index 9e64083c..7e0884fa 100644
--- a/library/euicc/RSPDefinitions_Templates.ttcn
+++ b/library/euicc/RSPDefinitions_Templates.ttcn
@@ -146,6 +146,29 @@ template (value) CtxParams1 ts_ctxParams1 := {
}
}
+template (present) EuiccSigned1 tr_euiccSigned1(template (present) octetstring transactionId := ?,
+ template (present) universal charstring serverAddress := ?,
+ template (present) octetstring serverChallenge := ?,
+ template (present) EUICCInfo2 euiccInfo2 := ?,
+ template (present) CtxParams1 ctxParams1 := ?) := {
+ transactionId := transactionId,
+ serverAddress := serverAddress,
+ serverChallenge := serverChallenge,
+ euiccInfo2 := euiccInfo2,
+ ctxParams1 := ctxParams1
+}
+template (value) EuiccSigned1 ts_euiccSigned1(template (value) octetstring transactionId := 'ABCDEF'O,
+ template (value) universal charstring serverAddress := "smdp.example.com",
+ template (value) octetstring serverChallenge := '01020304050607080910111213141516'O,
+ template (value) EUICCInfo2 euiccInfo2 := ts_EUICCInfo2,
+ template (value) CtxParams1 ctxParams1 := ts_ctxParams1) := {
+ transactionId := transactionId,
+ serverAddress := serverAddress,
+ serverChallenge := serverChallenge,
+ euiccInfo2 := euiccInfo2,
+ ctxParams1 := ctxParams1
+}
+
template (present) StoreMetadataRequest tr_storeMetadataRequest := {
iccid := ?,
serviceProviderName := ?,
diff --git a/library/euicc/SGP32Definitions_Templates.ttcn b/library/euicc/SGP32Definitions_Templates.ttcn
index 98a2bba0..26ded294 100644
--- a/library/euicc/SGP32Definitions_Templates.ttcn
+++ b/library/euicc/SGP32Definitions_Templates.ttcn
@@ -87,7 +87,20 @@ tr_authenticateClientRequestEsipa := {
}
}
}
-/* TODO: create coresponding ts_ template */
+template (value) EsipaMessageFromIpaToEim
+ts_authenticateClientRequestEsipa(template (value) octetstring transactionId := 'ABCDEF'O) := {
+ authenticateClientRequestEsipa := {
+ transactionId := transactionId,
+ authenticateServerResponse := {
+ authenticateResponseOk := {
+ euiccSigned1 := ts_euiccSigned1,
+ euiccSignature1 := '1234567890'O,
+ euiccCertificate := ts_cert_eum_nist,
+ eumCertificate := ts_cert_s_sm_dpauth_nist
+ }
+ }
+ }
+}
/* GSMA SGP.32, section 6.3.2.2 */
template (present) EsipaMessageFromEimToIpa