#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <sys/types.h>
#include <openssl/conf.h>
#include <openssl/bio.h>
#include <openssl/err.h>
#include <openssl/bn.h>
#include <openssl/txt_db.h>
#include <openssl/evp.h>
#include <openssl/x509.h>
#include <openssl/x509v3.h>
#include <openssl/objects.h>
#include <openssl/ocsp.h>
#include <openssl/pem.h>
#include <sys/file.h>
#include "apps.h"
Go to the source code of this file.
#define BASE_SECTION "ca" |
Definition at line 102 of file ca.c.
#define CONFIG_FILE "openssl.cnf" |
Definition at line 103 of file ca.c.
#define ENV_CA_DB "CA_DB" |
Definition at line 113 of file ca.c.
#define ENV_CERTIFICATE "certificate" |
Definition at line 115 of file ca.c.
#define ENV_CERTOPT "cert_opt" |
Definition at line 134 of file ca.c.
#define ENV_CERTS "certs" |
Definition at line 111 of file ca.c.
Definition at line 118 of file ca.c.
#define ENV_CRL_DIR "crl_dir" |
Definition at line 112 of file ca.c.
#define ENV_CRLEXT "crl_extensions" |
Definition at line 131 of file ca.c.
#define ENV_CRLNUMBER "crlnumber" |
Definition at line 117 of file ca.c.
#define ENV_DATABASE "database" |
Definition at line 138 of file ca.c.
#define ENV_DEFAULT_CA "default_ca" |
Definition at line 105 of file ca.c.
#define ENV_DEFAULT_CRL_DAYS "default_crl_days" |
Definition at line 124 of file ca.c.
#define ENV_DEFAULT_CRL_HOURS "default_crl_hours" |
Definition at line 125 of file ca.c.
#define ENV_DEFAULT_DAYS "default_days" |
Definition at line 121 of file ca.c.
#define ENV_DEFAULT_EMAIL_DN "email_in_dn" |
Definition at line 127 of file ca.c.
#define ENV_DEFAULT_ENDDATE "default_enddate" |
Definition at line 123 of file ca.c.
#define ENV_DEFAULT_MD "default_md" |
Definition at line 126 of file ca.c.
#define ENV_DEFAULT_STARTDATE "default_startdate" |
Definition at line 122 of file ca.c.
Definition at line 110 of file ca.c.
#define ENV_EXTCOPY "copy_extensions" |
Definition at line 135 of file ca.c.
#define ENV_EXTENSIONS "x509_extensions" |
Definition at line 130 of file ca.c.
#define ENV_MSIE_HACK "msie_hack" |
Definition at line 132 of file ca.c.
#define ENV_NAMEOPT "name_opt" |
Definition at line 133 of file ca.c.
#define ENV_NEW_CERTS_DIR "new_certs_dir" |
Definition at line 114 of file ca.c.
#define ENV_POLICY "policy" |
Definition at line 129 of file ca.c.
#define ENV_PRESERVE "preserve" |
Definition at line 128 of file ca.c.
#define ENV_PRIVATE_KEY "private_key" |
Definition at line 119 of file ca.c.
#define ENV_RANDFILE "RANDFILE" |
Definition at line 120 of file ca.c.
#define ENV_SERIAL "serial" |
Definition at line 116 of file ca.c.
#define ENV_UNIQUE_SUBJECT "unique_subject" |
Definition at line 136 of file ca.c.
Definition at line 93 of file ca.c.
#define NUM_REASONS (sizeof(crl_reasons) / sizeof(char *)) |
Definition at line 100 of file ca.c.
Definition at line 96 of file ca.c.
#define REV_CA_COMPROMISE 4 /* Value is CA key compromise time */ |
Definition at line 146 of file ca.c.
#define REV_CRL_REASON 1 /* Value is CRL reason code */ |
Definition at line 143 of file ca.c.
#define REV_HOLD 2 /* Value is hold instruction */ |
Definition at line 144 of file ca.c.
#define REV_KEY_COMPROMISE 3 /* Value is cert key compromise time */ |
Definition at line 145 of file ca.c.
#define REV_NONE 0 /* No addditional information */ |
Definition at line 142 of file ca.c.
#define STRING_MASK "string_mask" |
Definition at line 107 of file ca.c.
Definition at line 108 of file ca.c.
Definition at line 95 of file ca.c.
Definition at line 94 of file ca.c.
int MAIN |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
char * make_revocation_str |
( |
int |
rev_type, |
|
|
char * |
rev_arg |
|
) |
| |