nvflare.fuel.f3.cellnet.credential_manager module

class CredentialManager(local_endpoint: Endpoint)[source]

Bases: object

Helper class for secure message. It holds the local credentials and certificate cache

create_request(target: str) dict[source]
decrypt(origin_cert: bytes, cipher: bytes) bytes[source]
encrypt(target_cert: bytes, payload: bytes) bytes[source]
get_ca_cert() Certificate[source]
get_certificate(fqcn: str) bytes[source]
get_local_cert() Certificate[source]
get_local_key() RSAPrivateKey[source]
process_request(request: dict) dict[source]
static process_response(reply: dict) bytes[source]
static read_file(file_name: str)[source]
save_certificate(fqcn: str, cert: bytes)[source]