laforge has submitted this change. (
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/36675?usp=email )
Change subject: SGP32Definitions: add ts template for authenticateClientRequestEsipa
......................................................................
SGP32Definitions: add ts template for authenticateClientRequestEsipa
The template ts_authenticateClientRequestEsipa is still missing, let's
add one.
Related: SYS#6824
Change-Id: I9490a2ee59a89511876bb1055a056a43fbf172bb
---
M library/euicc/RSPDefinitions_Templates.ttcn
M library/euicc/SGP32Definitions_Templates.ttcn
2 files changed, 50 insertions(+), 1 deletion(-)
Approvals:
laforge: Looks good to me, approved
Jenkins Builder: Verified
pespin: Looks good to me, but someone else must approve
diff --git a/library/euicc/RSPDefinitions_Templates.ttcn
b/library/euicc/RSPDefinitions_Templates.ttcn
index 9e64083..7e0884f 100644
--- a/library/euicc/RSPDefinitions_Templates.ttcn
+++ b/library/euicc/RSPDefinitions_Templates.ttcn
@@ -146,6 +146,29 @@
}
}
+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 98a2bba..26ded29 100644
--- a/library/euicc/SGP32Definitions_Templates.ttcn
+++ b/library/euicc/SGP32Definitions_Templates.ttcn
@@ -87,7 +87,20 @@
}
}
}
-/* 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
--
To view, visit
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/36675?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: I9490a2ee59a89511876bb1055a056a43fbf172bb
Gerrit-Change-Number: 36675
Gerrit-PatchSet: 1
Gerrit-Owner: dexter <pmaier(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: merged