dexter has submitted this change. ( https://gerrit.osmocom.org/c/onomondo-eim/+/42882?usp=email )
(
4 is the latest approved patch-set. No files were changed between the latest approved patch-set and the submitted one. )Change subject: eim_cfg: set eimSupportedProtocol and indirectProfileDownload flags ......................................................................
eim_cfg: set eimSupportedProtocol and indirectProfileDownload flags
The members eimSupportedProtocol and indirectProfileDownload were added as optional members to EimConfigurationData with SGP.32 V.1.2.
Since our eIM implementation only supports eIM Package Retrieval via HTTPs and the Indirect Profile Download procedure is the only Profile Download procedure we currently support, the EimConfigurationData should reflect those properties correctly.
(The EimConfigurationData is not announced actively by the eIM, but this eIM implementation contains a generator to help with the encoding of the EimConfigurationData that is programmed into the eUICC)
Change-Id: I4ce236fb1bfb8a3790191be95ab0958dce13a9d8 Related: SYS#8100 --- M src/eim_cfg.erl 1 file changed, 8 insertions(+), 2 deletions(-)
Approvals: Jenkins Builder: Verified laforge: Looks good to me, approved fixeria: Looks good to me, but someone else must approve
diff --git a/src/eim_cfg.erl b/src/eim_cfg.erl index f74ccd8..4f15a42 100644 --- a/src/eim_cfg.erl +++ b/src/eim_cfg.erl @@ -46,10 +46,16 @@ eimFqdn => EimFqdn, % Mandatory counterValue => CounterValue, - %Optional: instruct the eUICC to calculate an association token + % Optional: instruct the eUICC to calculate an association token associationToken => -1, % Mandatory - eimPublicKeyData => {eimPublicKey, EimCert_SubjectPublicKeyInfo} + eimPublicKeyData => {eimPublicKey, EimCert_SubjectPublicKeyInfo}, + % This eIM implementation currently only supports ESipa via HTTPs where the only supported eIM Package + % transfer procedure is the eIM Package Retrieval procedure (see also SGP.32, section 3.1.1.1. + eimSupportedProtocol => [eimRetrieveHttps], + % The Indirect Profile Download (see also SGP.32, section 3.2.3.2) is currently the only supported Profile + % Download procedure, which is supported by this eIM implementation. + indirectProfileDownload => true }, EimConfigurationDataList = [EimConfigurationData], AddInitialEimRequest = #{eimConfigurationDataList => EimConfigurationDataList},