MCPcopy Create free account
hub / github.com/apache/httpd / get_pkey_file

Method get_pkey_file

test/pyhttpd/certs.py:251–253  ·  view source on GitHub ↗
(self, name: str, key_type=None)

Source from the content-addressed store, hash-verified

249 return os.path.join(self._store_dir, f'{name}{key_infix}.cert.pem')
250
251 def get_pkey_file(self, name: str, key_type=None) -> str:
252 key_infix = ".{0}".format(key_type) if key_type is not None else ""
253 return os.path.join(self._store_dir, f'{name}{key_infix}.pkey.pem')
254
255 def load_pem_cert(self, fpath: str) -> x509.Certificate:
256 with open(fpath) as fd:

Callers 2

saveMethod · 0.95
load_credentialsMethod · 0.95

Calls 1

joinMethod · 0.80

Tested by

no test coverage detected