esim.saip: Introduce ProfileElement.identification property

Change-Id: I6525bb78619e574296488843e021d505e0632d99
This commit is contained in:
Harald Welte
2024-05-31 09:44:57 +02:00
parent 50d9e2a6d8
commit 0cb0e02c5c

View File

@@ -197,6 +197,13 @@ class ProfileElement:
"""Return the decoded ProfileHeader."""
return self.decoded.get(self.header_name, None)
@property
def identification(self):
if self.header:
return self.header['identification']
else:
return None
@property
def templateID(self):
"""Return the decoded templateID used by this profile element (if any)."""