Revize 0fd6d825
Přidáno uživatelem Jan Pašek před téměř 4 roky(ů)
src/services/cryptography.py | ||
---|---|---|
355 | 355 |
""" |
356 | 356 |
return self.__run_for_output(["version"]).decode("utf-8") |
357 | 357 |
|
358 |
def generate_crl(self, index_file_path: str) -> str: |
|
359 |
""" |
|
360 |
Generate a CertificateRevocationList for a specified |
|
361 |
certificate authority. |
|
362 |
|
|
363 |
:param index_file_path: path to a file that contains the openssl index with all revoked certificates |
|
364 |
:return: CRL encoded in PEM format string |
|
365 |
""" |
|
366 |
# TODO |
|
367 |
return "" |
|
358 | 368 |
|
359 | 369 |
class CryptographyException(Exception): |
360 | 370 |
|
Také k dispozici: Unified diff
Re #8576 - CrlService implemented generate_crl_response(), prepared method generate_crl in CryptographyService