Macros | Functions
x_name.c File Reference
#include <ctype.h>
#include <string.h>
#include <openssl/asn1.h>
#include <openssl/asn1t.h>
#include <openssl/buf.h>
#include <openssl/err.h>
#include <openssl/mem.h>
#include <openssl/obj.h>
#include <openssl/stack.h>
#include <openssl/x509.h>
#include "../asn1/internal.h"
#include "../internal.h"
#include "internal.h"
Include dependency graph for x_name.c:

Go to the source code of this file.

Macros

#define ASN1_MASK_CANON
 
#define X509_NAME_MAX   (1024 * 1024)
 

Functions

 ASN1_SEQUENCE_END (X509_NAME_ENTRY)
 
static int asn1_string_canon (ASN1_STRING *out, ASN1_STRING *in)
 
static int i2d_name_canon (STACK_OF(STACK_OF_X509_NAME_ENTRY) *_intname, unsigned char **in)
 
static void local_sk_X509_NAME_ENTRY_free (STACK_OF(X509_NAME_ENTRY) *ne)
 
static void local_sk_X509_NAME_ENTRY_pop_free (STACK_OF(X509_NAME_ENTRY) *ne)
 
typedef STACK_OF (X509_NAME_ENTRY)
 
static int x509_name_canon (X509_NAME *a)
 
static int x509_name_encode (X509_NAME *a)
 
int X509_NAME_ENTRY_set (const X509_NAME_ENTRY *ne)
 
static int x509_name_ex_d2i (ASN1_VALUE **val, const unsigned char **in, long len, const ASN1_ITEM *it, int tag, int aclass, char opt, ASN1_TLC *ctx)
 
static void x509_name_ex_free (ASN1_VALUE **pval, const ASN1_ITEM *it)
 
static int x509_name_ex_i2d (ASN1_VALUE **val, unsigned char **out, const ASN1_ITEM *it, int tag, int aclass)
 
static int x509_name_ex_new (ASN1_VALUE **val, const ASN1_ITEM *it)
 
int X509_NAME_get0_der (X509_NAME *nm, const unsigned char **pder, size_t *pderlen)
 
int X509_NAME_set (X509_NAME **xn, X509_NAME *name)
 

Macro Definition Documentation

◆ ASN1_MASK_CANON

#define ASN1_MASK_CANON

◆ X509_NAME_MAX

#define X509_NAME_MAX   (1024 * 1024)

Function Documentation

◆ ASN1_SEQUENCE_END()

ASN1_SEQUENCE_END ( X509_NAME_ENTRY  )

Definition at line 103 of file x_name.c.

◆ asn1_string_canon()

static int asn1_string_canon ( ASN1_STRING out,
ASN1_STRING in 
)
static

Definition at line 421 of file x_name.c.

◆ i2d_name_canon()

static int i2d_name_canon ( STACK_OF(STACK_OF_X509_NAME_ENTRY) *  _intname,
unsigned char **  in 
)
static

Definition at line 499 of file x_name.c.

◆ local_sk_X509_NAME_ENTRY_free()

static void local_sk_X509_NAME_ENTRY_free ( STACK_OF(X509_NAME_ENTRY) *  ne)
static

Definition at line 185 of file x_name.c.

◆ local_sk_X509_NAME_ENTRY_pop_free()

static void local_sk_X509_NAME_ENTRY_pop_free ( STACK_OF(X509_NAME_ENTRY) *  ne)
static

Definition at line 190 of file x_name.c.

◆ STACK_OF()

typedef STACK_OF ( X509_NAME_ENTRY  )

Definition at line 74 of file x_name.c.

◆ x509_name_canon()

static int x509_name_canon ( X509_NAME a)
static

Definition at line 341 of file x_name.c.

◆ x509_name_encode()

static int x509_name_encode ( X509_NAME a)
static

Definition at line 278 of file x_name.c.

◆ X509_NAME_ENTRY_set()

int X509_NAME_ENTRY_set ( const X509_NAME_ENTRY ne)

Definition at line 528 of file x_name.c.

◆ x509_name_ex_d2i()

static int x509_name_ex_d2i ( ASN1_VALUE **  val,
const unsigned char **  in,
long  len,
const ASN1_ITEM it,
int  tag,
int  aclass,
char  opt,
ASN1_TLC ctx 
)
static

Definition at line 195 of file x_name.c.

◆ x509_name_ex_free()

static void x509_name_ex_free ( ASN1_VALUE **  pval,
const ASN1_ITEM it 
)
static

Definition at line 170 of file x_name.c.

◆ x509_name_ex_i2d()

static int x509_name_ex_i2d ( ASN1_VALUE **  val,
unsigned char **  out,
const ASN1_ITEM it,
int  tag,
int  aclass 
)
static

Definition at line 261 of file x_name.c.

◆ x509_name_ex_new()

static int x509_name_ex_new ( ASN1_VALUE **  val,
const ASN1_ITEM it 
)
static

Definition at line 144 of file x_name.c.

◆ X509_NAME_get0_der()

int X509_NAME_get0_der ( X509_NAME nm,
const unsigned char **  pder,
size_t *  pderlen 
)

Definition at line 533 of file x_name.c.

◆ X509_NAME_set()

int X509_NAME_set ( X509_NAME **  xn,
X509_NAME name 
)

Definition at line 519 of file x_name.c.

B_ASN1_IA5STRING
#define B_ASN1_IA5STRING
Definition: asn1.h:165
B_ASN1_PRINTABLESTRING
#define B_ASN1_PRINTABLESTRING
Definition: asn1.h:161
B_ASN1_VISIBLESTRING
#define B_ASN1_VISIBLESTRING
Definition: asn1.h:168
B_ASN1_T61STRING
#define B_ASN1_T61STRING
Definition: asn1.h:162
B_ASN1_UNIVERSALSTRING
#define B_ASN1_UNIVERSALSTRING
Definition: asn1.h:170
B_ASN1_BMPSTRING
#define B_ASN1_BMPSTRING
Definition: asn1.h:173
B_ASN1_UTF8STRING
#define B_ASN1_UTF8STRING
Definition: asn1.h:175


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