OpenSSL  1.0.1c
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Functions
ocsp_ext.c File Reference
#include <stdio.h>
#include <cryptlib.h>
#include <openssl/objects.h>
#include <openssl/x509.h>
#include <openssl/ocsp.h>
#include <openssl/rand.h>
#include <openssl/x509v3.h>

Go to the source code of this file.

Functions

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, ASN1_OBJECT *obj, int lastpos)
 
int OCSP_REQUEST_get_ext_by_critical (OCSP_REQUEST *x, int crit, int lastpos)
 
X509_EXTENSIONOCSP_REQUEST_get_ext (OCSP_REQUEST *x, int loc)
 
X509_EXTENSIONOCSP_REQUEST_delete_ext (OCSP_REQUEST *x, int loc)
 
voidOCSP_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 crit, unsigned long flags)
 
int OCSP_REQUEST_add_ext (OCSP_REQUEST *x, X509_EXTENSION *ex, int loc)
 
int OCSP_ONEREQ_get_ext_count (OCSP_ONEREQ *x)
 
int OCSP_ONEREQ_get_ext_by_NID (OCSP_ONEREQ *x, int nid, int lastpos)
 
int OCSP_ONEREQ_get_ext_by_OBJ (OCSP_ONEREQ *x, ASN1_OBJECT *obj, int lastpos)
 
int OCSP_ONEREQ_get_ext_by_critical (OCSP_ONEREQ *x, int crit, int lastpos)
 
X509_EXTENSIONOCSP_ONEREQ_get_ext (OCSP_ONEREQ *x, int loc)
 
X509_EXTENSIONOCSP_ONEREQ_delete_ext (OCSP_ONEREQ *x, int loc)
 
voidOCSP_ONEREQ_get1_ext_d2i (OCSP_ONEREQ *x, int nid, int *crit, int *idx)
 
int OCSP_ONEREQ_add1_ext_i2d (OCSP_ONEREQ *x, int nid, void *value, int crit, unsigned long flags)
 
int OCSP_ONEREQ_add_ext (OCSP_ONEREQ *x, X509_EXTENSION *ex, int loc)
 
int OCSP_BASICRESP_get_ext_count (OCSP_BASICRESP *x)
 
int OCSP_BASICRESP_get_ext_by_NID (OCSP_BASICRESP *x, int nid, int lastpos)
 
int OCSP_BASICRESP_get_ext_by_OBJ (OCSP_BASICRESP *x, ASN1_OBJECT *obj, int lastpos)
 
int OCSP_BASICRESP_get_ext_by_critical (OCSP_BASICRESP *x, int crit, int lastpos)
 
X509_EXTENSIONOCSP_BASICRESP_get_ext (OCSP_BASICRESP *x, int loc)
 
X509_EXTENSIONOCSP_BASICRESP_delete_ext (OCSP_BASICRESP *x, int loc)
 
voidOCSP_BASICRESP_get1_ext_d2i (OCSP_BASICRESP *x, int nid, int *crit, int *idx)
 
int OCSP_BASICRESP_add1_ext_i2d (OCSP_BASICRESP *x, int nid, void *value, int crit, unsigned long flags)
 
int OCSP_BASICRESP_add_ext (OCSP_BASICRESP *x, X509_EXTENSION *ex, int loc)
 
int OCSP_SINGLERESP_get_ext_count (OCSP_SINGLERESP *x)
 
int OCSP_SINGLERESP_get_ext_by_NID (OCSP_SINGLERESP *x, int nid, int lastpos)
 
int OCSP_SINGLERESP_get_ext_by_OBJ (OCSP_SINGLERESP *x, ASN1_OBJECT *obj, int lastpos)
 
int OCSP_SINGLERESP_get_ext_by_critical (OCSP_SINGLERESP *x, int crit, int lastpos)
 
X509_EXTENSIONOCSP_SINGLERESP_get_ext (OCSP_SINGLERESP *x, int loc)
 
X509_EXTENSIONOCSP_SINGLERESP_delete_ext (OCSP_SINGLERESP *x, int loc)
 
voidOCSP_SINGLERESP_get1_ext_d2i (OCSP_SINGLERESP *x, int nid, int *crit, int *idx)
 
int OCSP_SINGLERESP_add1_ext_i2d (OCSP_SINGLERESP *x, int nid, void *value, int crit, unsigned long flags)
 
