restpki-ng-python-client 0.9.0.1__tar.gz → 0.9.2rc1__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.
Files changed (352) hide show
  1. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/PKG-INFO +10 -3
  2. restpki_ng_python_client-0.9.2rc1/README.md +93 -0
  3. {restpki_ng_python_client-0.9.0.1/restpki_ng_python_client → restpki_ng_python_client-0.9.2rc1/manually_generated_files}/restpki_ng_client.py +9 -3
  4. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/restpki_ng_python_client.egg-info/PKG-INFO +10 -3
  5. restpki_ng_python_client-0.9.2rc1/restpki_ng_python_client.egg-info/SOURCES.txt +179 -0
  6. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/restpki_ng_python_client.egg-info/requires.txt +1 -1
  7. restpki_ng_python_client-0.9.2rc1/restpki_ng_python_client.egg-info/top_level.txt +1 -0
  8. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/setup.cfg +0 -3
  9. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/setup.py +3 -3
  10. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_authentication_api.py +1 -0
  11. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_pades_signature_api.py +1 -6
  12. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_signature_sessions_api.py +96 -3
  13. restpki_ng_python_client-0.9.0.1/README.md +0 -441
  14. restpki_ng_python_client-0.9.0.1/pyproject.toml +0 -30
  15. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/__init__.py +0 -200
  16. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/api/__init__.py +0 -17
  17. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/api/authentication_api.py +0 -2041
  18. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/api/cades_signature_api.py +0 -2376
  19. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/api/document_keys_api.py +0 -1199
  20. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/api/documents_api.py +0 -868
  21. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/api/pades_signature_api.py +0 -1797
  22. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/api/pades_visual_positioning_presets_api.py +0 -869
  23. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/api/pdf_api.py +0 -334
  24. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/api/signature_api.py +0 -624
  25. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/api/signature_inspection_api.py +0 -337
  26. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/api/signature_sessions_api.py +0 -891
  27. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/api/timestamp_api.py +0 -654
  28. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/api/xml_signature_api.py +0 -1781
  29. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/api_client.py +0 -741
  30. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/api_response.py +0 -21
  31. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/configuration.py +0 -426
  32. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/exceptions.py +0 -166
  33. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/__init__.py +0 -165
  34. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/allocate_document_key_batch_request.py +0 -96
  35. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/allocate_document_key_request.py +0 -93
  36. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/attribute_certificate_model.py +0 -141
  37. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/audit_package_options.py +0 -90
  38. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/authentication_failures.py +0 -45
  39. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/authentication_get_response.py +0 -92
  40. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/authentication_post_request.py +0 -116
  41. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/authentication_post_response.py +0 -98
  42. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/authentications_post_request.py +0 -95
  43. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/authentications_post_response.py +0 -114
  44. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/authentications_post_signed_bytes_request.py +0 -99
  45. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/authentications_post_signed_bytes_response.py +0 -98
  46. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/auto_positioning_horizontal_directions.py +0 -45
  47. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/auto_positioning_vertical_directions.py +0 -45
  48. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/blockchains.py +0 -45
  49. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/cades_signature_model.py +0 -123
  50. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/cades_signature_post_request_v1.py +0 -137
  51. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/cades_signature_post_request_v2.py +0 -152
  52. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/cades_signature_post_request_v3.py +0 -149
  53. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/cades_signature_post_response.py +0 -120
  54. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/cades_signature_post_signed_bytes_request.py +0 -92
  55. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/cades_signature_post_signed_bytes_response.py +0 -106
  56. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/cades_signer_model.py +0 -159
  57. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/cades_timestamp_model.py +0 -140
  58. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/certificate_model.py +0 -197
  59. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/certificate_reference_model.py +0 -99
  60. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/certificate_requirement.py +0 -95
  61. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/certificate_requirement_types.py +0 -45
  62. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/certificate_summary.py +0 -142
  63. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/certified_attribute_model.py +0 -94
  64. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/certified_attribute_types.py +0 -44
  65. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/cms_content_types.py +0 -50
  66. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/cms_signature_options.py +0 -109
  67. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/color_model.py +0 -98
  68. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/commitment_type_model.py +0 -99
  69. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/complete_authentication_request.py +0 -93
  70. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/complete_authentication_response.py +0 -103
  71. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/complete_signature_request.py +0 -95
  72. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/complete_signature_request_v2.py +0 -91
  73. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/create_signature_session_request.py +0 -161
  74. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/create_signature_session_response.py +0 -95
  75. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/digest_algorithm_and_value_model.py +0 -103
  76. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/digest_algorithms.py +0 -49
  77. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/document_file_model.py +0 -137
  78. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/document_key_model.py +0 -100
  79. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/document_key_query_response.py +0 -110
  80. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/document_key_summary.py +0 -100
  81. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/document_model.py +0 -150
  82. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/document_query_response.py +0 -93
  83. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/document_status.py +0 -47
  84. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/document_summary.py +0 -128
  85. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/error_model_v2.py +0 -120
  86. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/file_model.py +0 -114
  87. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/file_reference_model.py +0 -137
  88. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/full_xml_signature_post_request.py +0 -136
  89. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/general_name_choices.py +0 -52
  90. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/general_name_model.py +0 -108
  91. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/holder_types.py +0 -45
  92. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/inspect_signature_failures.py +0 -44
  93. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/inspect_signature_request.py +0 -127
  94. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/inspect_signature_response.py +0 -131
  95. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/multipart_upload_begin_response.py +0 -95
  96. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/multipart_upload_end_request.py +0 -95
  97. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/name_model.py +0 -205
  98. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/namespace_model.py +0 -99
  99. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/open_cades_signature_request_model.py +0 -147
  100. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/open_signature_request_model.py +0 -145
  101. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/open_xml_signature_request_model.py +0 -151
  102. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/other_name_model.py +0 -107
  103. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/pades_certification_level.py +0 -47
  104. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/pades_horizontal_align.py +0 -46
  105. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/pades_measurement_units.py +0 -45
  106. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/pades_page_optimization_model.py +0 -98
  107. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/pades_signature_model.py +0 -113
  108. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/pades_signature_post_request_v1.py +0 -167
  109. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/pades_signature_post_request_v2.py +0 -171
  110. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/pades_signature_post_response.py +0 -120
  111. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/pades_signature_post_signed_bytes_request.py +0 -92
  112. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/pades_signature_post_signed_bytes_response.py +0 -106
  113. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/pades_signer_model.py +0 -168
  114. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/pades_size_model.py +0 -89
  115. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/pades_text_horizontal_align.py +0 -45
  116. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/pades_vertical_align.py +0 -46
  117. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/pades_visual_auto_positioning_model.py +0 -106
  118. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/pades_visual_image_model.py +0 -105
  119. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/pades_visual_positioning_model.py +0 -109
  120. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/pades_visual_rectangle_model.py +0 -127
  121. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/pades_visual_representation_model.py +0 -103
  122. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/pades_visual_text_model.py +0 -111
  123. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/page_orientations.py +0 -46
  124. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/paper_sizes.py +0 -56
  125. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/pdf_add_marks_request.py +0 -117
  126. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/pdf_add_marks_response.py +0 -91
  127. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/pdf_mark_element_type.py +0 -46
  128. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/pdf_mark_image_model.py +0 -98
  129. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/pdf_mark_page_options.py +0 -47
  130. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/pdf_signature_options.py +0 -101
  131. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/pdf_text_style.py +0 -46
  132. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/pki_brazil_certificate_model.py +0 -159
  133. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/pki_brazil_certificate_types.py +0 -54
  134. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/pki_italy_certificate_model.py +0 -103
  135. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/pki_italy_certificate_types.py +0 -46
  136. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/prepare_authentication_request.py +0 -100
  137. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/prepare_authentication_response.py +0 -99
  138. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/prepare_signature_failures.py +0 -46
  139. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/prepare_signature_request.py +0 -133
  140. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/prepare_signature_response.py +0 -116
  141. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/resource_content_or_reference.py +0 -107
  142. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/role_attribute_model.py +0 -114
  143. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/session_completion_status.py +0 -89
  144. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/signature_algorithm_and_value_model.py +0 -106
  145. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/signature_algorithm_identifier.py +0 -88
  146. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/signature_algorithms.py +0 -48
  147. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/signature_b_stamp_model.py +0 -135
  148. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/signature_policy_identifier_model.py +0 -105
  149. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/signature_result_model.py +0 -105
  150. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/signature_session_document_data.py +0 -128
  151. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/signature_session_document_summary.py +0 -138
  152. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/signature_session_model.py +0 -126
  153. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/signature_session_status.py +0 -49
  154. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/signature_types.py +0 -46
  155. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/signer_b_stamp_model.py +0 -132
  156. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/signer_model.py +0 -187
  157. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/signer_summary.py +0 -94
  158. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/timestamp_issue_response.py +0 -99
  159. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/validation_item_model.py +0 -111
  160. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/validation_item_types.py +0 -91
  161. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/validation_results_model.py +0 -131
  162. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/webhook_event_model.py +0 -94
  163. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/webhook_event_types.py +0 -44
  164. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/xml_attribute_model.py +0 -107
  165. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/xml_element_location_model.py +0 -111
  166. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/xml_element_model.py +0 -115
  167. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/xml_element_signature_post_request.py +0 -145
  168. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/xml_id_attribute_model.py +0 -96
  169. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/xml_id_resolution_table_model.py +0 -123
  170. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/xml_insertion_options.py +0 -47
  171. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/xml_node_name_model.py +0 -96
  172. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/xml_signature_model.py +0 -154
  173. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/xml_signature_options.py +0 -102
  174. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/xml_signature_post_response.py +0 -120
  175. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/xml_signature_post_signed_bytes_request.py +0 -92
  176. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/xml_signature_post_signed_bytes_response.py +0 -106
  177. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/xml_signature_response_model.py +0 -113
  178. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/xml_signature_types.py +0 -47
  179. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/models/xml_signed_entity_types.py +0 -46
  180. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/py.typed +0 -0
  181. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client/rest.py +0 -231
  182. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client.egg-info/SOURCES.txt +0 -348
  183. restpki_ng_python_client-0.9.0.1/restpki_ng_python_client.egg-info/top_level.txt +0 -1
  184. {restpki_ng_python_client-0.9.0.1/restpki_ng_python_client → restpki_ng_python_client-0.9.2rc1/manually_generated_files}/api/upload_api.py +0 -0
  185. {restpki_ng_python_client-0.9.0.1/restpki_ng_python_client → restpki_ng_python_client-0.9.2rc1/manually_generated_files}/file_utils.py +0 -0
  186. {restpki_ng_python_client-0.9.0.1/restpki_ng_python_client → restpki_ng_python_client-0.9.2rc1/manually_generated_files}/models/pdf_container_definition.py +0 -0
  187. {restpki_ng_python_client-0.9.0.1/restpki_ng_python_client → restpki_ng_python_client-0.9.2rc1/manually_generated_files}/models/pdf_helper.py +0 -0
  188. {restpki_ng_python_client-0.9.0.1/restpki_ng_python_client → restpki_ng_python_client-0.9.2rc1/manually_generated_files}/models/pdf_mark_element_model.py +0 -0
  189. {restpki_ng_python_client-0.9.0.1/restpki_ng_python_client → restpki_ng_python_client-0.9.2rc1/manually_generated_files}/models/pdf_mark_model.py +0 -0
  190. {restpki_ng_python_client-0.9.0.1/restpki_ng_python_client → restpki_ng_python_client-0.9.2rc1/manually_generated_files}/models/pdf_text_section_model.py +0 -0
  191. {restpki_ng_python_client-0.9.0.1/restpki_ng_python_client → restpki_ng_python_client-0.9.2rc1/manually_generated_files}/standard_signature_policies.py +0 -0
  192. {restpki_ng_python_client-0.9.0.1/restpki_ng_python_client → restpki_ng_python_client-0.9.2rc1/manually_generated_files}/utils.py +0 -0
  193. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/restpki_ng_python_client.egg-info/dependency_links.txt +0 -0
  194. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_allocate_document_key_batch_request.py +0 -0
  195. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_allocate_document_key_request.py +0 -0
  196. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_attribute_certificate_model.py +0 -0
  197. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_audit_package_options.py +0 -0
  198. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_authentication_failures.py +0 -0
  199. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_authentication_get_response.py +0 -0
  200. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_authentication_post_request.py +0 -0
  201. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_authentication_post_response.py +0 -0
  202. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_authentications_post_request.py +0 -0
  203. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_authentications_post_response.py +0 -0
  204. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_authentications_post_signed_bytes_request.py +0 -0
  205. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_authentications_post_signed_bytes_response.py +0 -0
  206. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_auto_positioning_horizontal_directions.py +0 -0
  207. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_auto_positioning_vertical_directions.py +0 -0
  208. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_blockchains.py +0 -0
  209. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_cades_signature_api.py +0 -0
  210. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_cades_signature_model.py +0 -0
  211. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_cades_signature_post_request_v1.py +0 -0
  212. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_cades_signature_post_request_v2.py +0 -0
  213. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_cades_signature_post_request_v3.py +0 -0
  214. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_cades_signature_post_response.py +0 -0
  215. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_cades_signature_post_signed_bytes_request.py +0 -0
  216. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_cades_signature_post_signed_bytes_response.py +0 -0
  217. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_cades_signer_model.py +0 -0
  218. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_cades_timestamp_model.py +0 -0
  219. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_certificate_model.py +0 -0
  220. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_certificate_reference_model.py +0 -0
  221. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_certificate_requirement.py +0 -0
  222. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_certificate_requirement_types.py +0 -0
  223. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_certificate_summary.py +0 -0
  224. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_certified_attribute_model.py +0 -0
  225. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_certified_attribute_types.py +0 -0
  226. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_cms_content_types.py +0 -0
  227. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_cms_signature_options.py +0 -0
  228. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_color_model.py +0 -0
  229. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_commitment_type_model.py +0 -0
  230. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_complete_authentication_request.py +0 -0
  231. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_complete_authentication_response.py +0 -0
  232. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_complete_signature_request.py +0 -0
  233. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_complete_signature_request_v2.py +0 -0
  234. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_create_signature_session_request.py +0 -0
  235. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_create_signature_session_response.py +0 -0
  236. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_digest_algorithm_and_value_model.py +0 -0
  237. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_digest_algorithms.py +0 -0
  238. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_document_file_model.py +0 -0
  239. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_document_key_model.py +0 -0
  240. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_document_key_query_response.py +0 -0
  241. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_document_key_summary.py +0 -0
  242. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_document_keys_api.py +0 -0
  243. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_document_model.py +0 -0
  244. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_document_query_response.py +0 -0
  245. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_document_status.py +0 -0
  246. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_document_summary.py +0 -0
  247. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_documents_api.py +0 -0
  248. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_error_model_v2.py +0 -0
  249. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_file_model.py +0 -0
  250. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_file_reference_model.py +0 -0
  251. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_full_xml_signature_post_request.py +0 -0
  252. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_general_name_choices.py +0 -0
  253. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_general_name_model.py +0 -0
  254. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_holder_types.py +0 -0
  255. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_inspect_signature_failures.py +0 -0
  256. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_inspect_signature_request.py +0 -0
  257. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_inspect_signature_response.py +0 -0
  258. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_multipart_upload_begin_response.py +0 -0
  259. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_multipart_upload_end_request.py +0 -0
  260. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_name_model.py +0 -0
  261. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_namespace_model.py +0 -0
  262. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_open_cades_signature_request_model.py +0 -0
  263. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_open_signature_request_model.py +0 -0
  264. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_open_xml_signature_request_model.py +0 -0
  265. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_other_name_model.py +0 -0
  266. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_pades_certification_level.py +0 -0
  267. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_pades_horizontal_align.py +0 -0
  268. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_pades_measurement_units.py +0 -0
  269. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_pades_page_optimization_model.py +0 -0
  270. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_pades_signature_model.py +0 -0
  271. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_pades_signature_post_request_v1.py +0 -0
  272. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_pades_signature_post_request_v2.py +0 -0
  273. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_pades_signature_post_response.py +0 -0
  274. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_pades_signature_post_signed_bytes_request.py +0 -0
  275. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_pades_signature_post_signed_bytes_response.py +0 -0
  276. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_pades_signer_model.py +0 -0
  277. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_pades_size_model.py +0 -0
  278. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_pades_text_horizontal_align.py +0 -0
  279. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_pades_vertical_align.py +0 -0
  280. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_pades_visual_auto_positioning_model.py +0 -0
  281. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_pades_visual_image_model.py +0 -0
  282. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_pades_visual_positioning_model.py +0 -0
  283. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_pades_visual_positioning_presets_api.py +0 -0
  284. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_pades_visual_rectangle_model.py +0 -0
  285. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_pades_visual_representation_model.py +0 -0
  286. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_pades_visual_text_model.py +0 -0
  287. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_page_orientations.py +0 -0
  288. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_paper_sizes.py +0 -0
  289. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_pdf_add_marks_request.py +0 -0
  290. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_pdf_add_marks_response.py +0 -0
  291. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_pdf_api.py +0 -0
  292. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_pdf_mark_element_model.py +0 -0
  293. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_pdf_mark_element_type.py +0 -0
  294. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_pdf_mark_image_model.py +0 -0
  295. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_pdf_mark_model.py +0 -0
  296. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_pdf_mark_page_options.py +0 -0
  297. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_pdf_signature_options.py +0 -0
  298. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_pdf_text_section_model.py +0 -0
  299. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_pdf_text_style.py +0 -0
  300. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_pki_brazil_certificate_model.py +0 -0
  301. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_pki_brazil_certificate_types.py +0 -0
  302. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_pki_italy_certificate_model.py +0 -0
  303. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_pki_italy_certificate_types.py +0 -0
  304. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_prepare_authentication_request.py +0 -0
  305. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_prepare_authentication_response.py +0 -0
  306. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_prepare_signature_failures.py +0 -0
  307. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_prepare_signature_request.py +0 -0
  308. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_prepare_signature_response.py +0 -0
  309. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_resource_content_or_reference.py +0 -0
  310. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_role_attribute_model.py +0 -0
  311. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_session_completion_status.py +0 -0
  312. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_signature_algorithm_and_value_model.py +0 -0
  313. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_signature_algorithm_identifier.py +0 -0
  314. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_signature_algorithms.py +0 -0
  315. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_signature_api.py +0 -0
  316. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_signature_b_stamp_model.py +0 -0
  317. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_signature_inspection_api.py +0 -0
  318. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_signature_policy_identifier_model.py +0 -0
  319. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_signature_result_model.py +0 -0
  320. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_signature_session_document_data.py +0 -0
  321. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_signature_session_document_summary.py +0 -0
  322. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_signature_session_model.py +0 -0
  323. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_signature_session_status.py +0 -0
  324. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_signature_types.py +0 -0
  325. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_signer_b_stamp_model.py +0 -0
  326. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_signer_model.py +0 -0
  327. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_signer_summary.py +0 -0
  328. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_timestamp_api.py +0 -0
  329. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_timestamp_issue_response.py +0 -0
  330. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_upload_api.py +0 -0
  331. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_validation_item_model.py +0 -0
  332. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_validation_item_types.py +0 -0
  333. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_validation_results_model.py +0 -0
  334. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_webhook_event_model.py +0 -0
  335. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_webhook_event_types.py +0 -0
  336. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_xml_attribute_model.py +0 -0
  337. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_xml_element_location_model.py +0 -0
  338. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_xml_element_model.py +0 -0
  339. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_xml_element_signature_post_request.py +0 -0
  340. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_xml_id_attribute_model.py +0 -0
  341. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_xml_id_resolution_table_model.py +0 -0
  342. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_xml_insertion_options.py +0 -0
  343. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_xml_node_name_model.py +0 -0
  344. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_xml_signature_api.py +0 -0
  345. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_xml_signature_model.py +0 -0
  346. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_xml_signature_options.py +0 -0
  347. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_xml_signature_post_response.py +0 -0
  348. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_xml_signature_post_signed_bytes_request.py +0 -0
  349. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_xml_signature_post_signed_bytes_response.py +0 -0
  350. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_xml_signature_response_model.py +0 -0
  351. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_xml_signature_types.py +0 -0
  352. {restpki_ng_python_client-0.9.0.1 → restpki_ng_python_client-0.9.2rc1}/test/test_xml_signed_entity_types.py +0 -0
