Public Key

class openfhe.PublicKey

Bases: pybind11_object

GetKeyTag(self: openfhe.PublicKey) str
SetKeyTag(self: openfhe.PublicKey, arg0: str) None

Private Key

class openfhe.PrivateKey

Bases: pybind11_object

GetKeyTag(self: openfhe.PrivateKey) str
SetKeyTag(self: openfhe.PrivateKey, arg0: str) None

KeyPair

class openfhe.KeyPair

Bases: pybind11_object

good(self: openfhe.KeyPair) bool

Checks whether both public key and secret key are non-null, or correctly initialized.

Returns:

Result.

Return type:

bool

property publicKey
property secretKey