Interface with the node secure aggregation element database
Attributes
DHManager module-attribute
DHManager = SecaggDhManager(environ['DB_PATH'])
SKManager module-attribute
SKManager = SecaggServkeyManager(environ['DB_PATH'])
Classes
SecaggManager
SecaggManager(element)
Wrapper class for returning any type of node secagg element database manager
Source code in fedbiomed/node/secagg_manager.py
def __init__(self, element: int):
"""Constructor of the class
"""
self._element = element
Attributes
element2class class-attribute
instance-attribute
element2class = {name: SKManager, name: DHManager}