request.operation_processor.csr_build ===================================== .. py:module:: request.operation_processor.csr_build .. autoapi-nested-parse:: CSR build operation processor classes. Module Contents --------------- .. py:class:: CsrBuilder Bases: :py:obj:`trustpoint.logger.LoggerMixin`, :py:obj:`request.operation_processor.base.AbstractOperationProcessor` Operation processor for building a CSR from validated request data. .. py:method:: process_operation(context) Build a CSR from the validated request data in the context. :param context: Request context containing the certificate request data. :raises TypeError: If context is not a BaseCertificateRequestContext. :raises ValueError: If required context attributes are missing. .. py:method:: get_csr() Get the built CSR. :returns: The built CertificateSigningRequest. :raises ValueError: If CSR has not been built yet. .. py:class:: ProfileAwareCsrBuilder Bases: :py:obj:`CsrBuilder` CSR builder that applies certificate profile validation before building the CSR. .. py:method:: process_operation(context) Build a CSR from request data after applying profile validation. :param context: Request context containing the certificate request data and profile. :raises TypeError: If context is not a BaseCertificateRequestContext. :raises ValueError: If required context attributes are missing.