int OCSP_SINGLERESP_add_ext (OCSP_SINGLERESP *x, X509_EXTENSION *ex, int loc)
 
int OCSP_request_add1_nonce (OCSP_REQUEST *req, unsigned char *val, int len)
 
int OCSP_basic_add1_nonce (OCSP_BASICRESP *resp, 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)
 
X509_EXTENSIONOCSP_crlID_new (char *url, long *n, char *tim)
 
X509_EXTENSIONOCSP_accept_responses_new (char **oids)
 
X509_EXTENSIONOCSP_archive_cutoff_new (char *tim)
 
X509_EXTENSIONOCSP_url_svcloc_new (X509_NAME *issuer, char **urls)
 

Function Documentation

X509_EXTENSION* OCSP_accept_responses_new ( char **  oids)

Definition at line 453 of file ocsp_ext.c.

X509_EXTENSION* OCSP_archive_cutoff_new ( char *  tim)

Definition at line 474 of file ocsp_ext.c.

int OCSP_basic_add1_nonce ( OCSP_BASICRESP resp,
unsigned char *  val,
int  len 
)

Definition at line 359 of file ocsp_ext.c.

int OCSP_BASICRESP_add1_ext_i2d ( OCSP_BASICRESP x,
int  nid,
void value,
int  crit,
unsigned long  flags 
)

Definition at line 207 of file ocsp_ext.c.

int OCSP_BASICRESP_add_ext ( OCSP_BASICRESP x,
X509_EXTENSION ex,
int  loc 
)

Definition at line 213 of file ocsp_ext.c.

X509_EXTENSION* OCSP_BASICRESP_delete_ext ( OCSP_BASICRESP x,
int  loc 
)

Definition at line 197 of file ocsp_ext.c.

void* OCSP_BASICRESP_get1_ext_d2i ( OCSP_BASICRESP x,
int  nid,
int *  crit,
int *  idx 
)

Definition at line 202 of file ocsp_ext.c.

X509_EXTENSION* OCSP_BASICRESP_get_ext ( OCSP_BASICRESP x,
int  loc 
)

Definition at line 192 of file ocsp_ext.c.

int OCSP_BASICRESP_get_ext_by_critical ( OCSP_BASICRESP x,
int  crit,
int  lastpos 
)

Definition at line 187 of file ocsp_ext.c.

int OCSP_BASICRESP_get_ext_by_NID ( OCSP_BASICRESP x,
int  nid,
int  lastpos 
)

Definition at line 177 of file ocsp_ext.c.

int OCSP_BASICRESP_get_ext_by_OBJ ( OCSP_BASICRESP x,
ASN1_OBJECT obj,
int  lastpos 
)

Definition at line 182 of file ocsp_ext.c.

int OCSP_BASICRESP_get_ext_count ( OCSP_BASICRESP x)

Definition at line 172 of file ocsp_ext.c.

int OCSP_check_nonce ( OCSP_REQUEST req,
OCSP_BASICRESP bs 
)

Definition at line 377 of file ocsp_ext.c.

int OCSP_copy_nonce ( OCSP_BASICRESP resp,
OCSP_REQUEST req 
)

Definition at line 412 of file ocsp_ext.c.

X509_EXTENSION* OCSP_crlID_new ( char *  url,
long *  n,
char *  tim 
)

Definition at line 424 of file ocsp_ext.c.

int OCSP_ONEREQ_add1_ext_i2d ( OCSP_ONEREQ x,
int  nid,
void value,
int  crit,
unsigned long  flags 
)

Definition at line 159 of file ocsp_ext.c.

int OCSP_ONEREQ_add_ext ( OCSP_ONEREQ x,
X509_EXTENSION ex,
int  loc 
)

Definition at line 165 of file ocsp_ext.c.

X509_EXTENSION* OCSP_ONEREQ_delete_ext ( OCSP_ONEREQ x,
int  loc 
)

Definition at line 149 of file ocsp_ext.c.

void* OCSP_ONEREQ_get1_ext_d2i ( OCSP_ONEREQ x,
int  nid,
int *  crit,
int *  idx 
)

Definition at line 154 of file ocsp_ext.c.

X509_EXTENSION* OCSP_ONEREQ_get_ext ( OCSP_ONEREQ x,
int  loc 
)

Definition at line 144 of file ocsp_ext.c.

int OCSP_ONEREQ_get_ext_by_critical ( OCSP_ONEREQ x,
int  crit,
int  lastpos 
)

