restpki-ng-python-client 0.9.0.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- restpki_ng_python_client-0.9.0.1/PKG-INFO +16 -0
- restpki_ng_python_client-0.9.0.1/README.md +441 -0
- restpki_ng_python_client-0.9.0.1/pyproject.toml +30 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/__init__.py +200 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/api/__init__.py +17 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/api/authentication_api.py +2041 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/api/cades_signature_api.py +2376 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/api/document_keys_api.py +1199 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/api/documents_api.py +868 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/api/pades_signature_api.py +1797 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/api/pades_visual_positioning_presets_api.py +869 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/api/pdf_api.py +334 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/api/signature_api.py +624 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/api/signature_inspection_api.py +337 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/api/signature_sessions_api.py +891 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/api/timestamp_api.py +654 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/api/upload_api.py +1124 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/api/xml_signature_api.py +1781 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/api_client.py +741 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/api_response.py +21 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/configuration.py +426 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/exceptions.py +166 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/file_utils.py +122 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/__init__.py +165 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/allocate_document_key_batch_request.py +96 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/allocate_document_key_request.py +93 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/attribute_certificate_model.py +141 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/audit_package_options.py +90 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/authentication_failures.py +45 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/authentication_get_response.py +92 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/authentication_post_request.py +116 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/authentication_post_response.py +98 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/authentications_post_request.py +95 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/authentications_post_response.py +114 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/authentications_post_signed_bytes_request.py +99 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/authentications_post_signed_bytes_response.py +98 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/auto_positioning_horizontal_directions.py +45 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/auto_positioning_vertical_directions.py +45 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/blockchains.py +45 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/cades_signature_model.py +123 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/cades_signature_post_request_v1.py +137 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/cades_signature_post_request_v2.py +152 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/cades_signature_post_request_v3.py +149 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/cades_signature_post_response.py +120 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/cades_signature_post_signed_bytes_request.py +92 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/cades_signature_post_signed_bytes_response.py +106 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/cades_signer_model.py +159 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/cades_timestamp_model.py +140 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/certificate_model.py +197 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/certificate_reference_model.py +99 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/certificate_requirement.py +95 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/certificate_requirement_types.py +45 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/certificate_summary.py +142 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/certified_attribute_model.py +94 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/certified_attribute_types.py +44 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/cms_content_types.py +50 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/cms_signature_options.py +109 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/color_model.py +98 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/commitment_type_model.py +99 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/complete_authentication_request.py +93 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/complete_authentication_response.py +103 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/complete_signature_request.py +95 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/complete_signature_request_v2.py +91 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/create_signature_session_request.py +161 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/create_signature_session_response.py +95 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/digest_algorithm_and_value_model.py +103 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/digest_algorithms.py +49 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/document_file_model.py +137 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/document_key_model.py +100 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/document_key_query_response.py +110 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/document_key_summary.py +100 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/document_model.py +150 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/document_query_response.py +93 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/document_status.py +47 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/document_summary.py +128 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/error_model_v2.py +120 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/file_model.py +114 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/file_reference_model.py +137 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/full_xml_signature_post_request.py +136 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/general_name_choices.py +52 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/general_name_model.py +108 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/holder_types.py +45 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/inspect_signature_failures.py +44 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/inspect_signature_request.py +127 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/inspect_signature_response.py +131 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/multipart_upload_begin_response.py +95 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/multipart_upload_end_request.py +95 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/name_model.py +205 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/namespace_model.py +99 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/open_cades_signature_request_model.py +147 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/open_signature_request_model.py +145 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/open_xml_signature_request_model.py +151 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/other_name_model.py +107 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/pades_certification_level.py +47 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/pades_horizontal_align.py +46 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/pades_measurement_units.py +45 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/pades_page_optimization_model.py +98 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/pades_signature_model.py +113 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/pades_signature_post_request_v1.py +167 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/pades_signature_post_request_v2.py +171 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/pades_signature_post_response.py +120 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/pades_signature_post_signed_bytes_request.py +92 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/pades_signature_post_signed_bytes_response.py +106 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/pades_signer_model.py +168 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/pades_size_model.py +89 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/pades_text_horizontal_align.py +45 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/pades_vertical_align.py +46 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/pades_visual_auto_positioning_model.py +106 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/pades_visual_image_model.py +105 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/pades_visual_positioning_model.py +109 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/pades_visual_rectangle_model.py +127 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/pades_visual_representation_model.py +103 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/pades_visual_text_model.py +111 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/page_orientations.py +46 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/paper_sizes.py +56 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/pdf_add_marks_request.py +117 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/pdf_add_marks_response.py +91 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/pdf_container_definition.py +208 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/pdf_helper.py +43 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/pdf_mark_element_model.py +230 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/pdf_mark_element_type.py +46 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/pdf_mark_image_model.py +98 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/pdf_mark_model.py +168 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/pdf_mark_page_options.py +47 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/pdf_signature_options.py +101 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/pdf_text_section_model.py +125 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/pdf_text_style.py +46 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/pki_brazil_certificate_model.py +159 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/pki_brazil_certificate_types.py +54 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/pki_italy_certificate_model.py +103 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/pki_italy_certificate_types.py +46 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/prepare_authentication_request.py +100 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/prepare_authentication_response.py +99 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/prepare_signature_failures.py +46 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/prepare_signature_request.py +133 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/prepare_signature_response.py +116 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/resource_content_or_reference.py +107 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/role_attribute_model.py +114 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/session_completion_status.py +89 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/signature_algorithm_and_value_model.py +106 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/signature_algorithm_identifier.py +88 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/signature_algorithms.py +48 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/signature_b_stamp_model.py +135 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/signature_policy_identifier_model.py +105 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/signature_result_model.py +105 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/signature_session_document_data.py +128 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/signature_session_document_summary.py +138 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/signature_session_model.py +126 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/signature_session_status.py +49 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/signature_types.py +46 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/signer_b_stamp_model.py +132 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/signer_model.py +187 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/signer_summary.py +94 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/timestamp_issue_response.py +99 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/validation_item_model.py +111 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/validation_item_types.py +91 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/validation_results_model.py +131 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/webhook_event_model.py +94 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/webhook_event_types.py +44 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/xml_attribute_model.py +107 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/xml_element_location_model.py +111 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/xml_element_model.py +115 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/xml_element_signature_post_request.py +145 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/xml_id_attribute_model.py +96 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/xml_id_resolution_table_model.py +123 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/xml_insertion_options.py +47 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/xml_node_name_model.py +96 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/xml_signature_model.py +154 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/xml_signature_options.py +102 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/xml_signature_post_response.py +120 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/xml_signature_post_signed_bytes_request.py +92 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/xml_signature_post_signed_bytes_response.py +106 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/xml_signature_response_model.py +113 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/xml_signature_types.py +47 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/xml_signed_entity_types.py +46 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/py.typed +0 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/rest.py +231 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/restpki_ng_client.py +458 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/standard_signature_policies.py +24 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/utils.py +80 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client.egg-info/PKG-INFO +16 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client.egg-info/SOURCES.txt +348 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client.egg-info/dependency_links.txt +1 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client.egg-info/requires.txt +4 -0
- restpki_ng_python_client-0.9.0.1/restpki_ng_python_client.egg-info/top_level.txt +1 -0
- restpki_ng_python_client-0.9.0.1/setup.cfg +7 -0
- restpki_ng_python_client-0.9.0.1/setup.py +49 -0
- restpki_ng_python_client-0.9.0.1/test/test_allocate_document_key_batch_request.py +57 -0
- restpki_ng_python_client-0.9.0.1/test/test_allocate_document_key_request.py +56 -0
- restpki_ng_python_client-0.9.0.1/test/test_attribute_certificate_model.py +146 -0
- restpki_ng_python_client-0.9.0.1/test/test_audit_package_options.py +53 -0
- restpki_ng_python_client-0.9.0.1/test/test_authentication_api.py +75 -0
- restpki_ng_python_client-0.9.0.1/test/test_authentication_failures.py +34 -0
- restpki_ng_python_client-0.9.0.1/test/test_authentication_get_response.py +52 -0
- restpki_ng_python_client-0.9.0.1/test/test_authentication_post_request.py +56 -0
- restpki_ng_python_client-0.9.0.1/test/test_authentication_post_response.py +169 -0
- restpki_ng_python_client-0.9.0.1/test/test_authentications_post_request.py +53 -0
- restpki_ng_python_client-0.9.0.1/test/test_authentications_post_response.py +55 -0
- restpki_ng_python_client-0.9.0.1/test/test_authentications_post_signed_bytes_request.py +53 -0
- restpki_ng_python_client-0.9.0.1/test/test_authentications_post_signed_bytes_response.py +169 -0
- restpki_ng_python_client-0.9.0.1/test/test_auto_positioning_horizontal_directions.py +34 -0
- restpki_ng_python_client-0.9.0.1/test/test_auto_positioning_vertical_directions.py +34 -0
- restpki_ng_python_client-0.9.0.1/test/test_blockchains.py +34 -0
- restpki_ng_python_client-0.9.0.1/test/test_cades_signature_api.py +79 -0
- restpki_ng_python_client-0.9.0.1/test/test_cades_signature_model.py +276 -0
- restpki_ng_python_client-0.9.0.1/test/test_cades_signature_post_request_v1.py +59 -0
- restpki_ng_python_client-0.9.0.1/test/test_cades_signature_post_request_v2.py +65 -0
- restpki_ng_python_client-0.9.0.1/test/test_cades_signature_post_request_v3.py +73 -0
- restpki_ng_python_client-0.9.0.1/test/test_cades_signature_post_response.py +151 -0
- restpki_ng_python_client-0.9.0.1/test/test_cades_signature_post_signed_bytes_request.py +52 -0
- restpki_ng_python_client-0.9.0.1/test/test_cades_signature_post_signed_bytes_response.py +149 -0
- restpki_ng_python_client-0.9.0.1/test/test_cades_signer_model.py +386 -0
- restpki_ng_python_client-0.9.0.1/test/test_cades_timestamp_model.py +270 -0
- restpki_ng_python_client-0.9.0.1/test/test_certificate_model.py +192 -0
- restpki_ng_python_client-0.9.0.1/test/test_certificate_reference_model.py +53 -0
- restpki_ng_python_client-0.9.0.1/test/test_certificate_requirement.py +53 -0
- restpki_ng_python_client-0.9.0.1/test/test_certificate_requirement_types.py +34 -0
- restpki_ng_python_client-0.9.0.1/test/test_certificate_summary.py +59 -0
- restpki_ng_python_client-0.9.0.1/test/test_certified_attribute_model.py +86 -0
- restpki_ng_python_client-0.9.0.1/test/test_certified_attribute_types.py +34 -0
- restpki_ng_python_client-0.9.0.1/test/test_cms_content_types.py +34 -0
- restpki_ng_python_client-0.9.0.1/test/test_cms_signature_options.py +67 -0
- restpki_ng_python_client-0.9.0.1/test/test_color_model.py +55 -0
- restpki_ng_python_client-0.9.0.1/test/test_commitment_type_model.py +53 -0
- restpki_ng_python_client-0.9.0.1/test/test_complete_authentication_request.py +57 -0
- restpki_ng_python_client-0.9.0.1/test/test_complete_authentication_response.py +171 -0
- restpki_ng_python_client-0.9.0.1/test/test_complete_signature_request.py +53 -0
- restpki_ng_python_client-0.9.0.1/test/test_complete_signature_request_v2.py +55 -0
- restpki_ng_python_client-0.9.0.1/test/test_create_signature_session_request.py +212 -0
- restpki_ng_python_client-0.9.0.1/test/test_create_signature_session_response.py +53 -0
- restpki_ng_python_client-0.9.0.1/test/test_digest_algorithm_and_value_model.py +54 -0
- restpki_ng_python_client-0.9.0.1/test/test_digest_algorithms.py +34 -0
- restpki_ng_python_client-0.9.0.1/test/test_document_file_model.py +59 -0
- restpki_ng_python_client-0.9.0.1/test/test_document_key_model.py +53 -0
- restpki_ng_python_client-0.9.0.1/test/test_document_key_query_response.py +102 -0
- restpki_ng_python_client-0.9.0.1/test/test_document_key_summary.py +53 -0
- restpki_ng_python_client-0.9.0.1/test/test_document_keys_api.py +59 -0
- restpki_ng_python_client-0.9.0.1/test/test_document_model.py +101 -0
- restpki_ng_python_client-0.9.0.1/test/test_document_query_response.py +95 -0
- restpki_ng_python_client-0.9.0.1/test/test_document_status.py +34 -0
- restpki_ng_python_client-0.9.0.1/test/test_document_summary.py +83 -0
- restpki_ng_python_client-0.9.0.1/test/test_documents_api.py +52 -0
- restpki_ng_python_client-0.9.0.1/test/test_error_model_v2.py +79 -0
- restpki_ng_python_client-0.9.0.1/test/test_file_model.py +55 -0
- restpki_ng_python_client-0.9.0.1/test/test_file_reference_model.py +59 -0
- restpki_ng_python_client-0.9.0.1/test/test_full_xml_signature_post_request.py +66 -0
- restpki_ng_python_client-0.9.0.1/test/test_general_name_choices.py +34 -0
- restpki_ng_python_client-0.9.0.1/test/test_general_name_model.py +79 -0
- restpki_ng_python_client-0.9.0.1/test/test_holder_types.py +34 -0
- restpki_ng_python_client-0.9.0.1/test/test_inspect_signature_failures.py +34 -0
- restpki_ng_python_client-0.9.0.1/test/test_inspect_signature_request.py +89 -0
- restpki_ng_python_client-0.9.0.1/test/test_inspect_signature_response.py +308 -0
- restpki_ng_python_client-0.9.0.1/test/test_multipart_upload_begin_response.py +53 -0
- restpki_ng_python_client-0.9.0.1/test/test_multipart_upload_end_request.py +58 -0
- restpki_ng_python_client-0.9.0.1/test/test_name_model.py +72 -0
- restpki_ng_python_client-0.9.0.1/test/test_namespace_model.py +53 -0
- restpki_ng_python_client-0.9.0.1/test/test_open_cades_signature_request_model.py +79 -0
- restpki_ng_python_client-0.9.0.1/test/test_open_signature_request_model.py +78 -0
- restpki_ng_python_client-0.9.0.1/test/test_open_xml_signature_request_model.py +92 -0
- restpki_ng_python_client-0.9.0.1/test/test_other_name_model.py +54 -0
- restpki_ng_python_client-0.9.0.1/test/test_pades_certification_level.py +34 -0
- restpki_ng_python_client-0.9.0.1/test/test_pades_horizontal_align.py +34 -0
- restpki_ng_python_client-0.9.0.1/test/test_pades_measurement_units.py +34 -0
- restpki_ng_python_client-0.9.0.1/test/test_pades_page_optimization_model.py +56 -0
- restpki_ng_python_client-0.9.0.1/test/test_pades_signature_api.py +102 -0
- restpki_ng_python_client-0.9.0.1/test/test_pades_signature_model.py +272 -0
- restpki_ng_python_client-0.9.0.1/test/test_pades_signature_post_request_v1.py +165 -0
- restpki_ng_python_client-0.9.0.1/test/test_pades_signature_post_request_v2.py +173 -0
- restpki_ng_python_client-0.9.0.1/test/test_pades_signature_post_response.py +151 -0
- restpki_ng_python_client-0.9.0.1/test/test_pades_signature_post_signed_bytes_request.py +52 -0
- restpki_ng_python_client-0.9.0.1/test/test_pades_signature_post_signed_bytes_response.py +149 -0
- restpki_ng_python_client-0.9.0.1/test/test_pades_signer_model.py +389 -0
- restpki_ng_python_client-0.9.0.1/test/test_pades_size_model.py +53 -0
- restpki_ng_python_client-0.9.0.1/test/test_pades_text_horizontal_align.py +34 -0
- restpki_ng_python_client-0.9.0.1/test/test_pades_vertical_align.py +34 -0
- restpki_ng_python_client-0.9.0.1/test/test_pades_visual_auto_positioning_model.py +74 -0
- restpki_ng_python_client-0.9.0.1/test/test_pades_visual_image_model.py +58 -0
- restpki_ng_python_client-0.9.0.1/test/test_pades_visual_positioning_model.py +80 -0
- restpki_ng_python_client-0.9.0.1/test/test_pades_visual_positioning_presets_api.py +49 -0
- restpki_ng_python_client-0.9.0.1/test/test_pades_visual_rectangle_model.py +57 -0
- restpki_ng_python_client-0.9.0.1/test/test_pades_visual_representation_model.py +130 -0
- restpki_ng_python_client-0.9.0.1/test/test_pades_visual_text_model.py +62 -0
- restpki_ng_python_client-0.9.0.1/test/test_page_orientations.py +34 -0
- restpki_ng_python_client-0.9.0.1/test/test_paper_sizes.py +34 -0
- restpki_ng_python_client-0.9.0.1/test/test_pdf_add_marks_request.py +177 -0
- restpki_ng_python_client-0.9.0.1/test/test_pdf_add_marks_response.py +56 -0
- restpki_ng_python_client-0.9.0.1/test/test_pdf_api.py +37 -0
- restpki_ng_python_client-0.9.0.1/test/test_pdf_mark_element_model.py +82 -0
- restpki_ng_python_client-0.9.0.1/test/test_pdf_mark_element_type.py +34 -0
- restpki_ng_python_client-0.9.0.1/test/test_pdf_mark_image_model.py +56 -0
- restpki_ng_python_client-0.9.0.1/test/test_pdf_mark_model.py +146 -0
- restpki_ng_python_client-0.9.0.1/test/test_pdf_mark_page_options.py +34 -0
- restpki_ng_python_client-0.9.0.1/test/test_pdf_signature_options.py +101 -0
- restpki_ng_python_client-0.9.0.1/test/test_pdf_text_section_model.py +60 -0
- restpki_ng_python_client-0.9.0.1/test/test_pdf_text_style.py +34 -0
- restpki_ng_python_client-0.9.0.1/test/test_pki_brazil_certificate_model.py +62 -0
- restpki_ng_python_client-0.9.0.1/test/test_pki_brazil_certificate_types.py +34 -0
- restpki_ng_python_client-0.9.0.1/test/test_pki_italy_certificate_model.py +54 -0
- restpki_ng_python_client-0.9.0.1/test/test_pki_italy_certificate_types.py +34 -0
- restpki_ng_python_client-0.9.0.1/test/test_prepare_authentication_request.py +53 -0
- restpki_ng_python_client-0.9.0.1/test/test_prepare_authentication_response.py +56 -0
- restpki_ng_python_client-0.9.0.1/test/test_prepare_signature_failures.py +34 -0
- restpki_ng_python_client-0.9.0.1/test/test_prepare_signature_request.py +152 -0
- restpki_ng_python_client-0.9.0.1/test/test_prepare_signature_response.py +176 -0
- restpki_ng_python_client-0.9.0.1/test/test_resource_content_or_reference.py +54 -0
- restpki_ng_python_client-0.9.0.1/test/test_role_attribute_model.py +84 -0
- restpki_ng_python_client-0.9.0.1/test/test_session_completion_status.py +53 -0
- restpki_ng_python_client-0.9.0.1/test/test_signature_algorithm_and_value_model.py +55 -0
- restpki_ng_python_client-0.9.0.1/test/test_signature_algorithm_identifier.py +52 -0
- restpki_ng_python_client-0.9.0.1/test/test_signature_algorithms.py +34 -0
- restpki_ng_python_client-0.9.0.1/test/test_signature_api.py +43 -0
- restpki_ng_python_client-0.9.0.1/test/test_signature_b_stamp_model.py +72 -0
- restpki_ng_python_client-0.9.0.1/test/test_signature_inspection_api.py +38 -0
- restpki_ng_python_client-0.9.0.1/test/test_signature_policy_identifier_model.py +57 -0
- restpki_ng_python_client-0.9.0.1/test/test_signature_result_model.py +153 -0
- restpki_ng_python_client-0.9.0.1/test/test_signature_session_document_data.py +131 -0
- restpki_ng_python_client-0.9.0.1/test/test_signature_session_document_summary.py +85 -0
- restpki_ng_python_client-0.9.0.1/test/test_signature_session_model.py +180 -0
- restpki_ng_python_client-0.9.0.1/test/test_signature_session_status.py +34 -0
- restpki_ng_python_client-0.9.0.1/test/test_signature_sessions_api.py +52 -0
- restpki_ng_python_client-0.9.0.1/test/test_signature_types.py +34 -0
- restpki_ng_python_client-0.9.0.1/test/test_signer_b_stamp_model.py +70 -0
- restpki_ng_python_client-0.9.0.1/test/test_signer_model.py +447 -0
- restpki_ng_python_client-0.9.0.1/test/test_signer_summary.py +61 -0
- restpki_ng_python_client-0.9.0.1/test/test_timestamp_api.py +43 -0
- restpki_ng_python_client-0.9.0.1/test/test_timestamp_issue_response.py +242 -0
- restpki_ng_python_client-0.9.0.1/test/test_upload_api.py +55 -0
- restpki_ng_python_client-0.9.0.1/test/test_validation_item_model.py +69 -0
- restpki_ng_python_client-0.9.0.1/test/test_validation_item_types.py +34 -0
- restpki_ng_python_client-0.9.0.1/test/test_validation_results_model.py +96 -0
- restpki_ng_python_client-0.9.0.1/test/test_webhook_event_model.py +95 -0
- restpki_ng_python_client-0.9.0.1/test/test_webhook_event_types.py +34 -0
- restpki_ng_python_client-0.9.0.1/test/test_xml_attribute_model.py +54 -0
- restpki_ng_python_client-0.9.0.1/test/test_xml_element_location_model.py +58 -0
- restpki_ng_python_client-0.9.0.1/test/test_xml_element_model.py +59 -0
- restpki_ng_python_client-0.9.0.1/test/test_xml_element_signature_post_request.py +82 -0
- restpki_ng_python_client-0.9.0.1/test/test_xml_id_attribute_model.py +63 -0
- restpki_ng_python_client-0.9.0.1/test/test_xml_id_resolution_table_model.py +66 -0
- restpki_ng_python_client-0.9.0.1/test/test_xml_insertion_options.py +34 -0
- restpki_ng_python_client-0.9.0.1/test/test_xml_node_name_model.py +54 -0
- restpki_ng_python_client-0.9.0.1/test/test_xml_signature_api.py +67 -0
- restpki_ng_python_client-0.9.0.1/test/test_xml_signature_model.py +401 -0
- restpki_ng_python_client-0.9.0.1/test/test_xml_signature_options.py +61 -0
- restpki_ng_python_client-0.9.0.1/test/test_xml_signature_post_response.py +151 -0
- restpki_ng_python_client-0.9.0.1/test/test_xml_signature_post_signed_bytes_request.py +52 -0
- restpki_ng_python_client-0.9.0.1/test/test_xml_signature_post_signed_bytes_response.py +149 -0
- restpki_ng_python_client-0.9.0.1/test/test_xml_signature_response_model.py +275 -0
- restpki_ng_python_client-0.9.0.1/test/test_xml_signature_types.py +34 -0
- restpki_ng_python_client-0.9.0.1/test/test_xml_signed_entity_types.py +34 -0
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: restpki_ng_python_client
|
|
3
|
+
Version: 0.9.0.1
|
|
4
|
+
Summary: Rest PKI Core API
|
|
5
|
+
Home-page:
|
|
6
|
+
Author: OpenAPI Generator community
|
|
7
|
+
Author-email: team@openapitools.org
|
|
8
|
+
Keywords: OpenAPI,OpenAPI-Generator,Rest PKI Core API
|
|
9
|
+
Description-Content-Type: text/markdown
|
|
10
|
+
Requires-Dist: urllib3<2.1.0,>=1.25.11
|
|
11
|
+
Requires-Dist: python-dateutil
|
|
12
|
+
Requires-Dist: pydantic>=2
|
|
13
|
+
Requires-Dist: typing-extensions>=4.7.1
|
|
14
|
+
|
|
15
|
+
<b><i>Para Português, <a href=\"https://docs.lacunasoftware.com/pt-br/articles/rest-pki/core/integration/get-started\">clique aqui</a></i></b> <p> <a href=\"https://docs.lacunasoftware.com/en-us/articles/rest-pki/core/\">Rest PKI Core</a> is an upcoming version of <a href=\"https://docs.lacunasoftware.com/en-us/articles/rest-pki/\">Rest PKI</a> that will have extended compatibility with environments and databases. </p> <p> In addition to Windows Server (which is already supported by Rest PKI), Rest PKI Core will also run on <b>Linux</b> (Debian- and RedHat-based distributions) and on <b>Docker</b>. As for database servers, in addition to SQL Server, <b>PostgreSQL</b> will also be supported. </p> <p> <b>Before getting started, see the integration overview on the <a href=\"https://docs.lacunasoftware.com/en-us/articles/rest-pki/core/integration/\">Integration Guide</a></b> </p> <p> For questions regarding the usage of this API, please reach us at <a href=\"https://lacuna.help/\">lacuna.help</a> </p> <h2>Parameters</h2> <p> You will need the following parameters: </p> <ul> <li><b>Endpoint</b>: address of the Rest PKI Core instance that will be used</li> <li><b>API Key</b>: authorization key for using the API</li> </ul> <p> The <span class=\"model\">endpoint</span> must be prefixed to all relative URLs mentioned here. As for the <span class=\"model\">API Key</span>, see how to use it below. </p> <h2>Authentication</h2> <p> The API key must be sent on the <span class=\"model\">X-Api-Key</span> header on each request: </p> <!-- unfortunately, class \"example microlight\" doesn't seem to work here --> <pre style=\"font-size: 12px; padding: 10px; border-radius: 4px; background: #41444e; font-weight: 600; color: #fff;\"> X-Api-Key: yourapp|xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx </pre> <h2>HTTP Codes</h2> <p> The APIs will return the following HTTP codes: </p> <table> <thead> <tr> <th>Code</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><strong class=\"model-title\">200 (OK)</strong></td> <td>Request processed successfully. The response is different for each API, please refer to the operation's documentation</td> </tr> <tr> <td><strong class=\"model-title\">400 (Bad Request)</strong></td> <td>Syntax error. For instance, when a required field was not provided</td> </tr> <tr> <td><strong class=\"model-title\">401 (Unauthorized)</strong></td> <td>API key not provided or invalid</td> </tr> <tr> <td><strong class=\"model-title\">403 (Forbidden)</strong></td> <td>API key is valid, but the application has insufficient permissions to complete the requested operation</td> </tr> <tr> <td><strong class=\"model-title\">422 (Unprocessable Entity)</strong></td> <td>API error. The response body is an <a href=\"#model-ErrorModelV2\" class=\"model\">ErrorModelV2</a> </tr> <tr> <td><strong class=\"model-title\">500 (Internal Server Error)</strong></td> <td>An unexpected error occurred. The <span class=\"model\">exceptionCode</span> contained on the response body may be of help for our support team during diagnostic.</td> </tr> </tbody> </table> <h3>Error Codes</h3> <p> Some of the error codes returned in the <span class=\"model\">code</span> field of an <a href=\"#model-ErrorModelV2\" class=\"model\">ErrorModelV2</a> (body of responses with HTTP status code 422) are provided below*: </p> <table> <thead> <tr> <th>Code</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td class=\"model\">DocumentNotFound</td> <td>A referenced document was not found (check the document ID)</td> </tr> <tr> <td class=\"model\">SecurityContextNotFound</td> <td>A referenced security context was not found (check the security context ID)</td> </tr> <tr> <td class=\"model\">SignatureSessionNotFound</td> <td>A referenced signature session was not found (check the signature session ID)</td> </tr> <tr> <td class=\"model\">BadSignatureSessionOperation</td> <td>The operation is invalid for the current signature session or document status. For instance, trying to await the session's completion if it is still <span class=\"model\">Pending</span> results in this error</td> </tr> <tr> <td class=\"model\">BackgroundProcessing</td> <td>The operation cannot be completed at this time because the resource is being processed in background</td> </tr> <tr> <td class=\"model\">SignatureSessionTokenRequired</td> <td>The signature session token was not passed on the <span class=\"model\">X-Signature-Session-Token</span> request header</td> </tr> <tr> <td class=\"model\">BadSignatureSessionToken</td> <td>An invalid signature session token was passed on the <span class=\"model\">X-Signature-Session-Token</span> request header. Check your application for possible corruption of the session token, which may contain characters <span class=\"code\">-</span> (hyphen) and <span class=\"code\">_</span> (underscore)</td> </tr> <tr> <td class=\"model\">ExpiredSignatureSessionToken</td> <td>An expired signature session token was passed on the <span class=\"model\">X-Signature-Session-Token</span> request header. Signature session tokens are normally valid for 4 hours.</td> </tr> </tbody> </table> <p style=\"font-size: 0.9em\"> *The codes shown above are the most common error codes. Nonetheless, this list is not comprehensive. New codes may be added anytime without previous warning. </p> <h2>Culture / Internationalization (i18n)</h2> <p>The <span class=\"model\">Accept-Language</span> request header is observed by this API. The following cultures are supported:</p> <ul> <li><span class=\"code\">en-US</span> (or simply <span class=\"code\">en</span>)</li> <li><span class=\"code\">pt-BR</span> (or simply <span class=\"code\">pt</span>)</li> </ul> <p><i>Notice: error messages are not affected by this header and therefore should not be displayed to users, being better suited for logging.</i></p>
|
|
16
|
+
|
|
@@ -0,0 +1,441 @@
|
|
|
1
|
+
# restpki_ng_python_client
|
|
2
|
+
<b><i>Para Português, <a href=\"https://docs.lacunasoftware.com/pt-br/articles/rest-pki/core/integration/get-started\">clique aqui</a></i></b>
|
|
3
|
+
<p>
|
|
4
|
+
<a href=\"https://docs.lacunasoftware.com/en-us/articles/rest-pki/core/\">Rest PKI Core</a> is an upcoming version of
|
|
5
|
+
<a href=\"https://docs.lacunasoftware.com/en-us/articles/rest-pki/\">Rest PKI</a> that will have extended compatibility with environments and databases.
|
|
6
|
+
</p>
|
|
7
|
+
<p>
|
|
8
|
+
In addition to Windows Server (which is already supported by Rest PKI), Rest PKI Core will also run on <b>Linux</b> (Debian- and RedHat-based distributions)
|
|
9
|
+
and on <b>Docker</b>. As for database servers, in addition to SQL Server, <b>PostgreSQL</b> will also be supported.
|
|
10
|
+
</p>
|
|
11
|
+
<p>
|
|
12
|
+
<b>Before getting started, see the integration overview on the <a href=\"https://docs.lacunasoftware.com/en-us/articles/rest-pki/core/integration/\">Integration Guide</a></b>
|
|
13
|
+
</p>
|
|
14
|
+
<p>
|
|
15
|
+
For questions regarding the usage of this API, please reach us at <a href=\"https://lacuna.help/\">lacuna.help</a>
|
|
16
|
+
</p>
|
|
17
|
+
|
|
18
|
+
<h2>Parameters</h2>
|
|
19
|
+
<p>
|
|
20
|
+
You will need the following parameters:
|
|
21
|
+
</p>
|
|
22
|
+
<ul>
|
|
23
|
+
<li><b>Endpoint</b>: address of the Rest PKI Core instance that will be used</li>
|
|
24
|
+
<li><b>API Key</b>: authorization key for using the API</li>
|
|
25
|
+
</ul>
|
|
26
|
+
<p>
|
|
27
|
+
The <span class=\"model\">endpoint</span> must be prefixed to all relative URLs mentioned here. As for the <span class=\"model\">API Key</span>, see how to use it below.
|
|
28
|
+
</p>
|
|
29
|
+
|
|
30
|
+
<h2>Authentication</h2>
|
|
31
|
+
<p>
|
|
32
|
+
The API key must be sent on the <span class=\"model\">X-Api-Key</span> header on each request:
|
|
33
|
+
</p>
|
|
34
|
+
|
|
35
|
+
<!-- unfortunately, class \"example microlight\" doesn't seem to work here -->
|
|
36
|
+
<pre style=\"font-size: 12px; padding: 10px; border-radius: 4px; background: #41444e; font-weight: 600; color: #fff;\">
|
|
37
|
+
X-Api-Key: yourapp|xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
|
38
|
+
</pre>
|
|
39
|
+
|
|
40
|
+
<h2>HTTP Codes</h2>
|
|
41
|
+
|
|
42
|
+
<p>
|
|
43
|
+
The APIs will return the following HTTP codes:
|
|
44
|
+
</p>
|
|
45
|
+
|
|
46
|
+
<table>
|
|
47
|
+
<thead>
|
|
48
|
+
<tr>
|
|
49
|
+
<th>Code</th>
|
|
50
|
+
<th>Description</th>
|
|
51
|
+
</tr>
|
|
52
|
+
</thead>
|
|
53
|
+
<tbody>
|
|
54
|
+
<tr>
|
|
55
|
+
<td><strong class=\"model-title\">200 (OK)</strong></td>
|
|
56
|
+
<td>Request processed successfully. The response is different for each API, please refer to the operation's documentation</td>
|
|
57
|
+
</tr>
|
|
58
|
+
<tr>
|
|
59
|
+
<td><strong class=\"model-title\">400 (Bad Request)</strong></td>
|
|
60
|
+
<td>Syntax error. For instance, when a required field was not provided</td>
|
|
61
|
+
</tr>
|
|
62
|
+
<tr>
|
|
63
|
+
<td><strong class=\"model-title\">401 (Unauthorized)</strong></td>
|
|
64
|
+
<td>API key not provided or invalid</td>
|
|
65
|
+
</tr>
|
|
66
|
+
<tr>
|
|
67
|
+
<td><strong class=\"model-title\">403 (Forbidden)</strong></td>
|
|
68
|
+
<td>API key is valid, but the application has insufficient permissions to complete the requested operation</td>
|
|
69
|
+
</tr>
|
|
70
|
+
<tr>
|
|
71
|
+
<td><strong class=\"model-title\">422 (Unprocessable Entity)</strong></td>
|
|
72
|
+
<td>API error. The response body is an <a href=\"#model-ErrorModelV2\" class=\"model\">ErrorModelV2</a>
|
|
73
|
+
</tr>
|
|
74
|
+
<tr>
|
|
75
|
+
<td><strong class=\"model-title\">500 (Internal Server Error)</strong></td>
|
|
76
|
+
<td>An unexpected error occurred. The <span class=\"model\">exceptionCode</span> contained on the response body may be of help for our support team during diagnostic.</td>
|
|
77
|
+
</tr>
|
|
78
|
+
</tbody>
|
|
79
|
+
</table>
|
|
80
|
+
|
|
81
|
+
<h3>Error Codes</h3>
|
|
82
|
+
|
|
83
|
+
<p>
|
|
84
|
+
Some of the error codes returned in the <span class=\"model\">code</span> field of an <a href=\"#model-ErrorModelV2\" class=\"model\">ErrorModelV2</a>
|
|
85
|
+
(body of responses with HTTP status code 422) are provided below*:
|
|
86
|
+
</p>
|
|
87
|
+
|
|
88
|
+
<table>
|
|
89
|
+
<thead>
|
|
90
|
+
<tr>
|
|
91
|
+
<th>Code</th>
|
|
92
|
+
<th>Description</th>
|
|
93
|
+
</tr>
|
|
94
|
+
</thead>
|
|
95
|
+
<tbody>
|
|
96
|
+
<tr>
|
|
97
|
+
<td class=\"model\">DocumentNotFound</td>
|
|
98
|
+
<td>A referenced document was not found (check the document ID)</td>
|
|
99
|
+
</tr>
|
|
100
|
+
<tr>
|
|
101
|
+
<td class=\"model\">SecurityContextNotFound</td>
|
|
102
|
+
<td>A referenced security context was not found (check the security context ID)</td>
|
|
103
|
+
</tr>
|
|
104
|
+
<tr>
|
|
105
|
+
<td class=\"model\">SignatureSessionNotFound</td>
|
|
106
|
+
<td>A referenced signature session was not found (check the signature session ID)</td>
|
|
107
|
+
</tr>
|
|
108
|
+
<tr>
|
|
109
|
+
<td class=\"model\">BadSignatureSessionOperation</td>
|
|
110
|
+
<td>The operation is invalid for the current signature session or document status. For instance, trying to await the session's completion if it is still <span class=\"model\">Pending</span> results in this error</td>
|
|
111
|
+
</tr>
|
|
112
|
+
<tr>
|
|
113
|
+
<td class=\"model\">BackgroundProcessing</td>
|
|
114
|
+
<td>The operation cannot be completed at this time because the resource is being processed in background</td>
|
|
115
|
+
</tr>
|
|
116
|
+
<tr>
|
|
117
|
+
<td class=\"model\">SignatureSessionTokenRequired</td>
|
|
118
|
+
<td>The signature session token was not passed on the <span class=\"model\">X-Signature-Session-Token</span> request header</td>
|
|
119
|
+
</tr>
|
|
120
|
+
<tr>
|
|
121
|
+
<td class=\"model\">BadSignatureSessionToken</td>
|
|
122
|
+
<td>An invalid signature session token was passed on the <span class=\"model\">X-Signature-Session-Token</span> request header. Check your application for possible corruption of the session token, which may contain characters <span class=\"code\">-</span> (hyphen) and <span class=\"code\">_</span> (underscore)</td>
|
|
123
|
+
</tr>
|
|
124
|
+
<tr>
|
|
125
|
+
<td class=\"model\">ExpiredSignatureSessionToken</td>
|
|
126
|
+
<td>An expired signature session token was passed on the <span class=\"model\">X-Signature-Session-Token</span> request header. Signature session tokens are normally valid for 4 hours.</td>
|
|
127
|
+
</tr>
|
|
128
|
+
</tbody>
|
|
129
|
+
</table>
|
|
130
|
+
|
|
131
|
+
<p style=\"font-size: 0.9em\">
|
|
132
|
+
*The codes shown above are the most common error codes. Nonetheless, this list is not comprehensive. New codes may be added anytime without previous warning.
|
|
133
|
+
</p>
|
|
134
|
+
|
|
135
|
+
<h2>Culture / Internationalization (i18n)</h2>
|
|
136
|
+
<p>The <span class=\"model\">Accept-Language</span> request header is observed by this API. The following cultures are supported:</p>
|
|
137
|
+
<ul>
|
|
138
|
+
<li><span class=\"code\">en-US</span> (or simply <span class=\"code\">en</span>)</li>
|
|
139
|
+
<li><span class=\"code\">pt-BR</span> (or simply <span class=\"code\">pt</span>)</li>
|
|
140
|
+
</ul>
|
|
141
|
+
<p><i>Notice: error messages are not affected by this header and therefore should not be displayed to users, being better suited for logging.</i></p>
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
145
|
+
|
|
146
|
+
- API version: 2.1.2
|
|
147
|
+
- Package version: 0.9.0.1
|
|
148
|
+
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
|
|
149
|
+
|
|
150
|
+
## Requirements.
|
|
151
|
+
|
|
152
|
+
Python 3.7+
|
|
153
|
+
|
|
154
|
+
## Installation & Usage
|
|
155
|
+
### pip install
|
|
156
|
+
|
|
157
|
+
If the python package is hosted on a repository, you can install directly using:
|
|
158
|
+
|
|
159
|
+
```sh
|
|
160
|
+
pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git
|
|
161
|
+
```
|
|
162
|
+
(you may need to run `pip` with root permission: `sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git`)
|
|
163
|
+
|
|
164
|
+
Then import the package:
|
|
165
|
+
```python
|
|
166
|
+
import restpki_ng_python_client
|
|
167
|
+
```
|
|
168
|
+
|
|
169
|
+
### Setuptools
|
|
170
|
+
|
|
171
|
+
Install via [Setuptools](http://pypi.python.org/pypi/setuptools).
|
|
172
|
+
|
|
173
|
+
```sh
|
|
174
|
+
python setup.py install --user
|
|
175
|
+
```
|
|
176
|
+
(or `sudo python setup.py install` to install the package for all users)
|
|
177
|
+
|
|
178
|
+
Then import the package:
|
|
179
|
+
```python
|
|
180
|
+
import restpki_ng_python_client
|
|
181
|
+
```
|
|
182
|
+
|
|
183
|
+
### Tests
|
|
184
|
+
|
|
185
|
+
Execute `pytest` to run the tests.
|
|
186
|
+
|
|
187
|
+
## Getting Started
|
|
188
|
+
|
|
189
|
+
Please follow the [installation procedure](#installation--usage) and then run the following:
|
|
190
|
+
|
|
191
|
+
```python
|
|
192
|
+
|
|
193
|
+
import time
|
|
194
|
+
import restpki_ng_python_client
|
|
195
|
+
from restpki_ng_python_client.rest import ApiException
|
|
196
|
+
from pprint import pprint
|
|
197
|
+
|
|
198
|
+
# Defining the host is optional and defaults to http://localhost
|
|
199
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
200
|
+
configuration = restpki_ng_python_client.Configuration(
|
|
201
|
+
host = "http://localhost"
|
|
202
|
+
)
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
|
|
206
|
+
# Enter a context with an instance of the API client
|
|
207
|
+
with restpki_ng_python_client.ApiClient(configuration) as api_client:
|
|
208
|
+
# Create an instance of the API class
|
|
209
|
+
api_instance = restpki_ng_python_client.AuthenticationApi(api_client)
|
|
210
|
+
|
|
211
|
+
try:
|
|
212
|
+
api_response = api_instance.api_authentication_get()
|
|
213
|
+
print("The response of AuthenticationApi->api_authentication_get:\n")
|
|
214
|
+
pprint(api_response)
|
|
215
|
+
except ApiException as e:
|
|
216
|
+
print("Exception when calling AuthenticationApi->api_authentication_get: %s\n" % e)
|
|
217
|
+
|
|
218
|
+
```
|
|
219
|
+
|
|
220
|
+
## Documentation for API Endpoints
|
|
221
|
+
|
|
222
|
+
All URIs are relative to *http://localhost*
|
|
223
|
+
|
|
224
|
+
Class | Method | HTTP request | Description
|
|
225
|
+
------------ | ------------- | ------------- | -------------
|
|
226
|
+
*AuthenticationApi* | [**api_authentication_get**](docs/AuthenticationApi.md#api_authentication_get) | **GET** /Api/Authentication |
|
|
227
|
+
*AuthenticationApi* | [**api_authentication_post**](docs/AuthenticationApi.md#api_authentication_post) | **POST** /Api/Authentication |
|
|
228
|
+
*AuthenticationApi* | [**api_authentications_post**](docs/AuthenticationApi.md#api_authentications_post) | **POST** /Api/Authentications |
|
|
229
|
+
*AuthenticationApi* | [**api_authentications_token_finalize_post**](docs/AuthenticationApi.md#api_authentications_token_finalize_post) | **POST** /Api/Authentications/{token}/Finalize |
|
|
230
|
+
*AuthenticationApi* | [**api_authentications_token_signed_bytes_post**](docs/AuthenticationApi.md#api_authentications_token_signed_bytes_post) | **POST** /Api/Authentications/{token}/SignedBytes |
|
|
231
|
+
*AuthenticationApi* | [**api_v2_authentication_completion_post**](docs/AuthenticationApi.md#api_v2_authentication_completion_post) | **POST** /api/v2/authentication/completion | Completes a certificate authentication
|
|
232
|
+
*AuthenticationApi* | [**api_v2_authentication_post**](docs/AuthenticationApi.md#api_v2_authentication_post) | **POST** /api/v2/authentication | Prepares for a certificate authentication
|
|
233
|
+
*CadesSignatureApi* | [**api_cades_signatures_open_post**](docs/CadesSignatureApi.md#api_cades_signatures_open_post) | **POST** /Api/CadesSignatures/Open |
|
|
234
|
+
*CadesSignatureApi* | [**api_cades_signatures_post**](docs/CadesSignatureApi.md#api_cades_signatures_post) | **POST** /Api/CadesSignatures |
|
|
235
|
+
*CadesSignatureApi* | [**api_cades_signatures_required_hashes_post**](docs/CadesSignatureApi.md#api_cades_signatures_required_hashes_post) | **POST** /Api/CadesSignatures/RequiredHashes |
|
|
236
|
+
*CadesSignatureApi* | [**api_cades_signatures_token_finalize_post**](docs/CadesSignatureApi.md#api_cades_signatures_token_finalize_post) | **POST** /Api/CadesSignatures/{token}/Finalize |
|
|
237
|
+
*CadesSignatureApi* | [**api_cades_signatures_token_signed_bytes_post**](docs/CadesSignatureApi.md#api_cades_signatures_token_signed_bytes_post) | **POST** /Api/CadesSignatures/{token}/SignedBytes |
|
|
238
|
+
*CadesSignatureApi* | [**api_v2_cades_signatures_post**](docs/CadesSignatureApi.md#api_v2_cades_signatures_post) | **POST** /Api/v2/CadesSignatures |
|
|
239
|
+
*CadesSignatureApi* | [**api_v2_cades_signatures_token_signed_bytes_post**](docs/CadesSignatureApi.md#api_v2_cades_signatures_token_signed_bytes_post) | **POST** /Api/v2/CadesSignatures/{token}/SignedBytes |
|
|
240
|
+
*CadesSignatureApi* | [**api_v3_cades_signatures_post**](docs/CadesSignatureApi.md#api_v3_cades_signatures_post) | **POST** /Api/v3/CadesSignatures |
|
|
241
|
+
*DocumentKeysApi* | [**api_document_keys_batch_post**](docs/DocumentKeysApi.md#api_document_keys_batch_post) | **POST** /api/document-keys/batch | Allocates a batch of document keys to be used later on document signatures
|
|
242
|
+
*DocumentKeysApi* | [**api_document_keys_key_get**](docs/DocumentKeysApi.md#api_document_keys_key_get) | **GET** /api/document-keys/{key} | Queries documents by key
|
|
243
|
+
*DocumentKeysApi* | [**api_document_keys_post**](docs/DocumentKeysApi.md#api_document_keys_post) | **POST** /api/document-keys | Allocates a document key to be used later on a document signature
|
|
244
|
+
*DocumentKeysApi* | [**api_document_keys_unused_get**](docs/DocumentKeysApi.md#api_document_keys_unused_get) | **GET** /api/document-keys/unused | Queries unused document keys
|
|
245
|
+
*DocumentsApi* | [**api_documents_id_get**](docs/DocumentsApi.md#api_documents_id_get) | **GET** /api/documents/{id} | Retrieves a document's details
|
|
246
|
+
*DocumentsApi* | [**api_documents_id_signers_get**](docs/DocumentsApi.md#api_documents_id_signers_get) | **GET** /api/documents/{id}/signers | Retrieves the full information about each of a document's signers
|
|
247
|
+
*DocumentsApi* | [**api_documents_keys_key_get**](docs/DocumentsApi.md#api_documents_keys_key_get) | **GET** /api/documents/keys/{key} | Finds a document's details by its key
|
|
248
|
+
*PadesSignatureApi* | [**api_pades_signatures_open_post**](docs/PadesSignatureApi.md#api_pades_signatures_open_post) | **POST** /Api/PadesSignatures/Open |
|
|
249
|
+
*PadesSignatureApi* | [**api_pades_signatures_post**](docs/PadesSignatureApi.md#api_pades_signatures_post) | **POST** /Api/PadesSignatures |
|
|
250
|
+
*PadesSignatureApi* | [**api_pades_signatures_token_finalize_post**](docs/PadesSignatureApi.md#api_pades_signatures_token_finalize_post) | **POST** /Api/PadesSignatures/{token}/Finalize |
|
|
251
|
+
*PadesSignatureApi* | [**api_pades_signatures_token_signed_bytes_post**](docs/PadesSignatureApi.md#api_pades_signatures_token_signed_bytes_post) | **POST** /Api/PadesSignatures/{token}/SignedBytes |
|
|
252
|
+
*PadesSignatureApi* | [**api_v2_pades_signatures_post**](docs/PadesSignatureApi.md#api_v2_pades_signatures_post) | **POST** /Api/v2/PadesSignatures |
|
|
253
|
+
*PadesSignatureApi* | [**api_v2_pades_signatures_token_signed_bytes_post**](docs/PadesSignatureApi.md#api_v2_pades_signatures_token_signed_bytes_post) | **POST** /Api/v2/PadesSignatures/{token}/SignedBytes |
|
|
254
|
+
*PadesVisualPositioningPresetsApi* | [**api_pades_visual_positioning_presets_footnote_bottom_up_get**](docs/PadesVisualPositioningPresetsApi.md#api_pades_visual_positioning_presets_footnote_bottom_up_get) | **GET** /Api/PadesVisualPositioningPresets/FootnoteBottomUp |
|
|
255
|
+
*PadesVisualPositioningPresetsApi* | [**api_pades_visual_positioning_presets_footnote_get**](docs/PadesVisualPositioningPresetsApi.md#api_pades_visual_positioning_presets_footnote_get) | **GET** /Api/PadesVisualPositioningPresets/Footnote |
|
|
256
|
+
*PadesVisualPositioningPresetsApi* | [**api_pades_visual_positioning_presets_new_page_get**](docs/PadesVisualPositioningPresetsApi.md#api_pades_visual_positioning_presets_new_page_get) | **GET** /Api/PadesVisualPositioningPresets/NewPage |
|
|
257
|
+
*PdfApi* | [**api_pdf_add_marks_post**](docs/PdfApi.md#api_pdf_add_marks_post) | **POST** /Api/Pdf/AddMarks |
|
|
258
|
+
*SignatureApi* | [**api_signature_completion_post**](docs/SignatureApi.md#api_signature_completion_post) | **POST** /api/signature/completion |
|
|
259
|
+
*SignatureApi* | [**api_signature_post**](docs/SignatureApi.md#api_signature_post) | **POST** /api/signature |
|
|
260
|
+
*SignatureInspectionApi* | [**api_signature_inspection_put**](docs/SignatureInspectionApi.md#api_signature_inspection_put) | **PUT** /api/signature-inspection | Inspects a signed file, returning information about its signers and metadata about the corresponding document (if signed on this instance)
|
|
261
|
+
*SignatureSessionsApi* | [**api_signature_sessions_id_get**](docs/SignatureSessionsApi.md#api_signature_sessions_id_get) | **GET** /api/signature-sessions/{id} | Retrieves a signature session's details
|
|
262
|
+
*SignatureSessionsApi* | [**api_signature_sessions_id_when_completed_get**](docs/SignatureSessionsApi.md#api_signature_sessions_id_when_completed_get) | **GET** /api/signature-sessions/{id}/when-completed | Waits for the completion of a signature session
|
|
263
|
+
*SignatureSessionsApi* | [**api_signature_sessions_post**](docs/SignatureSessionsApi.md#api_signature_sessions_post) | **POST** /api/signature-sessions | Creates a signature session
|
|
264
|
+
*TimestampApi* | [**api_timestamp_plans_identifier_issue_post**](docs/TimestampApi.md#api_timestamp_plans_identifier_issue_post) | **POST** /Api/TimestampPlans/{identifier}/Issue |
|
|
265
|
+
*TimestampApi* | [**api_tsp_identifier_post**](docs/TimestampApi.md#api_tsp_identifier_post) | **POST** /api/tsp/{identifier} |
|
|
266
|
+
*UploadApi* | [**api_multipart_uploads_post**](docs/UploadApi.md#api_multipart_uploads_post) | **POST** /Api/MultipartUploads |
|
|
267
|
+
*UploadApi* | [**api_multipart_uploads_token_part_number_post**](docs/UploadApi.md#api_multipart_uploads_token_part_number_post) | **POST** /Api/MultipartUploads/{token}/{partNumber} |
|
|
268
|
+
*UploadApi* | [**api_multipart_uploads_token_post**](docs/UploadApi.md#api_multipart_uploads_token_post) | **POST** /Api/MultipartUploads/{token} |
|
|
269
|
+
*UploadApi* | [**api_plain_uploads_post**](docs/UploadApi.md#api_plain_uploads_post) | **POST** /api/plain-uploads |
|
|
270
|
+
*XmlSignatureApi* | [**api_v2_xml_signatures_open_post**](docs/XmlSignatureApi.md#api_v2_xml_signatures_open_post) | **POST** /Api/v2/XmlSignatures/Open |
|
|
271
|
+
*XmlSignatureApi* | [**api_xml_signatures_full_xml_signature_post**](docs/XmlSignatureApi.md#api_xml_signatures_full_xml_signature_post) | **POST** /Api/XmlSignatures/FullXmlSignature |
|
|
272
|
+
*XmlSignatureApi* | [**api_xml_signatures_open_post**](docs/XmlSignatureApi.md#api_xml_signatures_open_post) | **POST** /Api/XmlSignatures/Open |
|
|
273
|
+
*XmlSignatureApi* | [**api_xml_signatures_token_finalize_post**](docs/XmlSignatureApi.md#api_xml_signatures_token_finalize_post) | **POST** /Api/XmlSignatures/{token}/Finalize |
|
|
274
|
+
*XmlSignatureApi* | [**api_xml_signatures_token_signed_bytes_post**](docs/XmlSignatureApi.md#api_xml_signatures_token_signed_bytes_post) | **POST** /Api/XmlSignatures/{token}/SignedBytes |
|
|
275
|
+
*XmlSignatureApi* | [**api_xml_signatures_xml_element_signature_post**](docs/XmlSignatureApi.md#api_xml_signatures_xml_element_signature_post) | **POST** /Api/XmlSignatures/XmlElementSignature |
|
|
276
|
+
|
|
277
|
+
|
|
278
|
+
## Documentation For Models
|
|
279
|
+
|
|
280
|
+
- [AllocateDocumentKeyBatchRequest](docs/AllocateDocumentKeyBatchRequest.md)
|
|
281
|
+
- [AllocateDocumentKeyRequest](docs/AllocateDocumentKeyRequest.md)
|
|
282
|
+
- [AttributeCertificateModel](docs/AttributeCertificateModel.md)
|
|
283
|
+
- [AuditPackageOptions](docs/AuditPackageOptions.md)
|
|
284
|
+
- [AuthenticationFailures](docs/AuthenticationFailures.md)
|
|
285
|
+
- [AuthenticationGetResponse](docs/AuthenticationGetResponse.md)
|
|
286
|
+
- [AuthenticationPostRequest](docs/AuthenticationPostRequest.md)
|
|
287
|
+
- [AuthenticationPostResponse](docs/AuthenticationPostResponse.md)
|
|
288
|
+
- [AuthenticationsPostRequest](docs/AuthenticationsPostRequest.md)
|
|
289
|
+
- [AuthenticationsPostResponse](docs/AuthenticationsPostResponse.md)
|
|
290
|
+
- [AuthenticationsPostSignedBytesRequest](docs/AuthenticationsPostSignedBytesRequest.md)
|
|
291
|
+
- [AuthenticationsPostSignedBytesResponse](docs/AuthenticationsPostSignedBytesResponse.md)
|
|
292
|
+
- [AutoPositioningHorizontalDirections](docs/AutoPositioningHorizontalDirections.md)
|
|
293
|
+
- [AutoPositioningVerticalDirections](docs/AutoPositioningVerticalDirections.md)
|
|
294
|
+
- [Blockchains](docs/Blockchains.md)
|
|
295
|
+
- [CadesSignatureModel](docs/CadesSignatureModel.md)
|
|
296
|
+
- [CadesSignaturePostRequestV1](docs/CadesSignaturePostRequestV1.md)
|
|
297
|
+
- [CadesSignaturePostRequestV2](docs/CadesSignaturePostRequestV2.md)
|
|
298
|
+
- [CadesSignaturePostRequestV3](docs/CadesSignaturePostRequestV3.md)
|
|
299
|
+
- [CadesSignaturePostResponse](docs/CadesSignaturePostResponse.md)
|
|
300
|
+
- [CadesSignaturePostSignedBytesRequest](docs/CadesSignaturePostSignedBytesRequest.md)
|
|
301
|
+
- [CadesSignaturePostSignedBytesResponse](docs/CadesSignaturePostSignedBytesResponse.md)
|
|
302
|
+
- [CadesSignerModel](docs/CadesSignerModel.md)
|
|
303
|
+
- [CadesTimestampModel](docs/CadesTimestampModel.md)
|
|
304
|
+
- [CertificateModel](docs/CertificateModel.md)
|
|
305
|
+
- [CertificateReferenceModel](docs/CertificateReferenceModel.md)
|
|
306
|
+
- [CertificateRequirement](docs/CertificateRequirement.md)
|
|
307
|
+
- [CertificateRequirementTypes](docs/CertificateRequirementTypes.md)
|
|
308
|
+
- [CertificateSummary](docs/CertificateSummary.md)
|
|
309
|
+
- [CertifiedAttributeModel](docs/CertifiedAttributeModel.md)
|
|
310
|
+
- [CertifiedAttributeTypes](docs/CertifiedAttributeTypes.md)
|
|
311
|
+
- [CmsContentTypes](docs/CmsContentTypes.md)
|
|
312
|
+
- [CmsSignatureOptions](docs/CmsSignatureOptions.md)
|
|
313
|
+
- [ColorModel](docs/ColorModel.md)
|
|
314
|
+
- [CommitmentTypeModel](docs/CommitmentTypeModel.md)
|
|
315
|
+
- [CompleteAuthenticationRequest](docs/CompleteAuthenticationRequest.md)
|
|
316
|
+
- [CompleteAuthenticationResponse](docs/CompleteAuthenticationResponse.md)
|
|
317
|
+
- [CompleteSignatureRequest](docs/CompleteSignatureRequest.md)
|
|
318
|
+
- [CompleteSignatureRequestV2](docs/CompleteSignatureRequestV2.md)
|
|
319
|
+
- [CreateSignatureSessionRequest](docs/CreateSignatureSessionRequest.md)
|
|
320
|
+
- [CreateSignatureSessionResponse](docs/CreateSignatureSessionResponse.md)
|
|
321
|
+
- [DigestAlgorithmAndValueModel](docs/DigestAlgorithmAndValueModel.md)
|
|
322
|
+
- [DigestAlgorithms](docs/DigestAlgorithms.md)
|
|
323
|
+
- [DocumentFileModel](docs/DocumentFileModel.md)
|
|
324
|
+
- [DocumentKeyModel](docs/DocumentKeyModel.md)
|
|
325
|
+
- [DocumentKeyQueryResponse](docs/DocumentKeyQueryResponse.md)
|
|
326
|
+
- [DocumentKeySummary](docs/DocumentKeySummary.md)
|
|
327
|
+
- [DocumentModel](docs/DocumentModel.md)
|
|
328
|
+
- [DocumentQueryResponse](docs/DocumentQueryResponse.md)
|
|
329
|
+
- [DocumentStatus](docs/DocumentStatus.md)
|
|
330
|
+
- [DocumentSummary](docs/DocumentSummary.md)
|
|
331
|
+
- [ErrorModelV2](docs/ErrorModelV2.md)
|
|
332
|
+
- [FileModel](docs/FileModel.md)
|
|
333
|
+
- [FileReferenceModel](docs/FileReferenceModel.md)
|
|
334
|
+
- [FullXmlSignaturePostRequest](docs/FullXmlSignaturePostRequest.md)
|
|
335
|
+
- [GeneralNameChoices](docs/GeneralNameChoices.md)
|
|
336
|
+
- [GeneralNameModel](docs/GeneralNameModel.md)
|
|
337
|
+
- [HolderTypes](docs/HolderTypes.md)
|
|
338
|
+
- [InspectSignatureFailures](docs/InspectSignatureFailures.md)
|
|
339
|
+
- [InspectSignatureRequest](docs/InspectSignatureRequest.md)
|
|
340
|
+
- [InspectSignatureResponse](docs/InspectSignatureResponse.md)
|
|
341
|
+
- [MultipartUploadBeginResponse](docs/MultipartUploadBeginResponse.md)
|
|
342
|
+
- [MultipartUploadEndRequest](docs/MultipartUploadEndRequest.md)
|
|
343
|
+
- [NameModel](docs/NameModel.md)
|
|
344
|
+
- [NamespaceModel](docs/NamespaceModel.md)
|
|
345
|
+
- [OpenCadesSignatureRequestModel](docs/OpenCadesSignatureRequestModel.md)
|
|
346
|
+
- [OpenSignatureRequestModel](docs/OpenSignatureRequestModel.md)
|
|
347
|
+
- [OpenXmlSignatureRequestModel](docs/OpenXmlSignatureRequestModel.md)
|
|
348
|
+
- [OtherNameModel](docs/OtherNameModel.md)
|
|
349
|
+
- [PadesCertificationLevel](docs/PadesCertificationLevel.md)
|
|
350
|
+
- [PadesHorizontalAlign](docs/PadesHorizontalAlign.md)
|
|
351
|
+
- [PadesMeasurementUnits](docs/PadesMeasurementUnits.md)
|
|
352
|
+
- [PadesPageOptimizationModel](docs/PadesPageOptimizationModel.md)
|
|
353
|
+
- [PadesSignatureModel](docs/PadesSignatureModel.md)
|
|
354
|
+
- [PadesSignaturePostRequestV1](docs/PadesSignaturePostRequestV1.md)
|
|
355
|
+
- [PadesSignaturePostRequestV2](docs/PadesSignaturePostRequestV2.md)
|
|
356
|
+
- [PadesSignaturePostResponse](docs/PadesSignaturePostResponse.md)
|
|
357
|
+
- [PadesSignaturePostSignedBytesRequest](docs/PadesSignaturePostSignedBytesRequest.md)
|
|
358
|
+
- [PadesSignaturePostSignedBytesResponse](docs/PadesSignaturePostSignedBytesResponse.md)
|
|
359
|
+
- [PadesSignerModel](docs/PadesSignerModel.md)
|
|
360
|
+
- [PadesSizeModel](docs/PadesSizeModel.md)
|
|
361
|
+
- [PadesTextHorizontalAlign](docs/PadesTextHorizontalAlign.md)
|
|
362
|
+
- [PadesVerticalAlign](docs/PadesVerticalAlign.md)
|
|
363
|
+
- [PadesVisualAutoPositioningModel](docs/PadesVisualAutoPositioningModel.md)
|
|
364
|
+
- [PadesVisualImageModel](docs/PadesVisualImageModel.md)
|
|
365
|
+
- [PadesVisualPositioningModel](docs/PadesVisualPositioningModel.md)
|
|
366
|
+
- [PadesVisualRectangleModel](docs/PadesVisualRectangleModel.md)
|
|
367
|
+
- [PadesVisualRepresentationModel](docs/PadesVisualRepresentationModel.md)
|
|
368
|
+
- [PadesVisualTextModel](docs/PadesVisualTextModel.md)
|
|
369
|
+
- [PageOrientations](docs/PageOrientations.md)
|
|
370
|
+
- [PaperSizes](docs/PaperSizes.md)
|
|
371
|
+
- [PdfAddMarksRequest](docs/PdfAddMarksRequest.md)
|
|
372
|
+
- [PdfAddMarksResponse](docs/PdfAddMarksResponse.md)
|
|
373
|
+
- [PdfMarkElementModel](docs/PdfMarkElementModel.md)
|
|
374
|
+
- [PdfMarkElementType](docs/PdfMarkElementType.md)
|
|
375
|
+
- [PdfMarkImageModel](docs/PdfMarkImageModel.md)
|
|
376
|
+
- [PdfMarkModel](docs/PdfMarkModel.md)
|
|
377
|
+
- [PdfMarkPageOptions](docs/PdfMarkPageOptions.md)
|
|
378
|
+
- [PdfSignatureOptions](docs/PdfSignatureOptions.md)
|
|
379
|
+
- [PdfTextSectionModel](docs/PdfTextSectionModel.md)
|
|
380
|
+
- [PdfTextStyle](docs/PdfTextStyle.md)
|
|
381
|
+
- [PkiBrazilCertificateModel](docs/PkiBrazilCertificateModel.md)
|
|
382
|
+
- [PkiBrazilCertificateTypes](docs/PkiBrazilCertificateTypes.md)
|
|
383
|
+
- [PkiItalyCertificateModel](docs/PkiItalyCertificateModel.md)
|
|
384
|
+
- [PkiItalyCertificateTypes](docs/PkiItalyCertificateTypes.md)
|
|
385
|
+
- [PrepareAuthenticationRequest](docs/PrepareAuthenticationRequest.md)
|
|
386
|
+
- [PrepareAuthenticationResponse](docs/PrepareAuthenticationResponse.md)
|
|
387
|
+
- [PrepareSignatureFailures](docs/PrepareSignatureFailures.md)
|
|
388
|
+
- [PrepareSignatureRequest](docs/PrepareSignatureRequest.md)
|
|
389
|
+
- [PrepareSignatureResponse](docs/PrepareSignatureResponse.md)
|
|
390
|
+
- [ResourceContentOrReference](docs/ResourceContentOrReference.md)
|
|
391
|
+
- [RoleAttributeModel](docs/RoleAttributeModel.md)
|
|
392
|
+
- [SessionCompletionStatus](docs/SessionCompletionStatus.md)
|
|
393
|
+
- [SignatureAlgorithmAndValueModel](docs/SignatureAlgorithmAndValueModel.md)
|
|
394
|
+
- [SignatureAlgorithmIdentifier](docs/SignatureAlgorithmIdentifier.md)
|
|
395
|
+
- [SignatureAlgorithms](docs/SignatureAlgorithms.md)
|
|
396
|
+
- [SignatureBStampModel](docs/SignatureBStampModel.md)
|
|
397
|
+
- [SignaturePolicyIdentifierModel](docs/SignaturePolicyIdentifierModel.md)
|
|
398
|
+
- [SignatureResultModel](docs/SignatureResultModel.md)
|
|
399
|
+
- [SignatureSessionDocumentData](docs/SignatureSessionDocumentData.md)
|
|
400
|
+
- [SignatureSessionDocumentSummary](docs/SignatureSessionDocumentSummary.md)
|
|
401
|
+
- [SignatureSessionModel](docs/SignatureSessionModel.md)
|
|
402
|
+
- [SignatureSessionStatus](docs/SignatureSessionStatus.md)
|
|
403
|
+
- [SignatureTypes](docs/SignatureTypes.md)
|
|
404
|
+
- [SignerBStampModel](docs/SignerBStampModel.md)
|
|
405
|
+
- [SignerModel](docs/SignerModel.md)
|
|
406
|
+
- [SignerSummary](docs/SignerSummary.md)
|
|
407
|
+
- [TimestampIssueResponse](docs/TimestampIssueResponse.md)
|
|
408
|
+
- [ValidationItemModel](docs/ValidationItemModel.md)
|
|
409
|
+
- [ValidationItemTypes](docs/ValidationItemTypes.md)
|
|
410
|
+
- [ValidationResultsModel](docs/ValidationResultsModel.md)
|
|
411
|
+
- [WebhookEventModel](docs/WebhookEventModel.md)
|
|
412
|
+
- [WebhookEventTypes](docs/WebhookEventTypes.md)
|
|
413
|
+
- [XmlAttributeModel](docs/XmlAttributeModel.md)
|
|
414
|
+
- [XmlElementLocationModel](docs/XmlElementLocationModel.md)
|
|
415
|
+
- [XmlElementModel](docs/XmlElementModel.md)
|
|
416
|
+
- [XmlElementSignaturePostRequest](docs/XmlElementSignaturePostRequest.md)
|
|
417
|
+
- [XmlIdAttributeModel](docs/XmlIdAttributeModel.md)
|
|
418
|
+
- [XmlIdResolutionTableModel](docs/XmlIdResolutionTableModel.md)
|
|
419
|
+
- [XmlInsertionOptions](docs/XmlInsertionOptions.md)
|
|
420
|
+
- [XmlNodeNameModel](docs/XmlNodeNameModel.md)
|
|
421
|
+
- [XmlSignatureModel](docs/XmlSignatureModel.md)
|
|
422
|
+
- [XmlSignatureOptions](docs/XmlSignatureOptions.md)
|
|
423
|
+
- [XmlSignaturePostResponse](docs/XmlSignaturePostResponse.md)
|
|
424
|
+
- [XmlSignaturePostSignedBytesRequest](docs/XmlSignaturePostSignedBytesRequest.md)
|
|
425
|
+
- [XmlSignaturePostSignedBytesResponse](docs/XmlSignaturePostSignedBytesResponse.md)
|
|
426
|
+
- [XmlSignatureResponseModel](docs/XmlSignatureResponseModel.md)
|
|
427
|
+
- [XmlSignatureTypes](docs/XmlSignatureTypes.md)
|
|
428
|
+
- [XmlSignedEntityTypes](docs/XmlSignedEntityTypes.md)
|
|
429
|
+
|
|
430
|
+
|
|
431
|
+
<a id="documentation-for-authorization"></a>
|
|
432
|
+
## Documentation For Authorization
|
|
433
|
+
|
|
434
|
+
Endpoints do not require authorization.
|
|
435
|
+
|
|
436
|
+
|
|
437
|
+
## Author
|
|
438
|
+
|
|
439
|
+
|
|
440
|
+
|
|
441
|
+
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
[tool.poetry]
|
|
2
|
+
name = "restpki_ng_python_client"
|
|
3
|
+
version = "0.9.0.1"
|
|
4
|
+
description = "Rest PKI Core API"
|
|
5
|
+
authors = ["OpenAPI Generator Community <team@openapitools.org>"]
|
|
6
|
+
license = "NoLicense"
|
|
7
|
+
readme = "README.md"
|
|
8
|
+
repository = "https://github.com/GIT_USER_ID/GIT_REPO_ID"
|
|
9
|
+
keywords = ["OpenAPI", "OpenAPI-Generator", "Rest PKI Core API"]
|
|
10
|
+
include = ["restpki_ng_python_client/py.typed"]
|
|
11
|
+
|
|
12
|
+
[tool.poetry.dependencies]
|
|
13
|
+
python = "^3.7"
|
|
14
|
+
|
|
15
|
+
urllib3 = ">= 1.25.3"
|
|
16
|
+
python-dateutil = ">=2.8.2"
|
|
17
|
+
pydantic = ">=2"
|
|
18
|
+
typing-extensions = ">=4.7.1"
|
|
19
|
+
|
|
20
|
+
[tool.poetry.dev-dependencies]
|
|
21
|
+
pytest = ">=7.2.1"
|
|
22
|
+
tox = ">=3.9.0"
|
|
23
|
+
flake8 = ">=4.0.0"
|
|
24
|
+
|
|
25
|
+
[build-system]
|
|
26
|
+
requires = ["setuptools"]
|
|
27
|
+
build-backend = "setuptools.build_meta"
|
|
28
|
+
|
|
29
|
+
[tool.pylint.'MESSAGES CONTROL']
|
|
30
|
+
extension-pkg-whitelist = "pydantic"
|