INNER CODE UNIT · Python

AddCert

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

class AddCert(Command):
    '''
    Adds a certificate object
    '''

    # adhere to an interface
    # pylint: disable=no-self-use
    def generate_options(self, group_parser):
        group_parser.add_argument(
            '--label', help='The profile label to remove.\n', required=True)

        group_parser.add_argument(
            'cert', help='The x509 PEM certificate to add.\n')

        sub_group = group_parser.add_mutually_exclusive_group()

        sub_group.add_argument(
            '--key-label',

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…