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

Go to the source code of this file.

Functions

int TS_RESP_set_status_info (TS_RESP *a, TS_STATUS_INFO *status_info)
 
TS_STATUS_INFOTS_RESP_get_status_info (TS_RESP *a)
 
void TS_RESP_set_tst_info (TS_RESP *a, PKCS7 *p7, TS_TST_INFO *tst_info)
 
PKCS7TS_RESP_get_token (TS_RESP *a)
 
TS_TST_INFOTS_RESP_get_tst_info (TS_RESP *a)
 
int TS_TST_INFO_set_version (TS_TST_INFO *a, long version)
 
long TS_TST_INFO_get_version (const TS_TST_INFO *a)
 
int TS_TST_INFO_set_policy_id (TS_TST_INFO *a, ASN1_OBJECT *policy)
 
ASN1_OBJECTTS_TST_INFO_get_policy_id (TS_TST_INFO *a)
 
int TS_TST_INFO_set_msg_imprint (TS_TST_INFO *a, TS_MSG_IMPRINT *msg_imprint)
 
TS_MSG_IMPRINTTS_TST_INFO_get_msg_imprint (TS_TST_INFO *a)
 
int TS_TST_INFO_set_serial (TS_TST_INFO *a, const ASN1_INTEGER *serial)
 
const ASN1_INTEGERTS_TST_INFO_get_serial (const TS_TST_INFO *a)
 
int TS_TST_INFO_set_time (TS_TST_INFO *a, const ASN1_GENERALIZEDTIME *gtime)
 
const ASN1_GENERALIZEDTIMETS_TST_INFO_get_time (const TS_TST_INFO *a)
 
int TS_TST_INFO_set_accuracy (TS_TST_INFO *a, TS_ACCURACY *accuracy)
 
TS_ACCURACYTS_TST_INFO_get_accuracy (TS_TST_INFO *a)
 
int TS_ACCURACY_set_seconds (TS_ACCURACY *a, const ASN1_INTEGER *seconds)
 
const ASN1_INTEGERTS_ACCURACY_get_seconds (const TS_ACCURACY *a)
 
int TS_ACCURACY_set_millis (TS_ACCURACY *a, const ASN1_INTEGER *millis)
 
const ASN1_INTEGERTS_ACCURACY_get_millis (const TS_ACCURACY *a)
 
int TS_ACCURACY_set_micros (TS_ACCURACY *a, const ASN1_INTEGER *micros)
 
const ASN1_INTEGERTS_ACCURACY_get_micros (const TS_ACCURACY *a)
 
int TS_TST_INFO_set_ordering (TS_TST_INFO *a, int ordering)
 
int TS_TST_INFO_get_ordering (const TS_TST_INFO *a)
 
int TS_TST_INFO_set_nonce (TS_TST_INFO *a, const ASN1_INTEGER *nonce)
 
const ASN1_INTEGERTS_TST_INFO_get_nonce (const TS_TST_INFO *a)
 
int TS_TST_INFO_set_tsa (TS_TST_INFO *a, GENERAL_NAME *tsa)
 
GENERAL_NAMETS_TST_INFO_get_tsa (TS_TST_INFO *a)
 
 STACK_OF (X509_EXTENSION)
 
void TS_TST_INFO_ext_free (TS_TST_INFO *a)
 
int TS_TST_INFO_get_ext_count (TS_TST_INFO *a)
 
int TS_TST_INFO_get_ext_by_NID (TS_TST_INFO *a, int nid, int lastpos)
 
int TS_TST_INFO_get_ext_by_OBJ (TS_TST_INFO *a, ASN1_OBJECT *obj, int lastpos)
 
int TS_TST_INFO_get_ext_by_critical (TS_TST_INFO *a, int crit, int lastpos)
 
X509_EXTENSIONTS_TST_INFO_get_ext (TS_TST_INFO *a, int loc)
 
X509_EXTENSIONTS_TST_INFO_delete_ext (TS_TST_INFO *a, int loc)
 
int TS_TST_INFO_add_ext (TS_TST_INFO *a, X509_EXTENSION *ex, int loc)
 
voidTS_TST_INFO_get_ext_d2i (TS_TST_INFO *a, int nid, int *crit, int *idx)
 

Function Documentation

STACK_OF ( X509_EXTENSION  )

Definition at line 359 of file ts_rsp_utils.c.

const ASN1_INTEGER* TS_ACCURACY_get_micros ( const TS_ACCURACY a)

Definition at line 299 of file ts_rsp_utils.c.

const ASN1_INTEGER* TS_ACCURACY_get_millis ( const TS_ACCURACY a)

Definition at line 273 of file ts_rsp_utils.c.

const ASN1_INTEGER* TS_ACCURACY_get_seconds ( const TS_ACCURACY a)

Definition at line 247 of file ts_rsp_utils.c.

int TS_ACCURACY_set_micros ( TS_ACCURACY a,
const ASN1_INTEGER micros 
)

Definition at line 278 of file ts_rsp_utils.c.

int TS_ACCURACY_set_millis ( TS_ACCURACY a,
const ASN1_INTEGER millis 
)

Definition at line 252 of file ts_rsp_utils.c.

int TS_ACCURACY_set_seconds ( TS_ACCURACY a,
const ASN1_INTEGER seconds 
)

Definition at line 230 of file ts_rsp_utils.c.

