Functions | Variables
v3_conf.c File Reference
#include <ctype.h>
#include <stdio.h>
#include <string.h>
#include <openssl/conf.h>
#include <openssl/err.h>
#include <openssl/mem.h>
#include <openssl/obj.h>
#include <openssl/x509.h>
#include <openssl/x509v3.h>
#include "../internal.h"
#include "../x509/internal.h"
#include "internal.h"
Include dependency graph for v3_conf.c:

Go to the source code of this file.

Functions

static X509_EXTENSIONdo_ext_i2d (const X509V3_EXT_METHOD *method, int ext_nid, int crit, void *ext_struc)
 
static X509_EXTENSIONdo_ext_nconf (CONF *conf, X509V3_CTX *ctx, int ext_nid, int crit, const char *value)
 
static unsigned char * generic_asn1 (const char *value, X509V3_CTX *ctx, long *ext_len)
 
static char * nconf_get_string (void *db, const char *section, const char *value)
 
 STACK_OF (CONF_VALUE)
 
static int v3_check_critical (const char **value)
 
static int v3_check_generic (const char **value)
 
static X509_EXTENSIONv3_generic_extension (const char *ext, const char *value, int crit, int type, X509V3_CTX *ctx)
 
int X509V3_EXT_add_nconf (CONF *conf, X509V3_CTX *ctx, const char *section, X509 *cert)
 
int X509V3_EXT_add_nconf_sk (CONF *conf, X509V3_CTX *ctx, const char *section, STACK_OF(X509_EXTENSION) **sk)
 
int X509V3_EXT_CRL_add_nconf (CONF *conf, X509V3_CTX *ctx, const char *section, X509_CRL *crl)
 
X509_EXTENSIONX509V3_EXT_i2d (int ext_nid, int crit, void *ext_struc)
 
X509_EXTENSIONX509V3_EXT_nconf (CONF *conf, X509V3_CTX *ctx, const char *name, const char *value)
 
X509_EXTENSIONX509V3_EXT_nconf_nid (CONF *conf, X509V3_CTX *ctx, int ext_nid, const char *value)
 
int X509V3_EXT_REQ_add_nconf (CONF *conf, X509V3_CTX *ctx, const char *section, X509_REQ *req)
 
char * X509V3_get_string (X509V3_CTX *ctx, const char *name, const char *section)
 
void X509V3_section_free (X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *section)
 
void X509V3_set_ctx (X509V3_CTX *ctx, X509 *issuer, X509 *subj, X509_REQ *req, X509_CRL *crl, int flags)
 
void X509V3_set_nconf (X509V3_CTX *ctx, CONF *conf)
 
void X509V3_string_free (X509V3_CTX *ctx, char *str)
 

Variables

static const X509V3_CONF_METHOD nconf_method
 

Function Documentation

◆ do_ext_i2d()

static X509_EXTENSION * do_ext_i2d ( const X509V3_EXT_METHOD method,
int  ext_nid,
int  crit,
void *  ext_struc 
)
static

Definition at line 181 of file v3_conf.c.

◆ do_ext_nconf()

static X509_EXTENSION * do_ext_nconf ( CONF conf,
X509V3_CTX ctx,
int  ext_nid,
int  crit,
const char *  value 
)
static

Definition at line 122 of file v3_conf.c.

◆ generic_asn1()

static unsigned char * generic_asn1 ( const char *  value,
X509V3_CTX ctx,
long ext_len 
)
static

Definition at line 313 of file v3_conf.c.

◆ nconf_get_string()

static char* nconf_get_string ( void *  db,
const char *  section,
const char *  value 
)
static

Definition at line 432 of file v3_conf.c.

◆ STACK_OF()

STACK_OF ( CONF_VALUE  )

Definition at line 405 of file v3_conf.c.

◆ v3_check_critical()

static int v3_check_critical ( const char **  value)
static

Definition at line 234 of file v3_conf.c.

◆ v3_check_generic()

static int v3_check_generic ( const char **  value)
static

Definition at line 247 of file v3_conf.c.

◆ v3_generic_extension()

static X509_EXTENSION * v3_generic_extension ( const char *  ext,
const char *  value,
int  crit,
int  type,
X509V3_CTX ctx 
)
static

Definition at line 267 of file v3_conf.c.

◆ X509V3_EXT_add_nconf()

int X509V3_EXT_add_nconf ( CONF conf,
X509V3_CTX ctx,
const char *  section,
X509 cert 
)

Definition at line 355 of file v3_conf.c.

◆ X509V3_EXT_add_nconf_sk()

int X509V3_EXT_add_nconf_sk ( CONF conf,
X509V3_CTX ctx,
const char *  section,
STACK_OF(X509_EXTENSION) **  sk 
)

Definition at line 331 of file v3_conf.c.

◆ X509V3_EXT_CRL_add_nconf()

int X509V3_EXT_CRL_add_nconf ( CONF conf,
X509V3_CTX ctx,
const char *  section,
X509_CRL crl 
)

Definition at line 366 of file v3_conf.c.

◆ X509V3_EXT_i2d()

X509_EXTENSION* X509V3_EXT_i2d ( int  ext_nid,
int  crit,
void *  ext_struc 
)

Definition at line 223 of file v3_conf.c.

◆ X509V3_EXT_nconf()

X509_EXTENSION* X509V3_EXT_nconf ( CONF conf,
X509V3_CTX ctx,
const char *  name,
const char *  value 
)

Definition at line 89 of file v3_conf.c.

◆ X509V3_EXT_nconf_nid()

X509_EXTENSION* X509V3_EXT_nconf_nid ( CONF conf,
X509V3_CTX ctx,
int  ext_nid,
const char *  value 
)

Definition at line 108 of file v3_conf.c.

◆ X509V3_EXT_REQ_add_nconf()

int X509V3_EXT_REQ_add_nconf ( CONF conf,
X509V3_CTX ctx,
const char *  section,
X509_REQ req 
)

Definition at line 377 of file v3_conf.c.

◆ X509V3_get_string()

char* X509V3_get_string ( X509V3_CTX ctx,
const char *  name,
const char *  section 
)

Definition at line 394 of file v3_conf.c.

◆ X509V3_section_free()

void X509V3_section_free ( X509V3_CTX ctx,
STACK_OF(CONF_VALUE) *  section 
)

Definition at line 424 of file v3_conf.c.

◆ X509V3_set_ctx()

void X509V3_set_ctx ( X509V3_CTX ctx,
X509 issuer,
X509 subj,
X509_REQ req,
X509_CRL crl,
int  flags 
)

Definition at line 460 of file v3_conf.c.

◆ X509V3_set_nconf()

void X509V3_set_nconf ( X509V3_CTX ctx,
CONF conf 
)

Definition at line 454 of file v3_conf.c.

◆ X509V3_string_free()

void X509V3_string_free ( X509V3_CTX ctx,
char *  str 
)

Definition at line 416 of file v3_conf.c.

Variable Documentation

◆ nconf_method

const X509V3_CONF_METHOD nconf_method
static
Initial value:
= {
nconf_get_section,
NULL,
NULL
}

Definition at line 447 of file v3_conf.c.

nconf_get_string
static char * nconf_get_string(void *db, const char *section, const char *value)
Definition: v3_conf.c:432


grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:37