dexter has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/36674?usp=email )
Change subject: RSPDefinitions: add defaults values to ts_authenticateClientResponseEs9 ......................................................................
RSPDefinitions: add defaults values to ts_authenticateClientResponseEs9
The template ts_authenticateClientResponseEs9 has no default values, let's add some default values to make it easier to use
Related: SYS#6824 Change-Id: I07d942a58a3c1c29c37fcaa50d3a274ce8b026bc --- M library/euicc/RSPDefinitions_Templates.ttcn 1 file changed, 58 insertions(+), 5 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/74/36674/1
diff --git a/library/euicc/RSPDefinitions_Templates.ttcn b/library/euicc/RSPDefinitions_Templates.ttcn index ae1ea78..9e64083 100644 --- a/library/euicc/RSPDefinitions_Templates.ttcn +++ b/library/euicc/RSPDefinitions_Templates.ttcn @@ -146,6 +146,46 @@ } }
+template (present) StoreMetadataRequest tr_storeMetadataRequest := { + iccid := ?, + serviceProviderName := ?, + profileName := ?, + iconType := *, + icon := *, + profileClass := ?, + notificationConfigurationInfo := *, + profileOwner := *, + profilePolicyRules := *, + serviceSpecificDataStoredInEuicc := *, + serviceSpecificDataNotStoredInEuicc := * +} +template (value) StoreMetadataRequest ts_storeMetadataRequest := { + iccid := '123456789ABCDEFFAAAA'O, + serviceProviderName := "testsuite", + profileName := "testprofile", + iconType := omit, + icon := omit, + profileClass := 2, /* operational */ + notificationConfigurationInfo := omit, + profileOwner := omit, + profilePolicyRules := omit, + serviceSpecificDataStoredInEuicc := omit, + serviceSpecificDataNotStoredInEuicc := omit +} + +template (present) SmdpSigned2 tr_smdpSigned2(template (present) octetstring transactionId := ?, + template (present) boolean ccRequiredFlag := ?) := { + transactionId := transactionId, + ccRequiredFlag := ccRequiredFlag, + bppEuiccOtpk := ? +} +template (value) SmdpSigned2 ts_smdpSigned2(template (value) octetstring transactionId := 'ABCDEF'O, + template (value) boolean ccRequiredFlag := false) := { + transactionId := transactionId, + ccRequiredFlag := ccRequiredFlag, + bppEuiccOtpk := omit +} + /* GSMA SGP.22, section 2.5.6 */ template (present) ProfileInstallationResult tr_profileInstallationResult := { @@ -310,11 +350,11 @@ } } template (value) RemoteProfileProvisioningResponse -ts_authenticateClientResponseEs9(template (value) octetstring transactionId, - template (value) StoreMetadataRequest profileMetaData, - template (value) SmdpSigned2 smdpSigned2, - template (value) octetstring smdpSignature2, - template (value) Certificate smdpCertificate) := { +ts_authenticateClientResponseEs9(template (value) octetstring transactionId := 'ABCDEF'O, + template (value) StoreMetadataRequest profileMetaData := ts_storeMetadataRequest, + template (value) SmdpSigned2 smdpSigned2 := ts_smdpSigned2, + template (value) octetstring smdpSignature2 := 'BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB'O, + template (value) Certificate smdpCertificate := ts_cert_s_sm_dpauth_nist) := { authenticateClientResponseEs9 := { authenticateClientOk := { transactionId := transactionId,