Revize ce8b9aaf
Přidáno uživatelem Stanislav Král před asi 4 roky(ů)
app.py | ||
---|---|---|
46 | 46 |
def get_cert_chain(id, certificate_controller: CertController): |
47 | 47 |
return certificate_controller.get_certificate_trust_chain_by_id(id) |
48 | 48 |
|
49 |
@app.route('/api/certificates/<id>/private_key', methods=["GET"]) |
|
50 |
def get_private_key_of_a_certificate(id, certificate_controller: CertController): |
|
51 |
return certificate_controller.get_private_key_of_a_certificate(id) |
|
49 | 52 |
|
50 | 53 |
@app.route('/api/certificates/<id>/public_key', methods=["GET"]) |
51 | 54 |
def get_public_key_of_a_certificate(id, certificate_controller: CertController): |
Také k dispozici: Unified diff
Re #8573 - Implemented get_private_key_of_a_certificate method in CertController and added /api/certificates/<id>/private_key endpoint