get_public_key: The public key an object holds

get_public_keyR Documentation

The public key an object holds

Description

For a BinFHEContext, the LWE public key among its bootstrapping keys, present after bin_bt_key_gen() with KeygenMode$PUB_ENCRYPT. For a SchemeSwitchingDataDeserializer, the CKKS public key it has read.

Usage

get_public_key(x, ...)

Arguments

x

A BinFHEContext or a SchemeSwitchingDataDeserializer.

...

Not used.

Value

An LWEPublicKey or a PublicKey, or NULL if the object holds none.

See Also

get_bt_key()


openfhe.R documentation built on Nov. 13, 2026, 5:07 p.m.