mirror of
https://gitea.publichub.eu/oscar.krause/fastapi-dls.git
synced 2025-11-03 12:46:10 +00:00
fixed missing code
This commit is contained in:
@@ -99,6 +99,9 @@ class Cert:
|
|||||||
def pem(self) -> bytes:
|
def pem(self) -> bytes:
|
||||||
return self.__cert.public_bytes(encoding=serialization.Encoding.PEM)
|
return self.__cert.public_bytes(encoding=serialization.Encoding.PEM)
|
||||||
|
|
||||||
|
def signature(self) -> bytes:
|
||||||
|
return self.__cert.signature
|
||||||
|
|
||||||
|
|
||||||
def load_file(filename: str) -> bytes:
|
def load_file(filename: str) -> bytes:
|
||||||
log = logging.getLogger(f'{__name__}')
|
log = logging.getLogger(f'{__name__}')
|
||||||
|
|||||||
Reference in New Issue
Block a user