openssl_x509_fingerprint(3) php man page | unix.com

Man Page: openssl_x509_fingerprint

Operating Environment: php

Section: 3

OPENSSL_X509_FINGERPRINT(3)						 1					       OPENSSL_X509_FINGERPRINT(3)

openssl_x509_fingerprint - Calculates the fingerprint, or digest, of a given X.509 certificate

SYNOPSIS
bool openssl_x509_fingerprint FALSE (mixed $x509, [string $hash_algorithm = "sha1"], [bool $raw_output])
DESCRIPTION
openssl_x509_fingerprint(3) returns the digest of $x509 as a string.
PARAMETERS
o $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 VALUES
Returns 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
bbdigest(1) - debian
openssl_encrypt(3) - php
hash(3) - php
hash_pbkdf2(3) - php
digest::bubblebabble(3pm) - debian
Similar Topics in the Unix Linux Community
UNIX.COM 2017 Year End Summary
Please Welcome Don Cragun as Lead Moderator
Status of UNIX.COM Forum Transformation
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Don Cragun