Projekt

Obecné

Profil

Akce

Feature #8573

uzavřený

Implement endpoint for retrieving public/private key

Přidáno uživatelem Jan Pašek před téměř 4 roky(ů). Aktualizováno před téměř 4 roky(ů).

Stav:
Closed
Priorita:
Normal
Přiřazeno:
Stanislav Král
Kategorie:
Implementation
Cílová verze:
Začátek:
2021-04-09
Uzavřít do:
2021-04-18
% Hotovo:

100%

Odhadovaná doba:
2.50hod
Importance:
Tags:

Popis

Endpoints that enable retrieving a private and public key in PEM format of a given certificate shall be implemented

  • Two endpoints GET /api/certificates/{id}/publickey and GET /api/certificates/{id}/privatekey
  • The first endpoint just queries the certificate using CertificateService, gets a private key ID, queries private key from the KeyService and returns its data.
  • The second endpoint will do the same, except at the end it calls a new method of KeyService get_public_key(private_key) that utilizes OpenSSL via CryptographyService to get a public key out of the private key provided

Requirements: FR 1.1.7, FR 2.1.7

Reviewer: Michal Seják


Související úkoly

předchází Feature #8583: Implement certificate detailed view in the GUI - dynamic partClosedJan Pašek2021-04-192021-04-21

Akce
Akce

Také k dispozici: Atom PDF