MCPcopy Create free account
hub / github.com/MagicStack/asyncpg / new_ca

Function new_ca

tests/certs/gen.py:189–196  ·  view source on GitHub ↗
(path, private_key=None, **subject)

Source from the content-addressed store, hash-verified

187
188
189def new_ca(path, private_key=None, **subject):
190 cert_key_pair = _new_cert(
191 is_issuer=True,
192 private_key=private_key,
193 **subject,
194 )
195 _write_cert(path, cert_key_pair)
196 return cert_key_pair
197
198
199def new_cert(

Callers 1

mainFunction · 0.85

Calls 2

_new_certFunction · 0.85
_write_certFunction · 0.85

Tested by

no test coverage detected