libressl-X509_ocspid_print3
Pretty-print hashes of subject name and public key
Usage
Crypto Library (libcrypto, -lcrypto)
#include <openssl/x509.h>
int
X509_ocspid_print(BIO *bio, X509 *issuer);
Overview
X509_ocspid_print() produces human-readable output to bio containing hexadecimal representations of SHA-1 hashes of the DER-encoded forms of the subject name and the public key of the issuer certificate, as these hashes appear in OCSP requests.
Return values
X509_ocspid_print() returns 1 for success or 0 for failure.
Examples
This function is used by the -ocspid flag of the openssl(1) x509 command.