OpenSSL  1.0.1c
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Functions
ocsp_srv.c File Reference
#include <stdio.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

int OCSP_request_onereq_count (OCSP_REQUEST *req)
 
OCSP_ONEREQOCSP_request_onereq_get0 (OCSP_REQUEST *req, int i)
 
OCSP_CERTIDOCSP_onereq_get0_id (OCSP_ONEREQ *one)
 
int OCSP_id_get0_info (ASN1_OCTET_STRING **piNameHash, ASN1_OBJECT **pmd, ASN1_OCTET_STRING **pikeyHash, ASN1_INTEGER **pserial, OCSP_CERTID *cid)
 
int OCSP_request_is_signed (OCSP_REQUEST *req)
 
OCSP_RESPONSEOCSP_response_create (int status, OCSP_BASICRESP *bs)
 
OCSP_SINGLERESPOCSP_basic_add1_status (OCSP_BASICRESP *rsp, OCSP_CERTID *cid, int status, int reason, ASN1_TIME *revtime, ASN1_TIME *thisupd, ASN1_TIME *nextupd)
 
int OCSP_basic_add1_cert (OCSP_BASICRESP *resp, X509 *cert)
 
int OCSP_basic_sign (OCSP_BASICRESP *brsp, X509 *signer, EVP_PKEY *key, const EVP_MD *dgst, STACK_OF(X509)*certs, unsigned long flags)
 

Function Documentation

int OCSP_basic_add1_cert ( OCSP_BASICRESP resp,
X509 cert 
)

Definition at line 198 of file ocsp_srv.c.

OCSP_SINGLERESP* OCSP_basic_add1_status ( OCSP_BASICRESP rsp,
OCSP_CERTID cid,
int  status,
int  reason,
ASN1_TIME revtime,
ASN1_TIME thisupd,
ASN1_TIME nextupd 
)

Definition at line 124 of file ocsp_srv.c.

int OCSP_basic_sign ( OCSP_BASICRESP brsp,
X509 signer,
EVP_PKEY key,
const EVP_MD dgst,
STACK_OF(X509)*  certs,
unsigned long  flags 
)

Definition at line 208 of file ocsp_srv.c.

int OCSP_id_get0_info ( ASN1_OCTET_STRING **  piNameHash,
ASN1_OBJECT **  pmd,
ASN1_OCTET_STRING **  pikeyHash,
ASN1_INTEGER **  pserial,
OCSP_CERTID cid 
)

Definition at line 87 of file ocsp_srv.c.

OCSP_CERTID* OCSP_onereq_get0_id ( OCSP_ONEREQ one)

Definition at line 82 of file ocsp_srv.c.

int OCSP_request_is_signed ( OCSP_REQUEST req)

Definition at line 99 of file ocsp_srv.c.

int OCSP_request_onereq_count ( OCSP_REQUEST req)

Definition at line 72 of file ocsp_srv.c.

OCSP_ONEREQ* OCSP_request_onereq_get0 ( OCSP_REQUEST req,
int  i 
)

Definition at line 77 of file ocsp_srv.c.

OCSP_RESPONSE* OCSP_response_create ( int  status,
OCSP_BASICRESP bs 
)

Definition at line 106 of file ocsp_srv.c.