Home
last modified time | relevance | path

Searched refs:CcKeyManager (Results 1 – 2 of 2) sorted by relevance

/external/tink/python/tink/cc/pybind/
Dcc_key_manager.cc40 std::unique_ptr<pybind11::class_<CcKeyManager<PrimitiveType>>> WrapCcKeyManager( in WrapCcKeyManager()
44 auto cls = absl::make_unique<py::class_<CcKeyManager<PrimitiveType>>>( in WrapCcKeyManager()
47 &CcKeyManager<PrimitiveType>::GetFromCcRegistry); in WrapCcKeyManager()
48 cls->def("primitive", &CcKeyManager<PrimitiveType>::GetPrimitive, in WrapCcKeyManager()
50 cls->def("key_type", &CcKeyManager<PrimitiveType>::KeyType); in WrapCcKeyManager()
51 cls->def("new_key_data", &CcKeyManager<PrimitiveType>::NewKeyData, in WrapCcKeyManager()
75 ->def("public_key_data", &CcKeyManager<HybridDecrypt>::GetPublicKeyData, in PybindRegisterCcKeyManager()
88 ->def("public_key_data", &CcKeyManager<PublicKeySign>::GetPublicKeyData, in PybindRegisterCcKeyManager()
/external/tink/python/tink/cc/
Dcc_key_manager.h45 class CcKeyManager {
48 static std::unique_ptr<CcKeyManager<P>> GetFromCcRegistry( in GetFromCcRegistry()
57 return absl::make_unique<CcKeyManager<P>>(key_manager_result.value()); in GetFromCcRegistry()
60 explicit CcKeyManager(const KeyManager<P>* key_manager) in CcKeyManager() function