nopasaran.controllers.controller.Controller¶
- class nopasaran.controllers.controller.Controller(root_certificate_file, own_private_certificate_file)¶
Bases:
objectBase controller for managing the control channel.
This controller handles loading certificates and provides common functionality for both client and server controllers.
- __init__(root_certificate_file, own_private_certificate_file)¶
Initialize the Controller.
- Args:
root_certificate_file (str): The file path to the root certificate file. own_private_certificate_file (str): The file path to the own private certificate file.
- Raises:
RuntimeError: If an error occurs while loading the control channel certificates.
Methods
__init__(root_certificate_file, ...)Initialize the Controller.