OpenSSL  1.0.1c
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Macros | Functions
ts_rsp_sign.c File Reference
#include "cryptlib.h"
#include <openssl/objects.h>
#include <openssl/ts.h>
#include <openssl/pkcs7.h>

Go to the source code of this file.

Macros

#define TS_RESP_CTX_accuracy_free(ctx)
 

Functions

TS_RESP_CTXTS_RESP_CTX_new ()
 
void TS_RESP_CTX_free (TS_RESP_CTX *ctx)
 
int TS_RESP_CTX_set_signer_cert (TS_RESP_CTX *ctx, X509 *signer)
 
int TS_RESP_CTX_set_signer_key (TS_RESP_CTX *ctx, EVP_PKEY *key)
 
int TS_RESP_CTX_set_def_policy (TS_RESP_CTX *ctx, ASN1_OBJECT *def_policy)
 
int TS_RESP_CTX_set_certs (TS_RESP_CTX *ctx, STACK_OF(X509)*certs)
 
int TS_RESP_CTX_add_policy (TS_RESP_CTX *ctx, ASN1_OBJECT *policy)
 
int TS_RESP_CTX_add_md (TS_RESP_CTX *ctx, const EVP_MD *md)
 
int TS_RESP_CTX_set_accuracy (TS_RESP_CTX *ctx, int secs, int millis, int micros)
 
void TS_RESP_CTX_add_flags (TS_RESP_CTX *ctx, int flags)
 
void TS_RESP_CTX_set_serial_cb (TS_RESP_CTX *ctx, TS_serial_cb cb, void *data)
 
void TS_RESP_CTX_set_time_cb (TS_RESP_CTX *ctx, TS_time_cb cb, void *data)
 
void TS_RESP_CTX_set_extension_cb (TS_RESP_CTX *ctx, TS_extension_cb cb, void *data)
 
int TS_RESP_CTX_set_status_info (TS_RESP_CTX *ctx, int status, const char *text)
 
int TS_RESP_CTX_set_status_info_cond (TS_RESP_CTX *ctx, int status, const char *text)
 
int TS_RESP_CTX_add_failure_info (TS_RESP_CTX *ctx, int failure)
 
TS_REQTS_RESP_CTX_get_request (TS_RESP_CTX *ctx)
 
TS_TST_INFOTS_RESP_CTX_get_tst_info (TS_RESP_CTX *ctx)
 
int TS_RESP_CTX_set_clock_precision_digits (TS_RESP_CTX *ctx, unsigned precision)
 
TS_RESPTS_RESP_create_response (TS_RESP_CTX *ctx, BIO *req_bio)
 

Macro Definition Documentation

#define TS_RESP_CTX_accuracy_free (   ctx)
Value:
ASN1_INTEGER_free(ctx->seconds); \
ctx->seconds = NULL; \
ASN1_INTEGER_free(ctx->millis); \
ctx->millis = NULL; \
ASN1_INTEGER_free(ctx->micros); \
ctx->micros = NULL;

Definition at line 289 of file ts_rsp_sign.c.

Function Documentation

TS_RESP* TS_RESP_create_response ( TS_RESP_CTX ctx,
BIO req_bio 
)

Definition at line 418 of file ts_rsp_sign.c.

int TS_RESP_CTX_add_failure_info ( TS_RESP_CTX ctx,
int  failure 
)

Definition at line 386 of file ts_rsp_sign.c.

void TS_RESP_CTX_add_flags ( TS_RESP_CTX ctx,
int  flags 
)

Definition at line 319 of file ts_rsp_sign.c.

int TS_RESP_CTX_add_md ( TS_RESP_CTX ctx,
const EVP_MD md 
)

Definition at line 275 of file ts_rsp_sign.c.

int TS_RESP_CTX_add_policy ( TS_RESP_CTX ctx,
ASN1_OBJECT policy 
)

Definition at line 258 of file ts_rsp_sign.c.

void TS_RESP_CTX_free ( TS_RESP_CTX ctx)

Definition at line 185 of file ts_rsp_sign.c.

TS_REQ* TS_RESP_CTX_get_request ( TS_RESP_CTX ctx)

Definition at line 399 of file ts_rsp_sign.c.

TS_TST_INFO* TS_RESP_CTX_get_tst_info ( TS_RESP_CTX ctx)

Definition at line 404 of file ts_rsp_sign.c.

TS_RESP_CTX* TS_RESP_CTX_new ( void  )

Definition at line 166 of file ts_rsp_sign.c.

int TS_RESP_CTX_set_accuracy ( TS_RESP_CTX ctx,
int  secs,
int  millis,
int  micros 
)

Definition at line 297 of file ts_rsp_sign.c.

int TS_RESP_CTX_set_certs ( TS_RESP_CTX ctx,
STACK_OF(X509)*  certs 
)

Definition at line 234 of file ts_rsp_sign.c.

int TS_RESP_CTX_set_clock_precision_digits ( TS_RESP_CTX ctx,
unsigned  precision 
)

Definition at line 409 of file ts_rsp_sign.c.

int TS_RESP_CTX_set_def_policy ( TS_RESP_CTX ctx,
ASN1_OBJECT def_policy 
)

Definition at line 224 of file ts_rsp_sign.c.

void TS_RESP_CTX_set_extension_cb ( TS_RESP_CTX ctx,
TS_extension_cb  cb,
void data 
)

Definition at line 336 of file ts_rsp_sign.c.

void TS_RESP_CTX_set_serial_cb ( TS_RESP_CTX ctx,
TS_serial_cb  cb,
void data 
)

Definition at line 324 of file ts_rsp_sign.c.

int TS_RESP_CTX_set_signer_cert ( TS_RESP_CTX ctx,
X509 signer 
)

Definition at line 201 of file ts_rsp_sign.c.

int TS_RESP_CTX_set_signer_key ( TS_RESP_CTX ctx,
EVP_PKEY key 
)

Definition at line 215 of file ts_rsp_sign.c.

int TS_RESP_CTX_set_status_info ( TS_RESP_CTX ctx,
int  status,
const char *  text 
)

Definition at line 343 of file ts_rsp_sign.c.

int TS_RESP_CTX_set_status_info_cond ( TS_RESP_CTX ctx,
int  status,
const char *  text 
)

Definition at line 372 of file ts_rsp_sign.c.

void TS_RESP_CTX_set_time_cb ( TS_RESP_CTX ctx,
TS_time_cb  cb,
void data 
)

Definition at line 330 of file ts_rsp_sign.c.