@@ -1,16 +1,23 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: restpki_ng_python_client
3
- Version: 0.9.0.1
3
+ Version: 0.9.2rc1
4
4
  Summary: Rest PKI Core API
5
5
  Home-page:
6
6
  Author: OpenAPI Generator community
7
7
  Author-email: team@openapitools.org
8
8
  Keywords: OpenAPI,OpenAPI-Generator,Rest PKI Core API
9
9
  Description-Content-Type: text/markdown
10
- Requires-Dist: urllib3<2.1.0,>=1.25.11
10
+ Requires-Dist: urllib3<2.1.0,>=1.24.3
11
11
  Requires-Dist: python-dateutil
12
12
  Requires-Dist: pydantic>=2
13
13
  Requires-Dist: typing-extensions>=4.7.1
14
+ Dynamic: author
15
+ Dynamic: author-email
16
+ Dynamic: description
17
+ Dynamic: description-content-type
18
+ Dynamic: keywords
19
+ Dynamic: requires-dist
20
+ Dynamic: summary
14
21
 
15
22
  &lt;b&gt;&lt;i&gt;Para Português, &lt;a href&#x3D;\&quot;https://docs.lacunasoftware.com/pt-br/articles/rest-pki/core/integration/get-started\&quot;&gt;clique aqui&lt;/a&gt;&lt;/i&gt;&lt;/b&gt; &lt;p&gt; &lt;a href&#x3D;\&quot;https://docs.lacunasoftware.com/en-us/articles/rest-pki/core/\&quot;&gt;Rest PKI Core&lt;/a&gt; is an upcoming version of &lt;a href&#x3D;\&quot;https://docs.lacunasoftware.com/en-us/articles/rest-pki/\&quot;&gt;Rest PKI&lt;/a&gt; that will have extended compatibility with environments and databases. &lt;/p&gt; &lt;p&gt; In addition to Windows Server (which is already supported by Rest PKI), Rest PKI Core will also run on &lt;b&gt;Linux&lt;/b&gt; (Debian- and RedHat-based distributions) and on &lt;b&gt;Docker&lt;/b&gt;. As for database servers, in addition to SQL Server, &lt;b&gt;PostgreSQL&lt;/b&gt; will also be supported. &lt;/p&gt; &lt;p&gt; &lt;b&gt;Before getting started, see the integration overview on the &lt;a href&#x3D;\&quot;https://docs.lacunasoftware.com/en-us/articles/rest-pki/core/integration/\&quot;&gt;Integration Guide&lt;/a&gt;&lt;/b&gt; &lt;/p&gt; &lt;p&gt; For questions regarding the usage of this API, please reach us at &lt;a href&#x3D;\&quot;https://lacuna.help/\&quot;&gt;lacuna.help&lt;/a&gt; &lt;/p&gt; &lt;h2&gt;Parameters&lt;/h2&gt; &lt;p&gt; You will need the following parameters: &lt;/p&gt; &lt;ul&gt; &lt;li&gt;&lt;b&gt;Endpoint&lt;/b&gt;: address of the Rest PKI Core instance that will be used&lt;/li&gt; &lt;li&gt;&lt;b&gt;API Key&lt;/b&gt;: authorization key for using the API&lt;/li&gt; &lt;/ul&gt; &lt;p&gt; The &lt;span class&#x3D;\&quot;model\&quot;&gt;endpoint&lt;/span&gt; must be prefixed to all relative URLs mentioned here. As for the &lt;span class&#x3D;\&quot;model\&quot;&gt;API Key&lt;/span&gt;, see how to use it below. &lt;/p&gt; &lt;h2&gt;Authentication&lt;/h2&gt; &lt;p&gt; The API key must be sent on the &lt;span class&#x3D;\&quot;model\&quot;&gt;X-Api-Key&lt;/span&gt; header on each request: &lt;/p&gt; &lt;!-- unfortunately, class \&quot;example microlight\&quot; doesn&#39;t seem to work here --&gt; &lt;pre style&#x3D;\&quot;font-size: 12px; padding: 10px; border-radius: 4px; background: #41444e; font-weight: 600; color: #fff;\&quot;&gt; X-Api-Key: yourapp|xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx &lt;/pre&gt; &lt;h2&gt;HTTP Codes&lt;/h2&gt; &lt;p&gt; The APIs will return the following HTTP codes: &lt;/p&gt; &lt;table&gt; &lt;thead&gt; &lt;tr&gt; &lt;th&gt;Code&lt;/th&gt; &lt;th&gt;Description&lt;/th&gt; &lt;/tr&gt; &lt;/thead&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td&gt;&lt;strong class&#x3D;\&quot;model-title\&quot;&gt;200 (OK)&lt;/strong&gt;&lt;/td&gt; &lt;td&gt;Request processed successfully. The response is different for each API, please refer to the operation&#39;s documentation&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&lt;strong class&#x3D;\&quot;model-title\&quot;&gt;400 (Bad Request)&lt;/strong&gt;&lt;/td&gt; &lt;td&gt;Syntax error. For instance, when a required field was not provided&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&lt;strong class&#x3D;\&quot;model-title\&quot;&gt;401 (Unauthorized)&lt;/strong&gt;&lt;/td&gt; &lt;td&gt;API key not provided or invalid&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&lt;strong class&#x3D;\&quot;model-title\&quot;&gt;403 (Forbidden)&lt;/strong&gt;&lt;/td&gt; &lt;td&gt;API key is valid, but the application has insufficient permissions to complete the requested operation&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&lt;strong class&#x3D;\&quot;model-title\&quot;&gt;422 (Unprocessable Entity)&lt;/strong&gt;&lt;/td&gt; &lt;td&gt;API error. The response body is an &lt;a href&#x3D;\&quot;#model-ErrorModelV2\&quot; class&#x3D;\&quot;model\&quot;&gt;ErrorModelV2&lt;/a&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&lt;strong class&#x3D;\&quot;model-title\&quot;&gt;500 (Internal Server Error)&lt;/strong&gt;&lt;/td&gt; &lt;td&gt;An unexpected error occurred. The &lt;span class&#x3D;\&quot;model\&quot;&gt;exceptionCode&lt;/span&gt; contained on the response body may be of help for our support team during diagnostic.&lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt; &lt;h3&gt;Error Codes&lt;/h3&gt; &lt;p&gt; Some of the error codes returned in the &lt;span class&#x3D;\&quot;model\&quot;&gt;code&lt;/span&gt; field of an &lt;a href&#x3D;\&quot;#model-ErrorModelV2\&quot; class&#x3D;\&quot;model\&quot;&gt;ErrorModelV2&lt;/a&gt; (body of responses with HTTP status code 422) are provided below*: &lt;/p&gt; &lt;table&gt; &lt;thead&gt; &lt;tr&gt; &lt;th&gt;Code&lt;/th&gt; &lt;th&gt;Description&lt;/th&gt; &lt;/tr&gt; &lt;/thead&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td class&#x3D;\&quot;model\&quot;&gt;DocumentNotFound&lt;/td&gt; &lt;td&gt;A referenced document was not found (check the document ID)&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td class&#x3D;\&quot;model\&quot;&gt;SecurityContextNotFound&lt;/td&gt; &lt;td&gt;A referenced security context was not found (check the security context ID)&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td class&#x3D;\&quot;model\&quot;&gt;SignatureSessionNotFound&lt;/td&gt; &lt;td&gt;A referenced signature session was not found (check the signature session ID)&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td class&#x3D;\&quot;model\&quot;&gt;BadSignatureSessionOperation&lt;/td&gt; &lt;td&gt;The operation is invalid for the current signature session or document status. For instance, trying to await the session&#39;s completion if it is still &lt;span class&#x3D;\&quot;model\&quot;&gt;Pending&lt;/span&gt; results in this error&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td class&#x3D;\&quot;model\&quot;&gt;BackgroundProcessing&lt;/td&gt; &lt;td&gt;The operation cannot be completed at this time because the resource is being processed in background&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td class&#x3D;\&quot;model\&quot;&gt;SignatureSessionTokenRequired&lt;/td&gt; &lt;td&gt;The signature session token was not passed on the &lt;span class&#x3D;\&quot;model\&quot;&gt;X-Signature-Session-Token&lt;/span&gt; request header&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td class&#x3D;\&quot;model\&quot;&gt;BadSignatureSessionToken&lt;/td&gt; &lt;td&gt;An invalid signature session token was passed on the &lt;span class&#x3D;\&quot;model\&quot;&gt;X-Signature-Session-Token&lt;/span&gt; request header. Check your application for possible corruption of the session token, which may contain characters &lt;span class&#x3D;\&quot;code\&quot;&gt;-&lt;/span&gt; (hyphen) and &lt;span class&#x3D;\&quot;code\&quot;&gt;_&lt;/span&gt; (underscore)&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td class&#x3D;\&quot;model\&quot;&gt;ExpiredSignatureSessionToken&lt;/td&gt; &lt;td&gt;An expired signature session token was passed on the &lt;span class&#x3D;\&quot;model\&quot;&gt;X-Signature-Session-Token&lt;/span&gt; request header. Signature session tokens are normally valid for 4 hours.&lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt; &lt;p style&#x3D;\&quot;font-size: 0.9em\&quot;&gt; *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. &lt;/p&gt; &lt;h2&gt;Culture / Internationalization (i18n)&lt;/h2&gt; &lt;p&gt;The &lt;span class&#x3D;\&quot;model\&quot;&gt;Accept-Language&lt;/span&gt; request header is observed by this API. The following cultures are supported:&lt;/p&gt; &lt;ul&gt; &lt;li&gt;&lt;span class&#x3D;\&quot;code\&quot;&gt;en-US&lt;/span&gt; (or simply &lt;span class&#x3D;\&quot;code\&quot;&gt;en&lt;/span&gt;)&lt;/li&gt; &lt;li&gt;&lt;span class&#x3D;\&quot;code\&quot;&gt;pt-BR&lt;/span&gt; (or simply &lt;span class&#x3D;\&quot;code\&quot;&gt;pt&lt;/span&gt;)&lt;/li&gt; &lt;/ul&gt; &lt;p&gt;&lt;i&gt;Notice: error messages are not affected by this header and therefore should not be displayed to users, being better suited for logging.&lt;/i&gt;&lt;/p&gt;
