Explorar el Código

Add ciphertext.GetKeyTag to the python bindings

Ian Goldberg hace 9 meses
padre
commit
978cbef8d8
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      src/lib/bindings.cpp

+ 1 - 0
src/lib/bindings.cpp

@@ -1509,6 +1509,7 @@ void bind_ciphertext(py::module &m) {
         .def("SetNoiseScaleDeg", &CiphertextImpl<DCRTPoly>::SetNoiseScaleDeg)
         .def("GetCryptoContext", &CiphertextImpl<DCRTPoly>::GetCryptoContext)
         .def("GetEncodingType", &CiphertextImpl<DCRTPoly>::GetEncodingType)
+        .def("GetKeyTag", &CiphertextImpl<DCRTPoly>::GetKeyTag)
         .def("GetElements", [](const CiphertextImpl<DCRTPoly>& self) -> const std::vector<DCRTPoly>& {
                 return self.GetElements();
             },