MCPcopy Create free account
hub / github.com/ceph/ceph / get_crypto_caller

Function get_crypto_caller

src/python-common/ceph/cryptotools/select.py:43–51  ·  view source on GitHub ↗

Return the currently selected crypto caller object.

()

Source from the content-addressed store, hash-verified

41
42
43def get_crypto_caller() -> CryptoCaller:
44 """Return the currently selected crypto caller object."""
45 caller = _CACHE.get(_CC_KEY)
46 if not caller:
47 choose_crypto_caller()
48 caller = _CACHE.get(_CC_KEY)
49 if caller is None:
50 raise RuntimeError('failed to select crypto caller')
51 return caller

Callers 6

create_self_signed_certFunction · 0.90
get_cert_issuer_infoFunction · 0.90
verify_tlsFunction · 0.90
password_hashFunction · 0.90

Calls 2

choose_crypto_callerFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected