INNER CODE UNIT · Python

do_int

tpm2-software/tpm2-pkcs11 · tools/tpm2_pkcs11/commandlets_keys.py:422

    def do_int(value):
        return int(value, 0)

    @staticmethod
    def do_bool(value):
        return str2bool(value)

    @staticmethod
    def do_str(value):
        return binascii.hexlify(value.encode()).decode()

    @staticmethod
    def do_raw(value):
        return value

    @classmethod
    def mod(cls, path, tid, key, value, inattrs, vtype):

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…