Removed redundant debug lines in crl_service_test.py
Re #8589 - Implemented get_root(unique_id) in CertificateService
Empty country code is now considered as a valid country code when creating a new certificate.
Changed tests accordingly.
Covered test cases where CertificateService should/shouldn't raise InvalidSubjectAttribute error
Merge branch 'master' into '8705_rapi_private_key'
Re #8705 - Added CertService tests for `verify_key` and key reusal functionality of `wrap_custom_key`.
Merge branch '8708_PKCS_Identity' into 'master'
8708 pkcs identity
See merge request aswi/aswi-2021/aswi2021jmsd!22
Re #8708 - Changed the generate_pkcs_identity method of the CertificateService in such way that the Certificate class instance is now passed instead of a certificate ID resulting in a decrease of SQL queries.
Re #8700 - Fixed a test bug related to date format differences.
Re #8708 - Improved generate_pkcs_identity tests in such way that the identity's friendlyName attribute is now checked
Re #8708 - Renamed a test
Re #8708 - Added a test verifying the validity of the generate_pkcs_identity method in CertificateService when a chain of trust is empty
Re #8708 - Implemented a new method in the CertificateService that does generate a PKCS12 identity by using the CryptographyService
Covered the new method with few integration testsFixed minor typos in the CertificateService
Re #8700 - Review merge.
Re #8707 - Added integration test of the service
Re #8700 - Implemented certificate revalidation check and fixed affected tests
Certificate usage hotfix before DEMO #4 - digital signature does not specify timestamping
Re #8575 - Removed useless print method calls
Re #8585 - Edited certificate_service_test.py tests asserting that various extension field flags are set when certain usages are selected
Re #8577 - Minor refactoring (crl -> crl_ocsp).
Re #8576 - Added crl endpoint integration tests, fix of serial number
Re #8576 - Added integration test for empty CRL
Re #8576 - Fixed generating index file for generating empty CRL
Re #8576 - integration test of CrlService
Re #8576 - calling CryptographyService from CrlService, passphrase support
Re #8575 - Fixed an issue where when creating an index file the valid_to field was passed instead of the revocation_date field
Re #8575 - Improved crl_service_test.py comments
Re #8575 - Removed a useless CryptographyService fixture
Re #8575 - Implemented CrlService that allows the caller to generate a CA database index of revoked certificates
Added an integration test verifying its validity.Renamed NOT_BEFORE_AFTER_DATE_FORMAT constant to VALID_FROM_TO_DATE_FORMAT in certificate_service.py....
Re #8572 - Adjusted CertificateService unit tests according to the new `delete_certificate` specification.
Re #8571 - Fixed problems during walk-through code review
Re #8571 - Fixed import error in unittests
Re #8571 - RestAPI testing
Re #8571 - CertificateService tests
Re #8571 - certificate_service.py revocation support end tests
Re #8573 - Added some CertificateService tests and improved CryptographyService tests of methods that extract public keys
Re #8573 - Added get_public_key method to KeyService that extracts a public key from a private key
Re #8579 - Changed conftest.py of service and DAO tests in such way that test_configuration is now used
Re #8569 Fixed broken tests after injection implementation
Re #8473 - Added get_subject_from_certificate to certificate_service.py
Re #8472 - Added further tests of the KeyService class
Re #8472 - Added KeyService.delete test and renamed a test suite
Applied a small change to the KeyService.get_keys method
Re #8472 - Implemented delete_certificate method in CertificateService and added a test validating it
Re #8472 - Implemented get_chain_of_trust method and added an integration test validating it
Added return type specification to read_all method in CertificateRepository
Re #8472 - Implemented get_certificates method and added an integration test validating it
Added fixtures providing a unique DB connection for each test
Re #8472 - Implemented create_end_cert method and added an integration test validating it
Re #8472 - Added the ability to pass usage dictionary to create_ca and create_root_ca methods via optional parameter
Re #8472 - Implemented create_ca method in CertificateService and added test verifying this method's validity
Re #8472 - Implemented get_certificate method in CertificateService and added a test testing this method
Re #8472 - Extended integration test asserting correct reading from the database
Re #8472 - Improved SQL connection/cursor fixtures in such way that connection to DB happens only once per test module