INNER CODE UNIT · Python
ObjMod
tpm2-software/tpm2-pkcs11 · tools/tpm2_pkcs11/commandlets_keys.py:409
class ObjMod(Command):
'''
Dumps and modifies objects.
'''
_type_map = {
'int' : 'do_int',
'str' : 'do_str',
'bool': 'do_bool',
'raw' : 'do_raw',
}
@staticmethod
def do_int(value):
return int(value, 0)
@staticmethod
def do_bool(value):