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

Go to the source code of this file.

Functions

OCSP_ONEREQOCSP_request_add0_id (OCSP_REQUEST *req, OCSP_CERTID *cid)
 
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, const EVP_MD *dgst, STACK_OF(X509)*certs, unsigned long flags)
 
int OCSP_response_status (OCSP_RESPONSE *resp)
 
OCSP_BASICRESPOCSP_response_get1_basic (OCSP_RESPONSE *resp)
 
int OCSP_resp_count (OCSP_BASICRESP *bs)
 
OCSP_SINGLERESPOCSP_resp_get0 (OCSP_BASICRESP *bs, int idx)
 
int OCSP_resp_find (OCSP_BASICRESP *bs, OCSP_CERTID *id, int last)
 
int OCSP_single_get0_status (OCSP_SINGLERESP *single, int *reason, ASN1_GENERALIZEDTIME **revtime, ASN1_GENERALIZEDTIME **thisupd, ASN1_GENERALIZEDTIME **nextupd)
 
int OCSP_resp_find_status (OCSP_BASICRESP *bs, OCSP_CERTID *id, int *status, int *reason, ASN1_GENERALIZEDTIME **revtime, ASN1_GENERALIZEDTIME **thisupd, ASN1_GENERALIZEDTIME **nextupd)
 
int OCSP_check_validity (ASN1_GENERALIZEDTIME *thisupd, ASN1_GENERALIZEDTIME *nextupd, long nsec, long maxsec)
 

Function Documentation

int OCSP_check_validity ( ASN1_GENERALIZEDTIME thisupd,
ASN1_GENERALIZEDTIME nextupd,
long  nsec,
long  maxsec 
)

Definition at line 312 of file ocsp_cl.c.

OCSP_ONEREQ* OCSP_request_add0_id ( OCSP_REQUEST req,
OCSP_CERTID cid 
)

Definition at line 82 of file ocsp_cl.c.

int OCSP_request_add1_cert ( OCSP_REQUEST req,
X509 cert 
)

Definition at line 121 of file ocsp_cl.c.

int OCSP_request_set1_name ( OCSP_REQUEST req,
X509_NAME nm 
)

Definition at line 100 of file ocsp_cl.c.

int OCSP_request_sign ( OCSP_REQUEST req,
X509 signer,
EVP_PKEY key,
const EVP_MD dgst,
STACK_OF(X509)*  certs,
unsigned long  flags 
)

Definition at line 143 of file ocsp_cl.c.

int OCSP_resp_count ( OCSP_BASICRESP bs)

Definition at line 219 of file ocsp_cl.c.

int OCSP_resp_find ( OCSP_BASICRESP bs,
OCSP_CERTID id,
int  last 
)

Definition at line 235 of file ocsp_cl.c.

int OCSP_resp_find_status ( OCSP_BASICRESP bs,
OCSP_CERTID id,
int *  status,
int *  reason,
ASN1_GENERALIZEDTIME **  revtime,
ASN1_GENERALIZEDTIME **  thisupd,
ASN1_GENERALIZEDTIME **  nextupd 
)

Definition at line 288 of file ocsp_cl.c.

OCSP_SINGLERESP* OCSP_resp_get0 ( OCSP_BASICRESP bs,
int  idx 
)

Definition at line 227 of file ocsp_cl.c.

OCSP_BASICRESP* OCSP_response_get1_basic ( OCSP_RESPONSE resp)

Definition at line 197 of file ocsp_cl.c.

int OCSP_response_status ( OCSP_RESPONSE resp)

Definition at line 187 of file ocsp_cl.c.

int OCSP_single_get0_status ( OCSP_SINGLERESP single,
int *  reason,
ASN1_GENERALIZEDTIME **  revtime,
ASN1_GENERALIZEDTIME **  thisupd,
ASN1_GENERALIZEDTIME **  nextupd 
)

Definition at line 258 of file ocsp_cl.c.