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