pki.auto_gen_pki ================ .. py:module:: pki.auto_gen_pki .. autoapi-nested-parse:: Manages the auto-generated local PKI. Module Contents --------------- .. py:data:: UNIQUE_NAME_PREFIX :value: 'AutoGenPKI_Issuing_CA' .. py:data:: DOMAIN_NAME_PREFIX :value: 'AutoGenPKI' .. py:data:: ISSUING_CA_NAME_MIN_PARTS :value: 4 .. py:class:: AutoGenPki Bases: :py:obj:`trustpoint.logger.LoggerMixin` Handles enabling and disabling of auto-generated PKI. .. py:method:: get_auto_gen_pki(key_alg = None) :classmethod: Retrieves the auto-generated PKI Issuing CA, if it exists. .. py:method:: enable_auto_gen_pki(key_alg) :classmethod: Enables the auto-generated PKI. .. py:method:: disable_auto_gen_pki() :classmethod: Disables the auto-generated PKI. Note: This will disable the currently active auto-generated PKI (any key algorithm). PKCS#11 keys are NOT destroyed - each Issuing CA has a unique name to avoid conflicts.