openfl.cryptography.io

openfl.cryptography.io#

Cryptography IO utilities.

Functions

get_csr_hash(certificate)

Computes the SHA-384 hash of a certificate.

read_crt(path)

Reads a signed TLS certificate from a file.

read_csr(path)

Reads a Certificate Signing Request (CSR) from a file.

read_key(path)

Reads a private key from a file.

write_crt(certificate, path)

Writes a cryptography certificate / CSR to a file.

write_key(key, path)

Writes a private key to a file.