openfl.cryptography.io.get_csr_hash

Contents

openfl.cryptography.io.get_csr_hash#

openfl.cryptography.io.get_csr_hash(certificate)[source]#

Computes the SHA-384 hash of a certificate.

Parameters:

certificate (CertificateSigningRequest) – The certificate to compute the hash of.

Returns:

The SHA-384 hash of the certificate.

Return type:

str