GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
X509_OCSPID_PRINT(3) FreeBSD Library Functions Manual X509_OCSPID_PRINT(3)

X509_ocspid_print
pretty-print hashes of subject name and public key

#include <openssl/x509.h>

int
X509_ocspid_print(BIO *bio, X509 *issuer);

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.

X509_ocspid_print() returns 1 for success or 0 for failure.

This function is used by the -ocspid flag of the openssl(1) x509 command.

EVP_sha1(3), i2d_X509_NAME(3), OCSP_cert_to_id(3), OCSP_REQUEST_new(3), X509_get_pubkey(3), X509_get_subject_name(3)

X509_ocspid_print() first appeared in OpenSSL 0.9.7 and has been available since OpenBSD 3.2.
August 6, 2021 FreeBSD 13.1-RELEASE

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.