We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16b8ef6 commit c838c14Copy full SHA for c838c14
src/lib/bindings.cpp
@@ -327,6 +327,9 @@ void bind_crypto_context(py::module &m) {
327
.def("GetCompositeDegree", [](CryptoContext<DCRTPoly>& self) {
328
return GetParamsRNSChecked(self, "GetCompositeDegree")->GetCompositeDegree();
329
})
330
+ .def("GetKeySwitchTechnique", [](CryptoContext<DCRTPoly>& self) {
331
+ return GetParamsRNSChecked(self, "GetKeySwitchTechnique")->GetKeySwitchTechnique();
332
+ })
333
.def("Enable", py::overload_cast<PKESchemeFeature>(&CryptoContextImpl<DCRTPoly>::Enable),
334
py::arg("feature"),
335
py::doc(cc_Enable_docs))
0 commit comments