mirror of
https://gitea.osmocom.org/sim-card/pysim.git
synced 2026-03-25 23:08:34 +03:00
esim.saip: Introduce ProfileElement.identification property
Change-Id: I6525bb78619e574296488843e021d505e0632d99
This commit is contained in:
@@ -197,6 +197,13 @@ class ProfileElement:
|
|||||||
"""Return the decoded ProfileHeader."""
|
"""Return the decoded ProfileHeader."""
|
||||||
return self.decoded.get(self.header_name, None)
|
return self.decoded.get(self.header_name, None)
|
||||||
|
|
||||||
|
@property
|
||||||
|
def identification(self):
|
||||||
|
if self.header:
|
||||||
|
return self.header['identification']
|
||||||
|
else:
|
||||||
|
return None
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def templateID(self):
|
def templateID(self):
|
||||||
"""Return the decoded templateID used by this profile element (if any)."""
|
"""Return the decoded templateID used by this profile element (if any)."""
|
||||||
|
|||||||
Reference in New Issue
Block a user