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

Go to the source code of this file.

Functions

static int do_i2r_name_constraints (const X509V3_EXT_METHOD *method, STACK_OF(GENERAL_SUBTREE) *trees, BIO *bp, int ind, const char *name)
 
static int i2r_NAME_CONSTRAINTS (const X509V3_EXT_METHOD *method, void *a, BIO *bp, int ind)
 
static int nc_dn (X509_NAME *sub, X509_NAME *nm)
 
static int nc_dns (ASN1_IA5STRING *sub, ASN1_IA5STRING *dns)
 
static int nc_email (ASN1_IA5STRING *sub, ASN1_IA5STRING *eml)
 
static int nc_match (GENERAL_NAME *gen, NAME_CONSTRAINTS *nc)
 
static int nc_match_single (GENERAL_NAME *sub, GENERAL_NAME *gen)
 
static int nc_uri (ASN1_IA5STRING *uri, ASN1_IA5STRING *base)
 
static int print_nc_ipadd (BIO *bp, ASN1_OCTET_STRING *ip)
 
static void * v2i_NAME_CONSTRAINTS (const X509V3_EXT_METHOD *method, X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *nval)
 

Variables

const X509V3_EXT_METHOD v3_name_constraints
 

Function Documentation

◆ do_i2r_name_constraints()

static int do_i2r_name_constraints ( const X509V3_EXT_METHOD method,
STACK_OF(GENERAL_SUBTREE) *  trees,
BIO bp,
int  ind,
const char *  name 
)
static

◆ i2r_NAME_CONSTRAINTS()

static int i2r_NAME_CONSTRAINTS ( const X509V3_EXT_METHOD method,
void *  a,
BIO bp,
int  ind 
)
static

◆ nc_dn()

static int nc_dn ( X509_NAME sub,
X509_NAME nm 
)
static

◆ nc_dns()

static int nc_dns ( ASN1_IA5STRING sub,
ASN1_IA5STRING dns 
)
static

◆ nc_email()

static int nc_email ( ASN1_IA5STRING sub,
ASN1_IA5STRING eml 
)
static

◆ nc_match()

static int nc_match ( GENERAL_NAME gen,
NAME_CONSTRAINTS nc 
)
static

◆ nc_match_single()

static int nc_match_single ( GENERAL_NAME sub,
GENERAL_NAME gen 
)
static

◆ nc_uri()

static int nc_uri ( ASN1_IA5STRING uri,
ASN1_IA5STRING base 
)
static

◆ print_nc_ipadd()

static int print_nc_ipadd ( BIO bp,
ASN1_OCTET_STRING ip 
)
static

◆ v2i_NAME_CONSTRAINTS()

static void* v2i_NAME_CONSTRAINTS ( const X509V3_EXT_METHOD method,
X509V3_CTX ctx,
STACK_OF(CONF_VALUE) *  nval 
)
static

Variable Documentation

◆ v3_name_constraints

const X509V3_EXT_METHOD v3_name_constraints
Initial value:

Definition at line 89 of file v3_ncons.c.

ASN1_ITEM_ref
#define ASN1_ITEM_ref(name)
Definition: asn1.h:312
NID_name_constraints
#define NID_name_constraints
Definition: nid.h:2963
NAME_CONSTRAINTS_st
Definition: x509v3.h:310
v2i_NAME_CONSTRAINTS
static void * v2i_NAME_CONSTRAINTS(const X509V3_EXT_METHOD *method, X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *nval)
i2r_NAME_CONSTRAINTS
static int i2r_NAME_CONSTRAINTS(const X509V3_EXT_METHOD *method, void *a, BIO *bp, int ind)


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