MCPcopy Index your code
hub / github.com/MagicStack/asyncpg / new_cert

Function new_cert

tests/certs/gen.py:160–167  ·  view source on GitHub ↗
(
    path, ca_cert_key_pair, password=None, is_issuer=False, **subject
)

Source from the content-addressed store, hash-verified

158
159
160def new_cert(
161 path, ca_cert_key_pair, password=None, is_issuer=False, **subject
162):
163 cert_key_pair = _new_cert(
164 issuer=ca_cert_key_pair, is_issuer=is_issuer, **subject
165 )
166 _write_cert(path, cert_key_pair, password)
167 return cert_key_pair
168
169
170def new_crl(path, issuer, cert):

Callers 1

mainFunction · 0.85

Calls 2

_new_certFunction · 0.85
_write_certFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…