OpenSSL  1.0.1c
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Macros | Functions
req.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <string.h>
#include "apps.h"
#include <openssl/bio.h>
#include <openssl/evp.h>
#include <openssl/conf.h>
#include <openssl/err.h>
#include <openssl/asn1.h>
#include <openssl/x509.h>
#include <openssl/x509v3.h>
#include <openssl/objects.h>
#include <openssl/pem.h>
#include <openssl/bn.h>
#include <openssl/rsa.h>
#include <openssl/dsa.h>

Go to the source code of this file.

Macros

#define SECTION   "req"
 
#define BITS   "default_bits"
 
#define KEYFILE   "default_keyfile"
 
#define PROMPT   "prompt"
 
#define DISTINGUISHED_NAME   "distinguished_name"
 
#define ATTRIBUTES   "attributes"
 
#define V3_EXTENSIONS   "x509_extensions"
 
#define REQ_EXTENSIONS   "req_extensions"
 
#define STRING_MASK   "string_mask"
 
#define UTF8_IN   "utf8"
 
#define DEFAULT_KEY_LENGTH   512
 
#define MIN_KEY_LENGTH   384
 
#define PROG   req_main
 

Functions

int MAIN (int, char **)
 
int do_X509_sign (BIO *err, X509 *x, EVP_PKEY *pkey, const EVP_MD *md, STACK_OF(OPENSSL_STRING)*sigopts)
 
int do_X509_REQ_sign (BIO *err, X509_REQ *x, EVP_PKEY *pkey, const EVP_MD *md, STACK_OF(OPENSSL_STRING)*sigopts)
 
int do_X509_CRL_sign (BIO *err, X509_CRL *x, EVP_PKEY *pkey, const EVP_MD *md, STACK_OF(OPENSSL_STRING)*sigopts)
 

Macro Definition Documentation

#define ATTRIBUTES   "attributes"

Definition at line 96 of file req.c.

#define BITS   "default_bits"

Definition at line 92 of file req.c.

#define DEFAULT_KEY_LENGTH   512

Definition at line 102 of file req.c.

#define DISTINGUISHED_NAME   "distinguished_name"

Definition at line 95 of file req.c.

#define KEYFILE   "default_keyfile"

Definition at line 93 of file req.c.

#define MIN_KEY_LENGTH   384

Definition at line 103 of file req.c.

#define PROG   req_main

Definition at line 106 of file req.c.

#define PROMPT   "prompt"

Definition at line 94 of file req.c.

#define REQ_EXTENSIONS   "req_extensions"

Definition at line 98 of file req.c.

#define SECTION   "req"

Definition at line 90 of file req.c.

#define STRING_MASK   "string_mask"

Definition at line 99 of file req.c.

#define UTF8_IN   "utf8"

Definition at line 100 of file req.c.

#define V3_EXTENSIONS   "x509_extensions"

Definition at line 97 of file req.c.

Function Documentation

int do_X509_CRL_sign ( BIO err,
X509_CRL x,
EVP_PKEY pkey,
const EVP_MD md,
STACK_OF(OPENSSL_STRING)*  sigopts 
)

Definition at line 1823 of file req.c.

int do_X509_REQ_sign ( BIO err,
X509_REQ x,
EVP_PKEY pkey,
const EVP_MD md,
STACK_OF(OPENSSL_STRING)*  sigopts 
)

Definition at line 1808 of file req.c.

int do_X509_sign ( BIO err,
X509 x,
EVP_PKEY pkey,
const EVP_MD md,
STACK_OF(OPENSSL_STRING)*  sigopts 
)

Definition at line 1794 of file req.c.

int MAIN ( int  argc,
char **  argv 
)

Definition at line 87 of file asn1pars.c.