x509_digest()#
Syntax
x509_digest( x509 var, digestname, digest var )
Returns#
Returns 1 on success, 0 on failure
Parameters#
Parameter | Description |
---|---|
x509 |
Certificate reference returned from functions such as x509_load_mem |
digestname |
Hash algorithm name, such as “md5” or “sha256”. Supported digest algorithms will vary between OpenSSL installations |
digest |
Hash value of the certificate |