Definition at line 139 of file ocsp_ext.c.

int OCSP_ONEREQ_get_ext_by_NID ( OCSP_ONEREQ x,
int  nid,
int  lastpos 
)

Definition at line 129 of file ocsp_ext.c.

int OCSP_ONEREQ_get_ext_by_OBJ ( OCSP_ONEREQ x,
ASN1_OBJECT obj,
int  lastpos 
)

Definition at line 134 of file ocsp_ext.c.

int OCSP_ONEREQ_get_ext_count ( OCSP_ONEREQ x)

Definition at line 124 of file ocsp_ext.c.

int OCSP_REQUEST_add1_ext_i2d ( OCSP_REQUEST x,
int  nid,
void value,
int  crit,
unsigned long  flags 
)

Definition at line 111 of file ocsp_ext.c.

int OCSP_request_add1_nonce ( OCSP_REQUEST req,
unsigned char *  val,
int  len 
)

Definition at line 352 of file ocsp_ext.c.

int OCSP_REQUEST_add_ext ( OCSP_REQUEST x,
X509_EXTENSION ex,
int  loc 
)

Definition at line 117 of file ocsp_ext.c.

X509_EXTENSION* OCSP_REQUEST_delete_ext ( OCSP_REQUEST x,
int  loc 
)

Definition at line 101 of file ocsp_ext.c.

void* OCSP_REQUEST_get1_ext_d2i ( OCSP_REQUEST x,
int  nid,
int *  crit,
int *  idx 
)

Definition at line 106 of file ocsp_ext.c.

X509_EXTENSION* OCSP_REQUEST_get_ext ( OCSP_REQUEST x,
int  loc 
)

Definition at line 96 of file ocsp_ext.c.

int OCSP_REQUEST_get_ext_by_critical ( OCSP_REQUEST x,
int  crit,
int  lastpos 
)

Definition at line 91 of file ocsp_ext.c.

int OCSP_REQUEST_get_ext_by_NID ( OCSP_REQUEST x,
int  nid,
int  lastpos 
)

Definition at line 81 of file ocsp_ext.c.

int OCSP_REQUEST_get_ext_by_OBJ ( OCSP_REQUEST x,
ASN1_OBJECT obj,
int  lastpos 
)

Definition at line 86 of file ocsp_ext.c.

int OCSP_REQUEST_get_ext_count ( OCSP_REQUEST x)

Definition at line 76 of file ocsp_ext.c.

int OCSP_SINGLERESP_add1_ext_i2d ( OCSP_SINGLERESP x,
int  nid,
void value,
int  crit,
unsigned long  flags 
)

Definition at line 255 of file ocsp_ext.c.

int OCSP_SINGLERESP_add_ext ( OCSP_SINGLERESP x,
X509_EXTENSION ex,
int  loc 
)

Definition at line 261 of file ocsp_ext.c.

X509_EXTENSION* OCSP_SINGLERESP_delete_ext ( OCSP_SINGLERESP x,
int  loc 
)

Definition at line 245 of file ocsp_ext.c.

void* OCSP_SINGLERESP_get1_ext_d2i ( OCSP_SINGLERESP x,
int  nid,
int *  crit,
int *  idx 
)

Definition at line 250 of file ocsp_ext.c.

X509_EXTENSION* OCSP_SINGLERESP_get_ext ( OCSP_SINGLERESP x,
int  loc 
)

Definition at line 240 of file ocsp_ext.c.

int OCSP_SINGLERESP_get_ext_by_critical ( OCSP_SINGLERESP x,
int  crit,
int  lastpos 
)

Definition at line 235 of file ocsp_ext.c.

int OCSP_SINGLERESP_get_ext_by_NID ( OCSP_SINGLERESP x,
int  nid,
int  lastpos 
)

Definition at line 225 of file ocsp_ext.c.

int OCSP_SINGLERESP_get_ext_by_OBJ ( OCSP_SINGLERESP x,
ASN1_OBJECT obj,
int  lastpos 
)

Definition at line 230 of file ocsp_ext.c.

int OCSP_SINGLERESP_get_ext_count ( OCSP_SINGLERESP x)

Definition at line 220 of file ocsp_ext.c.

X509_EXTENSION* OCSP_url_svcloc_new ( X509_NAME issuer,
char **  urls 
)

Definition at line 491 of file ocsp_ext.c.