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

Go to the source code of this file.

Functions

GENERAL_NAMEa2i_GENERAL_NAME (GENERAL_NAME *out, const X509V3_EXT_METHOD *method, X509V3_CTX *ctx, int gen_type, const char *value, int is_nc)
 
static int copy_email (X509V3_CTX *ctx, GENERAL_NAMES *gens, int move_p)
 
static int copy_issuer (X509V3_CTX *ctx, GENERAL_NAMES *gens)
 
static int do_dirname (GENERAL_NAME *gen, const char *value, X509V3_CTX *ctx)
 
static int do_othername (GENERAL_NAME *gen, const char *value, X509V3_CTX *ctx)
 
int GENERAL_NAME_print (BIO *out, GENERAL_NAME *gen)
 
 STACK_OF (CONF_VALUE)
 
GENERAL_NAMEv2i_GENERAL_NAME (const X509V3_EXT_METHOD *method, X509V3_CTX *ctx, CONF_VALUE *cnf)
 
GENERAL_NAMEv2i_GENERAL_NAME_ex (GENERAL_NAME *out, const X509V3_EXT_METHOD *method, X509V3_CTX *ctx, CONF_VALUE *cnf, int is_nc)
 
GENERAL_NAMES * v2i_GENERAL_NAMES (const X509V3_EXT_METHOD *method, X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *nval)
 
static GENERAL_NAMES * v2i_issuer_alt (X509V3_EXT_METHOD *method, X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *nval)
 
static GENERAL_NAMES * v2i_subject_alt (X509V3_EXT_METHOD *method, X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *nval)
 

Variables

const X509V3_EXT_METHOD v3_alt []
 

Function Documentation

◆ a2i_GENERAL_NAME()

GENERAL_NAME* a2i_GENERAL_NAME ( GENERAL_NAME out,
const X509V3_EXT_METHOD method,
X509V3_CTX ctx,
int  gen_type,
const char *  value,
int  is_nc 
)

Definition at line 457 of file v3_alt.c.

◆ copy_email()

static int copy_email ( X509V3_CTX ctx,
GENERAL_NAMES *  gens,
int  move_p 
)
static

Definition at line 375 of file v3_alt.c.

◆ copy_issuer()

static int copy_issuer ( X509V3_CTX ctx,
GENERAL_NAMES *  gens 
)
static

Definition at line 299 of file v3_alt.c.

◆ do_dirname()

static int do_dirname ( GENERAL_NAME gen,
const char *  value,
X509V3_CTX ctx 
)
static

Definition at line 616 of file v3_alt.c.

◆ do_othername()

static int do_othername ( GENERAL_NAME gen,
const char *  value,
X509V3_CTX ctx 
)
static

Definition at line 588 of file v3_alt.c.

◆ GENERAL_NAME_print()

int GENERAL_NAME_print ( BIO out,
GENERAL_NAME gen 
)

Definition at line 204 of file v3_alt.c.

◆ STACK_OF()

STACK_OF ( CONF_VALUE  )

Definition at line 104 of file v3_alt.c.

◆ v2i_GENERAL_NAME()

GENERAL_NAME* v2i_GENERAL_NAME ( const X509V3_EXT_METHOD method,
X509V3_CTX ctx,
CONF_VALUE cnf 
)

Definition at line 451 of file v3_alt.c.

◆ v2i_GENERAL_NAME_ex()

GENERAL_NAME* v2i_GENERAL_NAME_ex ( GENERAL_NAME out,
const X509V3_EXT_METHOD method,
X509V3_CTX ctx,
CONF_VALUE cnf,
int  is_nc 
)

Definition at line 548 of file v3_alt.c.

◆ v2i_GENERAL_NAMES()

GENERAL_NAMES* v2i_GENERAL_NAMES ( const X509V3_EXT_METHOD method,
X509V3_CTX ctx,
STACK_OF(CONF_VALUE) *  nval 
)

Definition at line 428 of file v3_alt.c.

◆ v2i_issuer_alt()

static GENERAL_NAMES * v2i_issuer_alt ( X509V3_EXT_METHOD method,
X509V3_CTX ctx,
STACK_OF(CONF_VALUE) *  nval 
)
static

Definition at line 267 of file v3_alt.c.

◆ v2i_subject_alt()

static GENERAL_NAMES * v2i_subject_alt ( X509V3_EXT_METHOD method,
X509V3_CTX ctx,
STACK_OF(CONF_VALUE) *  nval 
)
static

Definition at line 337 of file v3_alt.c.

Variable Documentation

◆ v3_alt

Initial value:
= {
{NID_subject_alt_name, 0, ASN1_ITEM_ref(GENERAL_NAMES),
0, 0, 0, 0,
0, 0,
(X509V3_EXT_I2V) i2v_GENERAL_NAMES,
NULL, NULL, NULL},
{NID_issuer_alt_name, 0, ASN1_ITEM_ref(GENERAL_NAMES),
0, 0, 0, 0,
0, 0,
(X509V3_EXT_I2V) i2v_GENERAL_NAMES,
NULL, NULL, NULL},
0, 0, 0, 0,
0, 0,
(X509V3_EXT_I2V) i2v_GENERAL_NAMES,
NULL, NULL, NULL, NULL},
}

Definition at line 82 of file v3_alt.c.

NID_issuer_alt_name
#define NID_issuer_alt_name
Definition: nid.h:479
v2i_issuer_alt
static GENERAL_NAMES * v2i_issuer_alt(X509V3_EXT_METHOD *method, X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *nval)
Definition: v3_alt.c:267
ASN1_ITEM_ref
#define ASN1_ITEM_ref(name)
Definition: asn1.h:312
NID_certificate_issuer
#define NID_certificate_issuer
Definition: nid.h:3410
v2i_subject_alt
static GENERAL_NAMES * v2i_subject_alt(X509V3_EXT_METHOD *method, X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *nval)
Definition: v3_alt.c:337
i2v_GENERAL_NAMES
#define i2v_GENERAL_NAMES
Definition: boringssl_prefix_symbols.h:3312
NID_subject_alt_name
#define NID_subject_alt_name
Definition: nid.h:474
X509V3_EXT_V2I
void *(* X509V3_EXT_V2I)(const struct v3_ext_method *method, struct v3_ext_ctx *ctx, STACK_OF(CONF_VALUE) *values)
Definition: x509v3.h:89


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