#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include <string.h>
#include "e_os.h"
#include <openssl/asn1.h>
#include <openssl/ocsp.h>
#include <openssl/err.h>
#include <openssl/buffer.h>
Go to the source code of this file.
Classes | |
struct | ocsp_req_ctx_st |
Macros | |
#define | OCSP_MAX_REQUEST_LENGTH (100 * 1024) |
#define | OCSP_MAX_LINE_LEN 4096; |
#define | OHS_NOREAD 0x1000 |
#define | OHS_ERROR (0 | OHS_NOREAD) |
#define | OHS_FIRSTLINE 1 |
#define | OHS_HEADERS 2 |
#define | OHS_ASN1_HEADER 3 |
#define | OHS_ASN1_CONTENT 4 |
#define | OHS_ASN1_WRITE (6 | OHS_NOREAD) |
#define | OHS_ASN1_FLUSH (7 | OHS_NOREAD) |
#define | OHS_DONE (8 | OHS_NOREAD) |
Functions | |
void | OCSP_REQ_CTX_free (OCSP_REQ_CTX *rctx) |
int | OCSP_REQ_CTX_set1_req (OCSP_REQ_CTX *rctx, OCSP_REQUEST *req) |
int | OCSP_REQ_CTX_add1_header (OCSP_REQ_CTX *rctx, const char *name, const char *value) |
OCSP_REQ_CTX * | OCSP_sendreq_new (BIO *io, char *path, OCSP_REQUEST *req, int maxline) |
int | OCSP_sendreq_nbio (OCSP_RESPONSE **presp, OCSP_REQ_CTX *rctx) |
OCSP_RESPONSE * | OCSP_sendreq_bio (BIO *b, char *path, OCSP_REQUEST *req) |
#define OHS_ASN1_FLUSH (7 | OHS_NOREAD) |
#define OHS_ASN1_WRITE (6 | OHS_NOREAD) |
#define OHS_DONE (8 | OHS_NOREAD) |
#define OHS_ERROR (0 | OHS_NOREAD) |
int OCSP_REQ_CTX_add1_header | ( | OCSP_REQ_CTX * | rctx, |
const char * | name, | ||
const char * | value | ||
) |
void OCSP_REQ_CTX_free | ( | OCSP_REQ_CTX * | rctx | ) |
int OCSP_REQ_CTX_set1_req | ( | OCSP_REQ_CTX * | rctx, |
OCSP_REQUEST * | req | ||
) |
OCSP_RESPONSE* OCSP_sendreq_bio | ( | BIO * | b, |
char * | path, | ||
OCSP_REQUEST * | req | ||
) |
int OCSP_sendreq_nbio | ( | OCSP_RESPONSE ** | presp, |
OCSP_REQ_CTX * | rctx | ||
) |
OCSP_REQ_CTX* OCSP_sendreq_new | ( | BIO * | io, |
char * | path, | ||
OCSP_REQUEST * | req, | ||
int | maxline | ||
) |