get_all_contexts: All contexts the library currently holds

View source: R/key-switching.R

get_all_contextsR Documentation

All contexts the library currently holds

Description

OpenFHE keeps every context it has generated in a registry, and returns the registered one when asked for parameters it has seen. This function lists the registry.

Usage

get_all_contexts()

Value

A list of CryptoContext objects.

See Also

clear_fhe_state(), which can empty the registry.


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