X509_get1_ocsp

Extract OCSP responder URIs from a certificate's Authority Information Access extension.

Synopsis

Declared in <openssl/x509v3.h>

stack_st_OPENSSL_STRING*
X509_get1_ocsp(X509* x);

Return Value

New stack of OCSP URI strings (free with X509_email_free()), or NULL if none or on error.

Parameters

NameDescription
xCertificate to examine.