Functions | Variables
v3_crld.c File Reference
#include <stdio.h>
#include <string.h>
#include <openssl/asn1.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_crld.c:

Go to the source code of this file.

Functions

 ASN1_CHOICE_cb (DIST_POINT_NAME, dpn_cb)
 
static DIST_POINTcrldp_from_section (X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *nval)
 
int DIST_POINT_set_dpname (DIST_POINT_NAME *dpn, X509_NAME *iname)
 
static int dpn_cb (int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, void *exarg)
 
static int i2r_crldp (const X509V3_EXT_METHOD *method, void *pcrldp, BIO *out, int indent)
 
static int i2r_idp (const X509V3_EXT_METHOD *method, void *pidp, BIO *out, int indent)
 
static int print_distpoint (BIO *out, DIST_POINT_NAME *dpn, int indent)
 
static int print_gens (BIO *out, STACK_OF(GENERAL_NAME) *gens, int indent)
 
static int print_reasons (BIO *out, const char *rname, ASN1_BIT_STRING *rflags, int indent)
 
static int set_dist_point_name (DIST_POINT_NAME **pdp, X509V3_CTX *ctx, CONF_VALUE *cnf)
 
static int set_reasons (ASN1_BIT_STRING **preas, char *value)
 
static STACK_OF (GENERAL_NAME)
 
static void * v2i_crld (const X509V3_EXT_METHOD *method, X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *nval)
 
static void * v2i_idp (const X509V3_EXT_METHOD *method, X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *nval)
 

Variables

static const BIT_STRING_BITNAME reason_flags []
 
const X509V3_EXT_METHOD v3_crld
 
const X509V3_EXT_METHOD v3_freshest_crl
 
const X509V3_EXT_METHOD v3_idp
 

Function Documentation

◆ ASN1_CHOICE_cb()

ASN1_CHOICE_cb ( DIST_POINT_NAME  ,
dpn_cb   
)

◆ crldp_from_section()

static DIST_POINT* crldp_from_section ( X509V3_CTX ctx,
STACK_OF(CONF_VALUE) *  nval 
)
static

Definition at line 255 of file v3_crld.c.

◆ DIST_POINT_set_dpname()

int DIST_POINT_set_dpname ( DIST_POINT_NAME dpn,
X509_NAME iname 
)

Definition at line 537 of file v3_crld.c.

◆ dpn_cb()

static int dpn_cb ( int  operation,
ASN1_VALUE **  pval,
const ASN1_ITEM it,
void *  exarg 
)
static

Definition at line 348 of file v3_crld.c.

◆ i2r_crldp()

static int i2r_crldp ( const X509V3_EXT_METHOD method,
void *  pcrldp,
BIO out,
int  indent 
)
static

Definition at line 516 of file v3_crld.c.

◆ i2r_idp()

static int i2r_idp ( const X509V3_EXT_METHOD method,
void *  pidp,
BIO out,
int  indent 
)
static

Definition at line 492 of file v3_crld.c.

◆ print_distpoint()

static int print_distpoint ( BIO out,
DIST_POINT_NAME dpn,
int  indent 
)
static

Definition at line 477 of file v3_crld.c.

◆ print_gens()

static int print_gens ( BIO out,
STACK_OF(GENERAL_NAME) *  gens,
int  indent 
)
static

Definition at line 466 of file v3_crld.c.

◆ print_reasons()

static int print_reasons ( BIO out,
const char *  rname,
ASN1_BIT_STRING rflags,
int  indent 
)
static

Definition at line 233 of file v3_crld.c.

◆ set_dist_point_name()

static int set_dist_point_name ( DIST_POINT_NAME **  pdp,
X509V3_CTX ctx,
CONF_VALUE cnf 
)
static

Definition at line 119 of file v3_crld.c.

◆ set_reasons()

static int set_reasons ( ASN1_BIT_STRING **  preas,
char *  value 
)
static

Definition at line 197 of file v3_crld.c.

◆ STACK_OF()

static STACK_OF ( GENERAL_NAME  )
static

Definition at line 98 of file v3_crld.c.

◆ v2i_crld()

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

Definition at line 290 of file v3_crld.c.

◆ v2i_idp()

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

Definition at line 416 of file v3_crld.c.

Variable Documentation

◆ reason_flags

const BIT_STRING_BITNAME reason_flags[]
static
Initial value:
= {
{0, "Unused", "unused"},
{1, "Key Compromise", "keyCompromise"},
{2, "CA Compromise", "CACompromise"},
{3, "Affiliation Changed", "affiliationChanged"},
{4, "Superseded", "superseded"},
{5, "Cessation Of Operation", "cessationOfOperation"},
{6, "Certificate Hold", "certificateHold"},
{7, "Privilege Withdrawn", "privilegeWithdrawn"},
{8, "AA Compromise", "AACompromise"},
{-1, NULL, NULL}
}

Definition at line 184 of file v3_crld.c.

◆ v3_crld

Initial value:
= {
0, 0, 0, 0,
0, 0,
0,
NULL
}

Definition at line 78 of file v3_crld.c.

◆ v3_freshest_crl

const X509V3_EXT_METHOD v3_freshest_crl
Initial value:
= {
NID_freshest_crl, 0, ASN1_ITEM_ref(CRL_DIST_POINTS),
0, 0, 0, 0,
0, 0,
0,
NULL
}

Definition at line 88 of file v3_crld.c.

◆ v3_idp

Initial value:

Definition at line 405 of file v3_crld.c.

NID_freshest_crl
#define NID_freshest_crl
Definition: nid.h:3809
ASN1_ITEM_ref
#define ASN1_ITEM_ref(name)
Definition: asn1.h:312
i2r_crldp
static int i2r_crldp(const X509V3_EXT_METHOD *method, void *pcrldp, BIO *out, int indent)
Definition: v3_crld.c:516
i2r_idp
static int i2r_idp(const X509V3_EXT_METHOD *method, void *pidp, BIO *out, int indent)
Definition: v3_crld.c:492
NID_crl_distribution_points
#define NID_crl_distribution_points
Definition: nid.h:554
ISSUING_DIST_POINT_st
Definition: x509v3.h:334
X509V3_EXT_MULTILINE
#define X509V3_EXT_MULTILINE
Definition: x509v3.h:155
v2i_crld
static void * v2i_crld(const X509V3_EXT_METHOD *method, X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *nval)
Definition: v3_crld.c:290
NID_issuing_distribution_point
#define NID_issuing_distribution_point
Definition: nid.h:3405
v2i_idp
static void * v2i_idp(const X509V3_EXT_METHOD *method, X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *nval)
Definition: v3_crld.c:416


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