Return the digest of the public key portion of the given certificate referred to by the certificate reference, using the specified hash algorithm.
x509_pubkey_digest( x509 var, digestname, digest var )
Returns 1 on success, 0 on failure
  • 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 public key of the certificate
User Annotations: x509_pubkey_digest