16
23
 
@@ -0,0 +1,93 @@
1
+ # Python RestPkiCore Lib Auto Generation
2
+ This is a comprehensive tutorial to assist new developers when generating the lib again. This lib is generated with the help of [OpenAPI's Python Generator](https://openapi-generator.tech/docs/generators/python).
3
+
4
+ ## Project Structure
5
+ As seen in the first command line in `cmd.ps1`, the output folder for all generated files is the `dist` folder. Therefore, all files in this folder will be automatically overwritten during generation. So it is important to have **static proprietary modules**. Static proprietary modules are modules which are not in the library generation but are necessary for it to work completely, such as the `RestPkiClient` class inside `restpki_ng_client.py`.
6
+
7
+ After generation, the project structure is as follows:
8
+ ```
9
+ └── 📁restpkicore-python
10
+ └── 00.pdf
11
+ └── cmd.ps1
12
+ └── openapitools.json
13
+ └── python-openapi-config.json
14
+ └── README.md
15
+ └── restpki_ng_client.py
16
+ └── 📁test
17
+ └── ...
18
+ └── __init__.py
19
+ └── 📁dist
20
+ └── 📁.github
21
+ └── 📁workflows
22
+ └── python.yml
23
+ └── 📁.openapi-generator
24
+ └── FILES
25
+ └── VERSION
26
+ └── 📁docs
27
+ └── ...*.md
28
+ └── 📁restpki_ng_python_client
29
+ └── 📁api
30
+ └── ...*.py
31
+ └── __init__.py
32
+ └── 📁models
33
+ └── ...*.py
34
+ └── __init__.py
35
+ └── api_client.py
36
+ └── api_response.py
37
+ └── configuration.py
38
+ └── exceptions.py
39
+ └── py.typed
40
+ └── rest.py
41
+ └── restpki_ng_client.py
42
+ └── __init__.py
43
+ └── 📁test
44
+ └── ...*.py
45
+ └── __init__.py
46
+ └── setup.cfg
47
+ └── setup.py
48
+ └── test-requirements.txt
49
+ └── tox.ini
50
+ └── git_push.sh
51
+ └── pyproject.toml
52
+ └── README.md
53
+ └── requirements.txt
54
+ └── .openapi-generator-ignore
55
+ └── .travis.yml
56
+ └── .gitignore
57
+ └── .gitlab-ci.yml
58
+ ```
59
+
60
+ ### Local files
61
+ Local files are outside the dist folder, some of them are:
62
+ * `00.pdf`: Sample PDF to perform _ad-hoc_ signatures
63
+ * `cmd.ps1`: PowerShell script to run the `cmd.ps1`, which is the file which contains automated steps such as:
64
+ 1. Generating the lib using OpenAPI CLI with the configurations defined `python-openapi-config.json` (you may define new configurations as you need them, **but be aware of the new effects it may cause in this generation**)
65
+ 2. Copying static proprietary modules. You are also free to add new files and copy them into the restpki_ng_python_client new steps to the `cmd.ps1` script whenever necessary. Just remember to document all new files and define their use in the project.
66
+ * `restpki_ng_client.py`: This is an example of static proprietary module file. This class contains a facade class which directly calls the APIs in the `dist/api` folder and gives them a more user-friendly name.
67
+
68
+ ### Generated folder (`dist`)
69
+ The `dist` folder contains the generated files and the static proprietary modules from `cmd.ps1`. It is recommended to only add necessary files for the library and its functions. The `dist` folder contains
70
+ * An API folder, which is comprised of all endpoints as individual modules.
71
+ * Models folder, which contains all models generated from the specification.
72
+ * `gitlab-ci.yml`: Gitlab's CI file to test in different versions of Python.
73
+
74
+
75
+ ## Steps
76
+ ### Generating and testing the library
77
+ 1. Run `cmd.ps1`
78
+ 2. Test your application, for that we have a copy of the `test` folder outside of the `dist` folder which must overwrite the `dist/test` folder with populated tests. The tests are also kept outside the dist folder so they are not overwritten during the generation process.
79
+ * Copy and overwrite the `test` folder into `dist/test`.
80
+ * Test all modules using `pytest`, you also may test one at a time by running `pytest [filename.py]`
81
+ 3. Run `python setup.py install` in the `dist` folder. This will generate a local library in your python modules as if it is already installed on your machine. However, you still need to publish it
82
+
83
+ ### Publishing
84
+
85
+ TODO
86
+
87
+ ### Adding new files to the project
88
+ Adding new files is not a complex task, but it requires attention from the devs as not to break previous functionalities, so **it is vital to test them before publishing**. For this project, only integration tests were made available with only a test case for each endpoint. The tests do not cover
89
+ * Unit tests;
90
+ * Value range;
91
+ * Required values (those are inferred from the Swagger specification);
92
+
93
+ In case you need to test a new functionality, add a new test case in the class and run it again. In case of a breaking change (i.e. a change which needs to be applied to previous test cases for them to work again), you might want to refactor previous tests and others affected from this change. Once you get them all working again, release a new version
@@ -10,7 +10,7 @@ from io import BufferedReader, BytesIO
10
10
  import io
11
11
  import os
12
12
  import ssl
13
- from typing import Dict, List
13
+ from typing import Dict, List, Union
14
14
  from restpki_ng_python_client.rest import RESTResponse
15
15
  from restpki_ng_python_client.configuration import Configuration
16
16
  from restpki_ng_python_client.api_client import ApiClient
@@ -284,11 +284,17 @@ class RestPkiClient:
284
284
  # Upload
285
285
 
286
286
  # public methods
287
- def upload_file_multipart(self, file_desc: BufferedReader | BytesIO | str):
287
+ def upload_file_multipart(self, file_desc: Union[BufferedReader,BytesIO,str]):
288
+ if not isinstance(file_desc, BufferedReader) or not isinstance(file_desc, BytesIO) or not isinstance(file_desc, str):
289
+ raise TypeError("File is not a valid type, it must be a instance of BufferedReader, BytesIO or string")
290
+
288
291
  blob_token = self._upload_multipart(file_desc)
289
292
  return blob_token
290
293
 
291
- def upload_file_plain(self, file_path: str, file_desc: BufferedReader | BytesIO | str):
294
+ def upload_file_plain(self, file_path: str, file_desc: Union[BufferedReader,BytesIO,str]):
295
+ if not isinstance(file_desc, BufferedReader) or not isinstance(file_desc, BytesIO) or not isinstance(file_desc, str):
296
+ raise TypeError("File is not a valid type, it must be a instance of BufferedReader, BytesIO or string")
297
+
292
298
  blob_token = self._perform_plain_uploads(file_path, file_desc)
293
299
  return blob_token
294
300
 
@@ -1,16 +1,23 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: restpki_ng_python_client
3
- Version: 0.9.0.1
3
+ Version: 0.9.2rc1
4
4
  Summary: Rest PKI Core API
5
5
  Home-page:
6
6
  Author: OpenAPI Generator community
7
7
  Author-email: team@openapitools.org
8
8
  Keywords: OpenAPI,OpenAPI-Generator,Rest PKI Core API
9
9
  Description-Content-Type: text/markdown
10
- Requires-Dist: urllib3<2.1.0,>=1.25.11
10
+ Requires-Dist: urllib3<2.1.0,>=1.24.3
11
11
  Requires-Dist: python-dateutil
12
12
  Requires-Dist: pydantic>=2
13
13
  Requires-Dist: typing-extensions>=4.7.1
14
+ Dynamic: author
15
+ Dynamic: author-email
16
+ Dynamic: description
17
+ Dynamic: description-content-type
18
+ Dynamic: keywords
19
+ Dynamic: requires-dist
20
+ Dynamic: summary
14
21
 
15
22
  &lt;b&gt;&lt;i&gt;Para Português, &lt;a href&#x3D;\&quot;https://docs.lacunasoftware.com/pt-br/articles/rest-pki/core/integration/get-started\&quot;&gt;clique aqui&lt;/a&gt;&lt;/i&gt;&lt;/b&gt; &lt;p&gt; &lt;a href&#x3D;\&quot;https://docs.lacunasoftware.com/en-us/articles/rest-pki/core/\&quot;&gt;Rest PKI Core&lt;/a&gt; is an upcoming version of &lt;a href&#x3D;\&quot;https://docs.lacunasoftware.com/en-us/articles/rest-pki/\&quot;&gt;Rest PKI&lt;/a&gt; that will have extended compatibility with environments and databases. &lt;/p&gt; &lt;p&gt; In addition to Windows Server (which is already supported by Rest PKI), Rest PKI Core will also run on &lt;b&gt;Linux&lt;/b&gt; (Debian- and RedHat-based distributions) and on &lt;b&gt;Docker&lt;/b&gt;. As for database servers, in addition to SQL Server, &lt;b&gt;PostgreSQL&lt;/b&gt; will also be supported. &lt;/p&gt; &lt;p&gt; &lt;b&gt;Before getting started, see the integration overview on the &lt;a href&#x3D;\&quot;https://docs.lacunasoftware.com/en-us/articles/rest-pki/core/integration/\&quot;&gt;Integration Guide&lt;/a&gt;&lt;/b&gt; &lt;/p&gt; &lt;p&gt; For questions regarding the usage of this API, please reach us at &lt;a href&#x3D;\&quot;https://lacuna.help/\&quot;&gt;lacuna.help&lt;/a&gt; &lt;/p&gt; &lt;h2&gt;Parameters&lt;/h2&gt; &lt;p&gt; You will need the following parameters: &lt;/p&gt; &lt;ul&gt; &lt;li&gt;&lt;b&gt;Endpoint&lt;/b&gt;: address of the Rest PKI Core instance that will be used&lt;/li&gt; &lt;li&gt;&lt;b&gt;API Key&lt;/b&gt;: authorization key for using the API&lt;/li&gt; &lt;/ul&gt; &lt;p&gt; The &lt;span class&#x3D;\&quot;model\&quot;&gt;endpoint&lt;/span&gt; must be prefixed to all relative URLs mentioned here. As for the &lt;span class&#x3D;\&quot;model\&quot;&gt;API Key&lt;/span&gt;, see how to use it below. &lt;/p&gt; &lt;h2&gt;Authentication&lt;/h2&gt; &lt;p&gt; The API key must be sent on the &lt;span class&#x3D;\&quot;model\&quot;&gt;X-Api-Key&lt;/span&gt; header on each request: &lt;/p&gt; &lt;!-- unfortunately, class \&quot;example microlight\&quot; doesn&#39;t seem to work here --&gt; &lt;pre style&#x3D;\&quot;font-size: 12px; padding: 10px; border-radius: 4px; background: #41444e; font-weight: 600; color: #fff;\&quot;&gt; X-Api-Key: yourapp|xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx &lt;/pre&gt; &lt;h2&gt;HTTP Codes&lt;/h2&gt; &lt;p&gt; The APIs will return the following HTTP codes: &lt;/p&gt; &lt;table&gt; &lt;thead&gt; &lt;tr&gt; &lt;th&gt;Code&lt;/th&gt; &lt;th&gt;Description&lt;/th&gt; &lt;/tr&gt; &lt;/thead&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td&gt;&lt;strong class&#x3D;\&quot;model-title\&quot;&gt;200 (OK)&lt;/strong&gt;&lt;/td&gt; &lt;td&gt;Request processed successfully. The response is different for each API, please refer to the operation&#39;s documentation&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&lt;strong class&#x3D;\&quot;model-title\&quot;&gt;400 (Bad Request)&lt;/strong&gt;&lt;/td&gt; &lt;td&gt;Syntax error. For instance, when a required field was not provided&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&lt;strong class&#x3D;\&quot;model-title\&quot;&gt;401 (Unauthorized)&lt;/strong&gt;&lt;/td&gt; &lt;td&gt;API key not provided or invalid&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&lt;strong class&#x3D;\&quot;model-title\&quot;&gt;403 (Forbidden)&lt;/strong&gt;&lt;/td&gt; &lt;td&gt;API key is valid, but the application has insufficient permissions to complete the requested operation&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&lt;strong class&#x3D;\&quot;model-title\&quot;&gt;422 (Unprocessable Entity)&lt;/strong&gt;&lt;/td&gt; &lt;td&gt;API error. The response body is an &lt;a href&#x3D;\&quot;#model-ErrorModelV2\&quot; class&#x3D;\&quot;model\&quot;&gt;ErrorModelV2&lt;/a&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&lt;strong class&#x3D;\&quot;model-title\&quot;&gt;500 (Internal Server Error)&lt;/strong&gt;&lt;/td&gt; &lt;td&gt;An unexpected error occurred. The &lt;span class&#x3D;\&quot;model\&quot;&gt;exceptionCode&lt;/span&gt; contained on the response body may be of help for our support team during diagnostic.&lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt; &lt;h3&gt;Error Codes&lt;/h3&gt; &lt;p&gt; Some of the error codes returned in the &lt;span class&#x3D;\&quot;model\&quot;&gt;code&lt;/span&gt; field of an &lt;a href&#x3D;\&quot;#model-ErrorModelV2\&quot; class&#x3D;\&quot;model\&quot;&gt;ErrorModelV2&lt;/a&gt; (body of responses with HTTP status code 422) are provided below*: &lt;/p&gt; &lt;table&gt; &lt;thead&gt; &lt;tr&gt; &lt;th&gt;Code&lt;/th&gt; &lt;th&gt;Description&lt;/th&gt; &lt;/tr&gt; &lt;/thead&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td class&#x3D;\&quot;model\&quot;&gt;DocumentNotFound&lt;/td&gt; &lt;td&gt;A referenced document was not found (check the document ID)&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td class&#x3D;\&quot;model\&quot;&gt;SecurityContextNotFound&lt;/td&gt; &lt;td&gt;A referenced security context was not found (check the security context ID)&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td class&#x3D;\&quot;model\&quot;&gt;SignatureSessionNotFound&lt;/td&gt; &lt;td&gt;A referenced signature session was not found (check the signature session ID)&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td class&#x3D;\&quot;model\&quot;&gt;BadSignatureSessionOperation&lt;/td&gt; &lt;td&gt;The operation is invalid for the current signature session or document status. For instance, trying to await the session&#39;s completion if it is still &lt;span class&#x3D;\&quot;model\&quot;&gt;Pending&lt;/span&gt; results in this error&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td class&#x3D;\&quot;model\&quot;&gt;BackgroundProcessing&lt;/td&gt; &lt;td&gt;The operation cannot be completed at this time because the resource is being processed in background&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td class&#x3D;\&quot;model\&quot;&gt;SignatureSessionTokenRequired&lt;/td&gt; &lt;td&gt;The signature session token was not passed on the &lt;span class&#x3D;\&quot;model\&quot;&gt;X-Signature-Session-Token&lt;/span&gt; request header&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td class&#x3D;\&quot;model\&quot;&gt;BadSignatureSessionToken&lt;/td&gt; &lt;td&gt;An invalid signature session token was passed on the &lt;span class&#x3D;\&quot;model\&quot;&gt;X-Signature-Session-Token&lt;/span&gt; request header. Check your application for possible corruption of the session token, which may contain characters &lt;span class&#x3D;\&quot;code\&quot;&gt;-&lt;/span&gt; (hyphen) and &lt;span class&#x3D;\&quot;code\&quot;&gt;_&lt;/span&gt; (underscore)&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td class&#x3D;\&quot;model\&quot;&gt;ExpiredSignatureSessionToken&lt;/td&gt; &lt;td&gt;An expired signature session token was passed on the &lt;span class&#x3D;\&quot;model\&quot;&gt;X-Signature-Session-Token&lt;/span&gt; request header. Signature session tokens are normally valid for 4 hours.&lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt; &lt;p style&#x3D;\&quot;font-size: 0.9em\&quot;&gt; *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. &lt;/p&gt; &lt;h2&gt;Culture / Internationalization (i18n)&lt;/h2&gt; &lt;p&gt;The &lt;span class&#x3D;\&quot;model\&quot;&gt;Accept-Language&lt;/span&gt; request header is observed by this API. The following cultures are supported:&lt;/p&gt; &lt;ul&gt; &lt;li&gt;&lt;span class&#x3D;\&quot;code\&quot;&gt;en-US&lt;/span&gt; (or simply &lt;span class&#x3D;\&quot;code\&quot;&gt;en&lt;/span&gt;)&lt;/li&gt; &lt;li&gt;&lt;span class&#x3D;\&quot;code\&quot;&gt;pt-BR&lt;/span&gt; (or simply &lt;span class&#x3D;\&quot;code\&quot;&gt;pt&lt;/span&gt;)&lt;/li&gt; &lt;/ul&gt; &lt;p&gt;&lt;i&gt;Notice: error messages are not affected by this header and therefore should not be displayed to users, being better suited for logging.&lt;/i&gt;&lt;/p&gt;
16
23
 
@@ -0,0 +1,179 @@
1
+ README.md
2
+ setup.py
3
+ manually_generated_files/file_utils.py
4
+ manually_generated_files/restpki_ng_client.py
5
+ manually_generated_files/standard_signature_policies.py
6
+ manually_generated_files/utils.py
7
+ manually_generated_files/api/upload_api.py
8
+ manually_generated_files/models/pdf_container_definition.py
9
+ manually_generated_files/models/pdf_helper.py
10
+ manually_generated_files/models/pdf_mark_element_model.py
11
+ manually_generated_files/models/pdf_mark_model.py
12
+ manually_generated_files/models/pdf_text_section_model.py
13
+ restpki_ng_python_client.egg-info/PKG-INFO
14
+ restpki_ng_python_client.egg-info/SOURCES.txt
15
+ restpki_ng_python_client.egg-info/dependency_links.txt
16
+ restpki_ng_python_client.egg-info/requires.txt
17
+ restpki_ng_python_client.egg-info/top_level.txt
18
+ test/test_allocate_document_key_batch_request.py
19
+ test/test_allocate_document_key_request.py
20
+ test/test_attribute_certificate_model.py
21
+ test/test_audit_package_options.py
22
+ test/test_authentication_api.py
23
+ test/test_authentication_failures.py
24
+ test/test_authentication_get_response.py
25
+ test/test_authentication_post_request.py
26
+ test/test_authentication_post_response.py
27
+ test/test_authentications_post_request.py
28
+ test/test_authentications_post_response.py
29
+ test/test_authentications_post_signed_bytes_request.py
30
+ test/test_authentications_post_signed_bytes_response.py
31
+ test/test_auto_positioning_horizontal_directions.py
32
+ test/test_auto_positioning_vertical_directions.py
33
+ test/test_blockchains.py
34
+ test/test_cades_signature_api.py
35
+ test/test_cades_signature_model.py
36
+ test/test_cades_signature_post_request_v1.py
37
+ test/test_cades_signature_post_request_v2.py
38
+ test/test_cades_signature_post_request_v3.py
39
+ test/test_cades_signature_post_response.py
40
+ test/test_cades_signature_post_signed_bytes_request.py
41
+ test/test_cades_signature_post_signed_bytes_response.py
42
+ test/test_cades_signer_model.py
43
+ test/test_cades_timestamp_model.py
44
+ test/test_certificate_model.py
45
+ test/test_certificate_reference_model.py
46
+ test/test_certificate_requirement.py
47
+ test/test_certificate_requirement_types.py
48
+ test/test_certificate_summary.py
49
+ test/test_certified_attribute_model.py
50
+ test/test_certified_attribute_types.py
51
+ test/test_cms_content_types.py
52
+ test/test_cms_signature_options.py
53
+ test/test_color_model.py
54
+ test/test_commitment_type_model.py
55
+ test/test_complete_authentication_request.py
56
+ test/test_complete_authentication_response.py
57
+ test/test_complete_signature_request.py
58
+ test/test_complete_signature_request_v2.py
59
+ test/test_create_signature_session_request.py
60
+ test/test_create_signature_session_response.py
61
+ test/test_digest_algorithm_and_value_model.py
62
+ test/test_digest_algorithms.py
63
+ test/test_document_file_model.py
64
+ test/test_document_key_model.py
65
+ test/test_document_key_query_response.py
66
+ test/test_document_key_summary.py
67
+ test/test_document_keys_api.py
68
+ test/test_document_model.py
69
+ test/test_document_query_response.py
70
+ test/test_document_status.py
71
+ test/test_document_summary.py
72
+ test/test_documents_api.py
73
+ test/test_error_model_v2.py
74
+ test/test_file_model.py
75
+ test/test_file_reference_model.py
76
+ test/test_full_xml_signature_post_request.py
77
+ test/test_general_name_choices.py
78
+ test/test_general_name_model.py
79
+ test/test_holder_types.py
80
+ test/test_inspect_signature_failures.py
81
+ test/test_inspect_signature_request.py
82
+ test/test_inspect_signature_response.py
83
+ test/test_multipart_upload_begin_response.py
84
+ test/test_multipart_upload_end_request.py
85
+ test/test_name_model.py
86
+ test/test_namespace_model.py
87
+ test/test_open_cades_signature_request_model.py
88
+ test/test_open_signature_request_model.py
89
+ test/test_open_xml_signature_request_model.py
90
+ test/test_other_name_model.py
91
+ test/test_pades_certification_level.py
92
+ test/test_pades_horizontal_align.py
93
+ test/test_pades_measurement_units.py
94
+ test/test_pades_page_optimization_model.py
95
+ test/test_pades_signature_api.py
96
+ test/test_pades_signature_model.py
97
+ test/test_pades_signature_post_request_v1.py
98
+ test/test_pades_signature_post_request_v2.py
99
+ test/test_pades_signature_post_response.py
100
+ test/test_pades_signature_post_signed_bytes_request.py
101
+ test/test_pades_signature_post_signed_bytes_response.py
102
+ test/test_pades_signer_model.py
103
+ test/test_pades_size_model.py
104
+ test/test_pades_text_horizontal_align.py
105
+ test/test_pades_vertical_align.py
106
+ test/test_pades_visual_auto_positioning_model.py
107
+ test/test_pades_visual_image_model.py
108
+ test/test_pades_visual_positioning_model.py
109
+ test/test_pades_visual_positioning_presets_api.py
110
+ test/test_pades_visual_rectangle_model.py
111
+ test/test_pades_visual_representation_model.py
112
+ test/test_pades_visual_text_model.py
113
+ test/test_page_orientations.py
114
+ test/test_paper_sizes.py
115
+ test/test_pdf_add_marks_request.py
116
+ test/test_pdf_add_marks_response.py
117
+ test/test_pdf_api.py
118
+ test/test_pdf_mark_element_model.py
119
+ test/test_pdf_mark_element_type.py
120
+ test/test_pdf_mark_image_model.py
121
+ test/test_pdf_mark_model.py
122
+ test/test_pdf_mark_page_options.py
123
+ test/test_pdf_signature_options.py
124
+ test/test_pdf_text_section_model.py
125
+ test/test_pdf_text_style.py
126
+ test/test_pki_brazil_certificate_model.py
127
+ test/test_pki_brazil_certificate_types.py
128
+ test/test_pki_italy_certificate_model.py
129
+ test/test_pki_italy_certificate_types.py
130
+ test/test_prepare_authentication_request.py
131
+ test/test_prepare_authentication_response.py
132
+ test/test_prepare_signature_failures.py
133
+ test/test_prepare_signature_request.py
134
+ test/test_prepare_signature_response.py
135
+ test/test_resource_content_or_reference.py
136
+ test/test_role_attribute_model.py
137
+ test/test_session_completion_status.py
138
+ test/test_signature_algorithm_and_value_model.py
139
+ test/test_signature_algorithm_identifier.py
140
+ test/test_signature_algorithms.py
141
+ test/test_signature_api.py
142
+ test/test_signature_b_stamp_model.py
143
+ test/test_signature_inspection_api.py
144
+ test/test_signature_policy_identifier_model.py
145
+ test/test_signature_result_model.py
146
+ test/test_signature_session_document_data.py
147
+ test/test_signature_session_document_summary.py
148
+ test/test_signature_session_model.py
149
+ test/test_signature_session_status.py
150
+ test/test_signature_sessions_api.py
151
+ test/test_signature_types.py
152
+ test/test_signer_b_stamp_model.py
153
+ test/test_signer_model.py
154
+ test/test_signer_summary.py
155
+ test/test_timestamp_api.py
156
+ test/test_timestamp_issue_response.py
157
+ test/test_upload_api.py
158
+ test/test_validation_item_model.py
159
+ test/test_validation_item_types.py
160
+ test/test_validation_results_model.py
161
+ test/test_webhook_event_model.py
162
+ test/test_webhook_event_types.py
163
+ test/test_xml_attribute_model.py
164
+ test/test_xml_element_location_model.py
165
+ test/test_xml_element_model.py
166
+ test/test_xml_element_signature_post_request.py
167
+ test/test_xml_id_attribute_model.py
168
+ test/test_xml_id_resolution_table_model.py
169
+ test/test_xml_insertion_options.py
170
+ test/test_xml_node_name_model.py
171
+ test/test_xml_signature_api.py
172
+ test/test_xml_signature_model.py
173
+ test/test_xml_signature_options.py
174
+ test/test_xml_signature_post_response.py
175
+ test/test_xml_signature_post_signed_bytes_request.py
176
+ test/test_xml_signature_post_signed_bytes_response.py
177
+ test/test_xml_signature_response_model.py
178
+ test/test_xml_signature_types.py
179
+ test/test_xml_signed_entity_types.py
@@ -1,4 +1,4 @@
1
- urllib3<2.1.0,>=1.25.11
1
+ urllib3<2.1.0,>=1.24.3
2
2
  python-dateutil
3
3
  pydantic>=2
4
4
  typing-extensions>=4.7.1
@@ -1,6 +1,3 @@
1
- [flake8]
2
- max-line-length = 99
3
-
4
1
  [egg_info]
5
2
  tag_build =
6
3
  tag_date = 0
@@ -21,10 +21,10 @@ from setuptools import setup, find_packages # noqa: H301
21
21
  # prerequisite: setuptools
22
22
  # http://pypi.python.org/pypi/setuptools
23
23
  NAME = "restpki_ng_python_client"
24
- VERSION = "0.9.0.1"
24
+ VERSION = "0.9.2-rc1"
25
25
  PYTHON_REQUIRES = ">=3.7"
26
26
  REQUIRES = [
27
- "urllib3 >= 1.25.11, < 2.1.0",
27
+ "urllib3<2.1.0,>=1.24.3",
28
28
  "python-dateutil",
29
29
  "pydantic >= 2",
30
30
  "typing-extensions >= 4.7.1",
@@ -39,7 +39,7 @@ setup(
39
39
  url="",
40
40
  keywords=["OpenAPI", "OpenAPI-Generator", "Rest PKI Core API"],
41
41
  install_requires=REQUIRES,
42
- packages=find_packages(exclude=["test", "tests"]),
42
+ # packages=find_packages(exclude=["test", "tests"]),
43
43
  include_package_data=True,
44
44
  long_description_content_type='text/markdown',
45
45
  long_description="""\
@@ -15,6 +15,7 @@
15
15
  import unittest
16
16
 
17
17
  from restpki_ng_python_client.api.authentication_api import AuthenticationApi
18
+ from restpki_ng_python_client.api import *
18
19
 
19
20
 
20
21
  class TestAuthenticationApi(unittest.TestCase):
@@ -14,7 +14,6 @@
14
14
 
15
15
  import base64
16
16
  import unittest
17
- from restpki_ng_python_client.exceptions import ApiException
18
17
 
19
18
  from restpki_ng_python_client.models.pades_signature_post_response import PadesSignaturePostResponse
20
19
 
@@ -58,13 +57,9 @@ class TestPadesSignatureApi(unittest.TestCase):
58
57
  visual_representation=None
59
58
  )
60
59
  res = self.api.start_pades_signature_v2(pades_sig_v2)
61
- assert isinstance(res, PadesSignaturePostResponse)
62
- assert res.certificate.thumbprint == certThumb
63
-
60
+ return res
64
61
  except ApiException as e:
65
62
  print(e)
66
- # check if response is an instance of PadesSignaturePostResponse
67
-
68
63
 
69
64
 
70
65
  def test_api_pades_signatures_post(self) -> None:
@@ -13,15 +13,75 @@
13
13
 
14
14
 
15
15
  import unittest
16
+ import datetime
17
+ import base64
18
+ import threading
19
+ import http.server
20
+ import socketserver
21
+ import urllib.parse
22
+ import time
23
+ import os
16
24
 
17
25
  from restpki_ng_python_client.api.signature_sessions_api import SignatureSessionsApi
18
-
26
+ from restpki_ng_python_client.models.create_signature_session_request import CreateSignatureSessionRequest
27
+ from restpki_ng_python_client.models.signature_session_document_data import SignatureSessionDocumentData
28
+ from restpki_ng_python_client.models.file_reference_model import FileReferenceModel
29
+ from restpki_ng_python_client.models.pdf_signature_options import PdfSignatureOptions
30
+ from restpki_ng_python_client.models.pades_visual_representation_model import PadesVisualRepresentationModel
31
+ from restpki_ng_python_client.models.pades_visual_text_model import PadesVisualTextModel
32
+ from restpki_ng_python_client.models.pades_visual_rectangle_model import PadesVisualRectangleModel
33
+ from restpki_ng_python_client.models.pades_visual_positioning_model import PadesVisualPositioningModel
34
+ from restpki_ng_python_client.models.pades_visual_auto_positioning_model import PadesVisualAutoPositioningModel
35
+ from restpki_ng_python_client.models.pades_size_model import PadesSizeModel
36
+ from restpki_ng_python_client.models.pades_page_optimization_model import PadesPageOptimizationModel
37
+ from restpki_ng_python_client.models.pades_measurement_units import PadesMeasurementUnits
38
+ from restpki_ng_python_client.models.pades_horizontal_align import PadesHorizontalAlign
39
+ from restpki_ng_python_client.models.pades_vertical_align import PadesVerticalAlign
40
+ from restpki_ng_python_client.models.auto_positioning_horizontal_directions import AutoPositioningHorizontalDirections
41
+ from restpki_ng_python_client.models.auto_positioning_vertical_directions import AutoPositioningVerticalDirections
42
+ from restpki_ng_python_client.models.signature_types import SignatureTypes
43
+ from test import rest_pki_client
44
+
45
+ class CallbackHandler(http.server.SimpleHTTPRequestHandler):
46
+ """Handler for the callback URL"""
47
+ callback_received = False
48
+ callback_data = None
49
+
50
+ def do_GET(self):
51
+ """Handle GET request to the callback URL"""
52
+ # Parse the query parameters
53
+ query_components = urllib.parse.parse_qs(urllib.parse.urlparse(self.path).query)
54
+
55
+ # Store the callback data
56
+ CallbackHandler.callback_received = True
57
+ CallbackHandler.callback_data = query_components
58
+
59
+ # Send response
60
+ self.send_response(200)
61
+ self.send_header('Content-type', 'text/html')
62
+ self.end_headers()
63
+ self.wfile.write(b"Callback received successfully!")
64
+
65
+ def start_callback_server(port=8000):
66
+ """Start a local HTTP server to handle the callback"""
67
+ handler = CallbackHandler
68
+ with socketserver.TCPServer(("", port), handler) as httpd:
69
+ print(f"Serving at port {port}")
70
+ httpd.serve_forever()
19
71
 
20
72
  class TestSignatureSessionsApi(unittest.TestCase):
21
73
  """SignatureSessionsApi unit test stubs"""
22
74
 
75
+ @classmethod
76
+ def setUpClass(cls):
77
+ # Start the callback server in a separate thread
78
+ cls.server_thread = threading.Thread(target=start_callback_server, daemon=True)
79
+ cls.server_thread.start()
80
+ # Give the server a moment to start
81
+ time.sleep(1)
82
+
23
83
  def setUp(self) -> None:
24
- self.api = SignatureSessionsApi()
84
+ pass
25
85
 
26
86
  def tearDown(self) -> None:
27
87
  pass
@@ -45,7 +105,40 @@ class TestSignatureSessionsApi(unittest.TestCase):
45
105
 
46
106
  Creates a signature session
47
107
  """
48
- pass
108
+ # Create a sample PDF file content (minimal valid PDF)
109
+ pdf_content = base64.b64encode(b'%PDF-1.4\n1 0 obj\n<<>>\nendobj\ntrailer\n<<>>\n%%EOF').decode('utf-8')
110
+
111
+ # Create the request
112
+ request = CreateSignatureSessionRequest(
113
+ return_url='http://localhost:8000/callback'
114
+ )
115
+
116
+ # Call the API
117
+ response = rest_pki_client.create_signature_session(create_signature_session_request=request)
118
+
119
+ # Assert the response
120
+ self.assertIsNotNone(response)
121
+ self.assertIsNotNone(response.session_id)
122
+ self.assertIsNotNone(response.redirect_url)
123
+ self.assertTrue(response.redirect_url.startswith('http'))
124
+
125
+ # Print the redirect URL for manual testing
126
+ print(f"\nPlease visit this URL to complete the signature: {response.redirect_url}")
127
+ print("The callback server is running at http://localhost:8000/callback")
128
+ print("Press Ctrl+C to stop the test when done\n")
129
+
130
+ # Wait for callback (with timeout)
131
+ timeout = 300 # 5 minutes timeout
132
+ start_time = time.time()
133
+ while not CallbackHandler.callback_received:
134
+ if time.time() - start_time > timeout:
135
+ self.fail("Timeout waiting for callback")
136
+ time.sleep(1)
137
+
138
+ # Verify callback data
139
+ self.assertTrue(CallbackHandler.callback_received)
140
+ self.assertIsNotNone(CallbackHandler.callback_data)
141
+ print(f"Callback received with data: {CallbackHandler.callback_data}")
49
142
 
50
143
 
51
144
  if __name__ == '__main__':