Query: openssl_x509_fingerprint
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
OPENSSL_X509_FINGERPRINT(3) 1 OPENSSL_X509_FINGERPRINT(3) openssl_x509_fingerprint - Calculates the fingerprint, or digest, of a given X.509 certificateSYNOPSISbool openssl_x509_fingerprint FALSE (mixed $x509, [string $hash_algorithm = "sha1"], [bool $raw_output])DESCRIPTIONopenssl_x509_fingerprint(3) returns the digest of $x509 as a string.PARAMETERSo $x509 - See Key/Certificate parameters for a list of valid values. o $hash_algorithm - The hash algorithm to use, e.g. "md5" or "sha1" o $raw_output - When set to TRUE, outputs raw binary data. FALSE outputs lowercase hexits.RETURN VALUESReturns a string containing the calculated certificate fingerprint as lowercase hexits unless $raw_output is set to TRUE in which case the raw binary representation of the message digest is returned. Returns FALSE on failure. PHP Documentation Group OPENSSL_X509_FINGERPRINT(3)
Related Man Pages |
---|
digest::sha1(3) - redhat |
hash_hmac(3) - php |
hash_hmac_file(3) - php |
md5_file(3) - php |
sha1_file(3) - php |