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

Go to the source code of this file.

Functions

int TS_REQ_set_version (TS_REQ *a, long version)
 
long TS_REQ_get_version (const TS_REQ *a)
 
int TS_REQ_set_msg_imprint (TS_REQ *a, TS_MSG_IMPRINT *msg_imprint)
 
TS_MSG_IMPRINTTS_REQ_get_msg_imprint (TS_REQ *a)
 
int TS_MSG_IMPRINT_set_algo (TS_MSG_IMPRINT *a, X509_ALGOR *alg)
 
X509_ALGORTS_MSG_IMPRINT_get_algo (TS_MSG_IMPRINT *a)
 
int TS_MSG_IMPRINT_set_msg (TS_MSG_IMPRINT *a, unsigned char *d, int len)
 
ASN1_OCTET_STRINGTS_MSG_IMPRINT_get_msg (TS_MSG_IMPRINT *a)
 
int TS_REQ_set_policy_id (TS_REQ *a, ASN1_OBJECT *policy)
 
ASN1_OBJECTTS_REQ_get_policy_id (TS_REQ *a)
 
int TS_REQ_set_nonce (TS_REQ *a, const ASN1_INTEGER *nonce)
 
const ASN1_INTEGERTS_REQ_get_nonce (const TS_REQ *a)
 
int TS_REQ_set_cert_req (TS_REQ *a, int cert_req)
 
int TS_REQ_get_cert_req (const TS_REQ *a)
 
 STACK_OF (X509_EXTENSION)
 
void TS_REQ_ext_free (TS_REQ *a)
 
int TS_REQ_get_ext_count (TS_REQ *a)
 
int TS_REQ_get_ext_by_NID (TS_REQ *a, int nid, int lastpos)
 
int TS_REQ_get_ext_by_OBJ (TS_REQ *a, ASN1_OBJECT *obj, int lastpos)
 
int TS_REQ_get_ext_by_critical (TS_REQ *a, int crit, int lastpos)
 
X509_EXTENSIONTS_REQ_get_ext (TS_REQ *a, int loc)
 
X509_EXTENSIONTS_REQ_delete_ext (TS_REQ *a, int loc)
 
int TS_REQ_add_ext (TS_REQ *a, X509_EXTENSION *ex, int loc)
 
voidTS_REQ_get_ext_d2i (TS_REQ *a, int nid, int *crit, int *idx)
 

Function Documentation

STACK_OF ( X509_EXTENSION  )

Definition at line 184 of file ts_req_utils.c.

X509_ALGOR* TS_MSG_IMPRINT_get_algo ( TS_MSG_IMPRINT a)

Definition at line 114 of file ts_req_utils.c.

ASN1_OCTET_STRING* TS_MSG_IMPRINT_get_msg ( TS_MSG_IMPRINT a)

Definition at line 124 of file ts_req_utils.c.

int TS_MSG_IMPRINT_set_algo ( TS_MSG_IMPRINT a,
X509_ALGOR alg 
)

Definition at line 97 of file ts_req_utils.c.

int TS_MSG_IMPRINT_set_msg ( TS_MSG_IMPRINT a,
unsigned char *  d,
int  len 
)

Definition at line 119 of file ts_req_utils.c.

int TS_REQ_add_ext ( TS_REQ a,
X509_EXTENSION ex,
int  loc 
)

Definition at line 226 of file ts_req_utils.c.

X509_EXTENSION* TS_REQ_delete_ext ( TS_REQ a,
int  loc 
)

Definition at line 221 of file ts_req_utils.c.

void TS_REQ_ext_free ( TS_REQ a)

Definition at line 189 of file ts_req_utils.c.

int TS_REQ_get_cert_req ( const TS_REQ a)

Definition at line 179 of file ts_req_utils.c.

X509_EXTENSION* TS_REQ_get_ext ( TS_REQ a,
int  loc 
)

Definition at line 216 of file ts_req_utils.c.

int TS_REQ_get_ext_by_critical ( TS_REQ a,
int  crit,
int  lastpos 
)

Definition at line 211 of file ts_req_utils.c.

int TS_REQ_get_ext_by_NID ( TS_REQ a,
int  nid,
int  lastpos 
)

Definition at line 201 of file ts_req_utils.c.

int TS_REQ_get_ext_by_OBJ ( TS_REQ a,
ASN1_OBJECT obj,
int  lastpos 
)

Definition at line 206 of file ts_req_utils.c.

int TS_REQ_get_ext_count ( TS_REQ a)

Definition at line 196 of file ts_req_utils.c.

void* TS_REQ_get_ext_d2i ( TS_REQ a,
int  nid,
int *  crit,
int *  idx 
)

Definition at line 231 of file ts_req_utils.c.

TS_MSG_IMPRINT* TS_REQ_get_msg_imprint ( TS_REQ a)

Definition at line 92 of file ts_req_utils.c.

const ASN1_INTEGER* TS_REQ_get_nonce ( const TS_REQ a)

Definition at line 168 of file ts_req_utils.c.

ASN1_OBJECT* TS_REQ_get_policy_id ( TS_REQ a)

Definition at line 146 of file ts_req_utils.c.

long TS_REQ_get_version ( const TS_REQ a)

Definition at line 70 of file ts_req_utils.c.

int TS_REQ_set_cert_req ( TS_REQ a,
int  cert_req 
)

Definition at line 173 of file ts_req_utils.c.

int TS_REQ_set_msg_imprint ( TS_REQ a,
TS_MSG_IMPRINT msg_imprint 
)

Definition at line 75 of file ts_req_utils.c.

int TS_REQ_set_nonce ( TS_REQ a,
const ASN1_INTEGER nonce 
)

Definition at line 151 of file ts_req_utils.c.

int TS_REQ_set_policy_id ( TS_REQ a,
ASN1_OBJECT policy 
)

Definition at line 129 of file ts_req_utils.c.

int TS_REQ_set_version ( TS_REQ a,
long  version 
)

Definition at line 65 of file ts_req_utils.c.