Function - read_key

Contents

Function - read_key#

openfl.cryptography.io.read_key(path)[source]#

Reads a private key from a file.

Parameters:

path (Path) – The path to the file containing the private key.

Returns:

The private key.

Return type:

RSAPrivateKey