Revize 3d639744
Přidáno uživatelem Stanislav Král před asi 4 roky(ů)
src/services/certificate_service.py | ||
---|---|---|
177 | 177 |
current_cert = parent_cert |
178 | 178 |
|
179 | 179 |
return chain_of_trust |
180 |
|
|
181 |
def delete_certificate(self, unique_id): |
|
182 |
""" |
|
183 |
Deletes a certificate |
|
184 |
|
|
185 |
:param unique_id: ID of specific certificate |
|
186 |
|
|
187 |
:return: the result of whether the deletion was successful |
|
188 |
""" |
|
189 |
# TODO delete children? |
|
190 |
return self.certificate_repository.delete(unique_id) |
Také k dispozici: Unified diff
Re #8472 - Implemented delete_certificate method in CertificateService and added a test validating it