PublicKey: Public Key

PublicKeyR Documentation

Public Key

Description

Public Key

Usage

PublicKey(ptr = NULL)

Arguments

ptr

External pointer (internal use)

Value

An S7 object of class PublicKey, inheriting from OpenFHEObject, whose ptr property holds an external pointer to the C++ public key. This is the key encrypt() takes; obtain one as the public element of the KeyPair returned by key_gen() rather than by calling this constructor directly.


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