Re #8476 - Implemented and tested `get_cert_root(id)`.
Re #8476 - Implemented and tested `get_cert_details(id)`.
Re #8476 - Added `to_dict` method to Subject, minor bugfix
Re #8476 - Certificate usages bugfix (?)
Re #8476 - Added and tested `get_certificate(id)`.
Re #8476 - Fixed and tested filtering for GET /api/certificates
Re #8476 - Refactored the application; swagger is not used for code generation anymore, REST API is being implemented from scratch. Migration only, fixing tests.
Re #8476 - Implemented `list_certificates` with unit tests.
Re #8476 - Auxiliary script for database initialization, FileAnchor
Re #8476 - Repository bugfix.
Re #8473 - Added get_subject_from_certificate to certificate_service.py
Re #8473 - Fixed minor typo in certificate_service.py
Re #8472 - Added a parameter to the craete_sscrt method in CryptographyService in order to be able to specify tha number of days for which the generated certificate will be valid.
Re #8472 - Added missing docstrings to KeyService and CertificateService classes
Re #8472 - Added KeyService.delete test and renamed a test suite
Applied a small change to the KeyService.get_keys method
Re #8472 - Changed delete methods in repositories in such way that delete methods now return True only when at least one row was deleted
Re #8472 - Implemented delete_certificate method in CertificateService and added a test validating it
Re #8472 - Changed CertificateRepository.read_all method in such way that empty list is now returned instead of None when no certificates are found
Re #8472 - Added get_chain_of_trust method documentation and comments
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 - Fixed an issue in the certificate repository that resulted in inability to filter certificates by their type
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 - Fixed an issue in CertificateRepository.create() method where update result (boolean) was returned instead of the created ID
Re #8472 - Implemented create_ca method in CertificateService and added test verifying this method's validity
Re #8472 - Fixed CertificateRepository bug that resulted in inability to create certificates
Re #8472 - Implemented get_certificate method in CertificateService and added a test testing this method
Re #8472 - Fixed a bug in CertificateRepository that resulted in inability to get a single certificate by ID
Re #8472 - Fixed a bug in PrivateKeyRepository that resulted in inability to get a single private key from the repository
Re #8472 - Improved SQL connection/cursor fixtures in such way that connection to DB happens only once per test module
Re #8472 - Finished implementation of create_root_ca method in CertificateService
Re #8472 - Made small fixes to the CertificateRepository
Re #8472 - Improved parse_cert_pem method in such way that it also parses notBefore and notAfter fields now
Re #8472 - Finished implementation of parse_cert_pem method that parses a subject out of a PEM formatted certificate
Added few unit tests testing this method.
Re #8472 - WIP commit of adding a method capable of parsing a Subject from a cert PEM
Re #8472 - Implemented KeyService
Re #8472 - Fixed PrivateKey field assignment typo
Re #8471 - Merge implement DAO - source code
Re #8471 - Implemented selection of all private keys
Re #8471 - Implemented filter of certificates- Implemented filter by certificate type using index (id) from CertificateTypes table- No multiple types supported
Re #8471 - Error correction after review
Re #8471 - Simplification of CRUD functions- conversion source of private key repository to one file- added comments
Re #8471 - Simplification of CRUD functions- conversion source of certificate repository to one file- added comments
Re #8471 - Added name of tables to constants- TAB_CERTIFICATE_TYPES for CertificateTypes table- TAB_USAGE_TYPES for UsageTypes table
Re #8471 - Modified source- deleted redundat files- deleted '_impl' from repositories filename
Re #8471 - Added comments for CRUD functions
Re #8471 - Tested direct DB communication- implemented tests for Certificates and PrivateKeys tables via DBManager
Re #8471 - Added FK of parent certificate
Re #8471 - Edited files for DB communication
Re #8471 - Edited Certificate object- due to database modification
Re #8471 - Edited constants
Re #8471 - Corrected stylistics and warnings
Re #8471 - Implemented DB communication- Implementation of communication with specific tables (Certificate, PrivateKey)
Re #8471 - Edited arguments in headers of functions
Re #8471 - Created constants of DB names- Constant for each of names in DB (table, column)
Re #8471 - Implemented DB communication- implemented operations create, read, update, delete- created file with constants contains name of DB file and default values in DB
Re #8471 - Initialization of DAO implementation- created data class according to DB tables (Certificate, PrivateKey)- created abstract class for DB communication