dexter has uploaded this change for review. (
https://gerrit.osmocom.org/c/pysim/+/37642?usp=email )
Change subject: filesystem: add export method for ADF files
......................................................................
filesystem: add export method for ADF files
This patch adds an export method to CardADF, which calls the application
specific export method in CardApplication class
Related: OS#6092
Change-Id: I8129656096ecaf41b36e5f2afbbfbebcd0587886
---
M pySim/filesystem.py
1 file changed, 20 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/pysim refs/changes/42/37642/1
diff --git a/pySim/filesystem.py b/pySim/filesystem.py
index 5414fb9..028b906 100644
--- a/pySim/filesystem.py
+++ b/pySim/filesystem.py
@@ -530,6 +530,13 @@
else:
return self.aid
+ @staticmethod
+ def export(as_json: bool, lchan):
+ """
+ Export application specific parameters that are not part of the eUICC
filesystem.
+ """
+ return lchan.selected_file.application.export(as_json, lchan)
+
class CardEF(CardFile):
"""EF (Entry File) in the smart card filesystem"""
--
To view, visit
https://gerrit.osmocom.org/c/pysim/+/37642?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-Change-Id: I8129656096ecaf41b36e5f2afbbfbebcd0587886
Gerrit-Change-Number: 37642
Gerrit-PatchSet: 1
Gerrit-Owner: dexter <pmaier(a)sysmocom.de>
Gerrit-MessageType: newchange