OCSP_REQUEST
OCSP_RESPONSE *process_responder(BIO *err, OCSP_REQUEST *req,
STACK_OF(CONF_VALUE) *headers, const char *host, OCSP_REQUEST *req,
add_ocsp_cert(OCSP_REQUEST **req, X509 *cert, const EVP_MD *cert_id_md,
add_ocsp_serial(OCSP_REQUEST **req, char *serial, const EVP_MD *cert_id_md,
print_ocsp_summary(BIO *out, OCSP_BASICRESP *bs, OCSP_REQUEST *req,
make_ocsp_response(OCSP_RESPONSE **resp, OCSP_REQUEST *req, CA_DB *db,
OCSP_REQUEST *req;
do_responder(OCSP_REQUEST **preq, BIO **pcbio, BIO *acbio, char *port)
OCSP_REQUEST *req = NULL;
const char *host, OCSP_REQUEST *req, int req_timeout)
process_responder(BIO *err, OCSP_REQUEST *req, char *host, char *path,
static int add_ocsp_cert(OCSP_REQUEST **req, X509 *cert,
static int add_ocsp_serial(OCSP_REQUEST **req, char *serial,
static int print_ocsp_summary(BIO *out, OCSP_BASICRESP *bs, OCSP_REQUEST *req,
static int make_ocsp_response(OCSP_RESPONSE **resp, OCSP_REQUEST *req,
static int do_responder(OCSP_REQUEST **preq, BIO **pcbio, BIO *acbio,
OCSP_REQUEST *req = NULL;
.offset = offsetof(OCSP_REQUEST, tbsRequest),
.offset = offsetof(OCSP_REQUEST, optionalSignature),
.size = sizeof(OCSP_REQUEST),
OCSP_REQUEST *
d2i_OCSP_REQUEST(OCSP_REQUEST **a, const unsigned char **in, long len)
return (OCSP_REQUEST *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
i2d_OCSP_REQUEST(OCSP_REQUEST *a, unsigned char **out)
OCSP_REQUEST *
d2i_OCSP_REQUEST_bio(BIO *bp, OCSP_REQUEST **a)
i2d_OCSP_REQUEST_bio(BIO *bp, OCSP_REQUEST *a)
OCSP_REQUEST *
return (OCSP_REQUEST *)ASN1_item_new(&OCSP_REQUEST_it);
OCSP_REQUEST_free(OCSP_REQUEST *a)
OCSP_request_set1_name(OCSP_REQUEST *req, X509_NAME *nm)
OCSP_request_add1_cert(OCSP_REQUEST *req, X509 *cert)
OCSP_request_sign(OCSP_REQUEST *req, X509 *signer, EVP_PKEY *key,
OCSP_request_add0_id(OCSP_REQUEST *req, OCSP_CERTID *cid)
OCSP_REQUEST_get_ext_by_critical(OCSP_REQUEST *x, int crit, int lastpos)
OCSP_REQUEST_get_ext(OCSP_REQUEST *x, int loc)
OCSP_REQUEST_delete_ext(OCSP_REQUEST *x, int loc)
OCSP_REQUEST_get1_ext_d2i(OCSP_REQUEST *x, int nid, int *crit, int *idx)
OCSP_REQUEST_add1_ext_i2d(OCSP_REQUEST *x, int nid, void *value, int crit,
OCSP_REQUEST_add_ext(OCSP_REQUEST *x, X509_EXTENSION *ex, int loc)
OCSP_request_add1_nonce(OCSP_REQUEST *req, unsigned char *val, int len)
OCSP_check_nonce(OCSP_REQUEST *req, OCSP_BASICRESP *bs)
OCSP_copy_nonce(OCSP_BASICRESP *resp, OCSP_REQUEST *req)
OCSP_REQUEST_get_ext_count(OCSP_REQUEST *x)
OCSP_REQUEST_get_ext_by_NID(OCSP_REQUEST *x, int nid, int lastpos)
OCSP_REQUEST_get_ext_by_OBJ(OCSP_REQUEST *x, const ASN1_OBJECT *obj,
OCSP_REQ_CTX_set1_req(OCSP_REQ_CTX *rctx, OCSP_REQUEST *req)
OCSP_sendreq_new(BIO *io, const char *path, OCSP_REQUEST *req, int maxline)
OCSP_sendreq_bio(BIO *b, const char *path, OCSP_REQUEST *req)
OCSP_REQUEST_print(BIO *bp, OCSP_REQUEST* o, unsigned long flags)
OCSP_request_is_signed(OCSP_REQUEST *req)
OCSP_request_onereq_count(OCSP_REQUEST *req)
OCSP_request_onereq_get0(OCSP_REQUEST *req, int i)
OCSP_request_verify(OCSP_REQUEST *req, STACK_OF(X509) *certs, X509_STORE *store,
ocsp_req_find_signer(X509 **psigner, OCSP_REQUEST *req, X509_NAME *nm,
static int ocsp_req_find_signer(X509 **psigner, OCSP_REQUEST *req,
typedef struct ocsp_request_st OCSP_REQUEST;
(OCSP_REQUEST *)PEM_ASN1_read_bio((char *(*)())d2i_OCSP_REQUEST, \
OCSP_RESPONSE *OCSP_sendreq_bio(BIO *b, const char *path, OCSP_REQUEST *req);
OCSP_REQ_CTX *OCSP_sendreq_new(BIO *io, const char *path, OCSP_REQUEST *req,
int OCSP_REQ_CTX_set1_req(OCSP_REQ_CTX *rctx, OCSP_REQUEST *req);
OCSP_ONEREQ *OCSP_request_add0_id(OCSP_REQUEST *req, OCSP_CERTID *cid);
int OCSP_request_add1_nonce(OCSP_REQUEST *req, unsigned char *val, int len);
int OCSP_check_nonce(OCSP_REQUEST *req, OCSP_BASICRESP *bs);
int OCSP_copy_nonce(OCSP_BASICRESP *resp, OCSP_REQUEST *req);
int OCSP_request_set1_name(OCSP_REQUEST *req, X509_NAME *nm);
int OCSP_request_add1_cert(OCSP_REQUEST *req, X509 *cert);
int OCSP_request_sign(OCSP_REQUEST *req, X509 *signer, EVP_PKEY *key,
int OCSP_request_verify(OCSP_REQUEST *req, STACK_OF(X509) *certs,
int OCSP_request_onereq_count(OCSP_REQUEST *req);
OCSP_ONEREQ *OCSP_request_onereq_get0(OCSP_REQUEST *req, int i);
int OCSP_request_is_signed(OCSP_REQUEST *req);
int OCSP_REQUEST_get_ext_count(OCSP_REQUEST *x);
int OCSP_REQUEST_get_ext_by_NID(OCSP_REQUEST *x, int nid, int lastpos);
int OCSP_REQUEST_get_ext_by_OBJ(OCSP_REQUEST *x, const ASN1_OBJECT *obj,
int OCSP_REQUEST_get_ext_by_critical(OCSP_REQUEST *x, int crit,
X509_EXTENSION *OCSP_REQUEST_get_ext(OCSP_REQUEST *x, int loc);
X509_EXTENSION *OCSP_REQUEST_delete_ext(OCSP_REQUEST *x, int loc);
void *OCSP_REQUEST_get1_ext_d2i(OCSP_REQUEST *x, int nid, int *crit, int *idx);
int OCSP_REQUEST_add1_ext_i2d(OCSP_REQUEST *x, int nid, void *value,
int OCSP_REQUEST_add_ext(OCSP_REQUEST *x, X509_EXTENSION *ex, int loc);
OCSP_REQUEST *OCSP_REQUEST_new(void);
void OCSP_REQUEST_free(OCSP_REQUEST *a);
OCSP_REQUEST *d2i_OCSP_REQUEST(OCSP_REQUEST **a, const unsigned char **in, long len);
int i2d_OCSP_REQUEST(OCSP_REQUEST *a, unsigned char **out);
OCSP_REQUEST *d2i_OCSP_REQUEST_bio(BIO *bp, OCSP_REQUEST **a);
int i2d_OCSP_REQUEST_bio(BIO *bp, OCSP_REQUEST *a);
int OCSP_REQUEST_print(BIO *bp, OCSP_REQUEST* a, unsigned long flags);