#include <string.h>
#include <openssl/crypto.h>
#include "cryptlib.h"
#include <openssl/pem.h>
#include <openssl/engine.h>
#include <openssl/ts.h>
Go to the source code of this file.
|
X509 * | TS_CONF_load_cert (const char *file) |
|
| STACK_OF (X509) |
|
EVP_PKEY * | TS_CONF_load_key (const char *file, const char *pass) |
|
const char * | TS_CONF_get_tsa_section (CONF *conf, const char *section) |
|
int | TS_CONF_set_serial (CONF *conf, const char *section, TS_serial_cb cb, TS_RESP_CTX *ctx) |
|
int | TS_CONF_set_crypto_device (CONF *conf, const char *section, const char *device) |
|
int | TS_CONF_set_default_engine (const char *name) |
|
int | TS_CONF_set_signer_cert (CONF *conf, const char *section, const char *cert, TS_RESP_CTX *ctx) |
|
int | TS_CONF_set_certs (CONF *conf, const char *section, const char *certs, TS_RESP_CTX *ctx) |
|
int | TS_CONF_set_signer_key (CONF *conf, const char *section, const char *key, const char *pass, TS_RESP_CTX *ctx) |
|
int | TS_CONF_set_def_policy (CONF *conf, const char *section, const char *policy, TS_RESP_CTX *ctx) |
|
int | TS_CONF_set_policies (CONF *conf, const char *section, TS_RESP_CTX *ctx) |
|
int | TS_CONF_set_digests (CONF *conf, const char *section, TS_RESP_CTX *ctx) |
|
int | TS_CONF_set_accuracy (CONF *conf, const char *section, TS_RESP_CTX *ctx) |
|
int | TS_CONF_set_clock_precision_digits (CONF *conf, const char *section, TS_RESP_CTX *ctx) |
|
int | TS_CONF_set_ordering (CONF *conf, const char *section, TS_RESP_CTX *ctx) |
|
int | TS_CONF_set_tsa_name (CONF *conf, const char *section, TS_RESP_CTX *ctx) |
|
int | TS_CONF_set_ess_cert_id_chain (CONF *conf, const char *section, TS_RESP_CTX *ctx) |
|
#define BASE_SECTION "tsa" |
#define ENV_ACCURACY "accuracy" |
#define ENV_CERTS "certs" |
#define ENV_CLOCK_PRECISION_DIGITS "clock_precision_digits" |
#define ENV_CRYPTO_DEVICE "crypto_device" |
#define ENV_DEFAULT_POLICY "default_policy" |
#define ENV_DEFAULT_TSA "default_tsa" |
#define ENV_DIGESTS "digests" |
#define ENV_ESS_CERT_ID_CHAIN "ess_cert_id_chain" |
#define ENV_ORDERING "ordering" |
#define ENV_OTHER_POLICIES "other_policies" |
#define ENV_SERIAL "serial" |
#define ENV_SIGNER_CERT "signer_cert" |
#define ENV_SIGNER_KEY "signer_key" |
#define ENV_TSA_NAME "tsa_name" |
#define ENV_VALUE_MICROSECS "microsecs" |
#define ENV_VALUE_MILLISECS "millisecs" |
#define ENV_VALUE_NO "no" |
#define ENV_VALUE_SECS "secs" |
#define ENV_VALUE_YES "yes" |
const char* TS_CONF_get_tsa_section |
( |
CONF * |
conf, |
|
|
const char * |
section |
|
) |
| |
X509* TS_CONF_load_cert |
( |
const char * |
file | ) |
|
EVP_PKEY* TS_CONF_load_key |
( |
const char * |
file, |
|
|
const char * |
pass |
|
) |
| |
int TS_CONF_set_accuracy |
( |
CONF * |
conf, |
|
|
const char * |
section, |
|
|
TS_RESP_CTX * |
ctx |
|
) |
| |
int TS_CONF_set_certs |
( |
CONF * |
conf, |
|
|
const char * |
section, |
|
|
const char * |
certs, |
|
|
TS_RESP_CTX * |
ctx |
|
) |
| |
int TS_CONF_set_clock_precision_digits |
( |
CONF * |
conf, |
|
|
const char * |
section, |
|
|
TS_RESP_CTX * |
ctx |
|
) |
| |
int TS_CONF_set_crypto_device |
( |
CONF * |
conf, |
|
|
const char * |
section, |
|
|
const char * |
device |
|
) |
| |
int TS_CONF_set_def_policy |
( |
CONF * |
conf, |
|
|
const char * |
section, |
|
|
const char * |
policy, |
|
|
TS_RESP_CTX * |
ctx |
|
) |
| |
int TS_CONF_set_default_engine |
( |
const char * |
name | ) |
|
int TS_CONF_set_digests |
( |
CONF * |
conf, |
|
|
const char * |
section, |
|
|
TS_RESP_CTX * |
ctx |
|
) |
| |
int TS_CONF_set_ess_cert_id_chain |
( |
CONF * |
conf, |
|
|
const char * |
section, |
|
|
TS_RESP_CTX * |
ctx |
|
) |
| |
int TS_CONF_set_ordering |
( |
CONF * |
conf, |
|
|
const char * |
section, |
|
|
TS_RESP_CTX * |
ctx |
|
) |
| |
int TS_CONF_set_policies |
( |
CONF * |
conf, |
|
|
const char * |
section, |
|
|
TS_RESP_CTX * |
ctx |
|
) |
| |
int TS_CONF_set_signer_cert |
( |
CONF * |
conf, |
|
|
const char * |
section, |
|
|
const char * |
cert, |
|
|
TS_RESP_CTX * |
ctx |
|
) |
| |
int TS_CONF_set_signer_key |
( |
CONF * |
conf, |
|
|
const char * |
section, |
|
|
const char * |
key, |
|
|
const char * |
pass, |
|
|
TS_RESP_CTX * |
ctx |
|
) |
| |
int TS_CONF_set_tsa_name |
( |
CONF * |
conf, |
|
|
const char * |
section, |
|
|
TS_RESP_CTX * |
ctx |
|
) |
| |