openfl.cryptography.io.write_key

Contents

openfl.cryptography.io.write_key#

openfl.cryptography.io.write_key(key, path)[source]#

Writes a private key to a file.

Parameters:
  • key (RSAPrivateKey) – The private key to write.

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

Return type:

None