TS_STATUS_INFO* TS_RESP_get_status_info ( TS_RESP a)

Definition at line 85 of file ts_rsp_utils.c.

PKCS7* TS_RESP_get_token ( TS_RESP a)

Definition at line 100 of file ts_rsp_utils.c.

TS_TST_INFO* TS_RESP_get_tst_info ( TS_RESP a)

Definition at line 105 of file ts_rsp_utils.c.

int TS_RESP_set_status_info ( TS_RESP a,
TS_STATUS_INFO status_info 
)

Definition at line 67 of file ts_rsp_utils.c.

void TS_RESP_set_tst_info ( TS_RESP a,
PKCS7 p7,
TS_TST_INFO tst_info 
)

Definition at line 91 of file ts_rsp_utils.c.

int TS_TST_INFO_add_ext ( TS_TST_INFO a,
X509_EXTENSION ex,
int  loc 
)

Definition at line 401 of file ts_rsp_utils.c.

X509_EXTENSION* TS_TST_INFO_delete_ext ( TS_TST_INFO a,
int  loc 
)

Definition at line 396 of file ts_rsp_utils.c.

void TS_TST_INFO_ext_free ( TS_TST_INFO a)

Definition at line 364 of file ts_rsp_utils.c.

TS_ACCURACY* TS_TST_INFO_get_accuracy ( TS_TST_INFO a)

Definition at line 225 of file ts_rsp_utils.c.

X509_EXTENSION* TS_TST_INFO_get_ext ( TS_TST_INFO a,
int  loc 
)

Definition at line 391 of file ts_rsp_utils.c.

int TS_TST_INFO_get_ext_by_critical ( TS_TST_INFO a,
int  crit,
int  lastpos 
)

Definition at line 386 of file ts_rsp_utils.c.

int TS_TST_INFO_get_ext_by_NID ( TS_TST_INFO a,
int  nid,
int  lastpos 
)

Definition at line 376 of file ts_rsp_utils.c.

int TS_TST_INFO_get_ext_by_OBJ ( TS_TST_INFO a,
ASN1_OBJECT obj,
int  lastpos 
)

Definition at line 381 of file ts_rsp_utils.c.

int TS_TST_INFO_get_ext_count ( TS_TST_INFO a)

Definition at line 371 of file ts_rsp_utils.c.

void* TS_TST_INFO_get_ext_d2i ( TS_TST_INFO a,
int  nid,
int *  crit,
int *  idx 
)

Definition at line 406 of file ts_rsp_utils.c.

TS_MSG_IMPRINT* TS_TST_INFO_get_msg_imprint ( TS_TST_INFO a)

Definition at line 159 of file ts_rsp_utils.c.

const ASN1_INTEGER* TS_TST_INFO_get_nonce ( const TS_TST_INFO a)

Definition at line 332 of file ts_rsp_utils.c.

int TS_TST_INFO_get_ordering ( const TS_TST_INFO a)

Definition at line 310 of file ts_rsp_utils.c.

ASN1_OBJECT* TS_TST_INFO_get_policy_id ( TS_TST_INFO a)

Definition at line 137 of file ts_rsp_utils.c.

const ASN1_INTEGER* TS_TST_INFO_get_serial ( const TS_TST_INFO a)

Definition at line 181 of file ts_rsp_utils.c.

const ASN1_GENERALIZEDTIME* TS_TST_INFO_get_time ( const TS_TST_INFO a)

Definition at line 203 of file ts_rsp_utils.c.

GENERAL_NAME* TS_TST_INFO_get_tsa ( TS_TST_INFO a)

Definition at line 354 of file ts_rsp_utils.c.

long TS_TST_INFO_get_version ( const TS_TST_INFO a)

Definition at line 115 of file ts_rsp_utils.c.

int TS_TST_INFO_set_accuracy ( TS_TST_INFO a,
TS_ACCURACY accuracy 
)

Definition at line 208 of file ts_rsp_utils.c.

int TS_TST_INFO_set_msg_imprint ( TS_TST_INFO a,
TS_MSG_IMPRINT msg_imprint 
)

Definition at line 142 of file ts_rsp_utils.c.

int TS_TST_INFO_set_nonce ( TS_TST_INFO a,
const ASN1_INTEGER nonce 
)

Definition at line 315 of file ts_rsp_utils.c.

int TS_TST_INFO_set_ordering ( TS_TST_INFO a,
int  ordering 
)

Definition at line 304 of file ts_rsp_utils.c.

int TS_TST_INFO_set_policy_id ( TS_TST_INFO a,
ASN1_OBJECT policy 
)

Definition at line 120 of file ts_rsp_utils.c.

int TS_TST_INFO_set_serial ( TS_TST_INFO a,
const ASN1_INTEGER serial 
)

Definition at line 164 of file ts_rsp_utils.c.

int TS_TST_INFO_set_time ( TS_TST_INFO a,
const ASN1_GENERALIZEDTIME gtime 
)

Definition at line 186 of file ts_rsp_utils.c.

int TS_TST_INFO_set_tsa ( TS_TST_INFO a,
GENERAL_NAME tsa 
)

Definition at line 337 of file ts_rsp_utils.c.

int TS_TST_INFO_set_version ( TS_TST_INFO a,
long  version 
)

Definition at line 110 of file ts_rsp_utils.c.