webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Macros | Typedefs | Functions
a_strex.c File Reference
#include <openssl/x509.h>
#include <string.h>
#include <openssl/asn1.h>
#include <openssl/mem.h>
#include <openssl/obj.h>
#include "charmap.h"

Macros

#define CHARTYPE_BS_ESC   (ASN1_STRFLGS_ESC_2253 | CHARTYPE_FIRST_ESC_2253 | CHARTYPE_LAST_ESC_2253)
 
#define ESC_FLAGS
 
#define HEX_SIZE(type)   (sizeof(type)*2)
 
#define BUF_TYPE_WIDTH_MASK   0x7
 
#define BUF_TYPE_CONVUTF8   0x8
 
#define FN_WIDTH_LN   25
 
#define FN_WIDTH_SN   10
 

Typedefs

typedef int char_io(void *arg, const void *buf, int len)
 

Functions

int X509_NAME_print_ex (BIO *out, X509_NAME *nm, int indent, unsigned long flags)
 
int X509_NAME_print_ex_fp (FILE *fp, X509_NAME *nm, int indent, unsigned long flags)
 
int ASN1_STRING_print_ex (BIO *out, ASN1_STRING *str, unsigned long flags)
 
int ASN1_STRING_print_ex_fp (FILE *fp, ASN1_STRING *str, unsigned long flags)
 
int ASN1_STRING_to_UTF8 (unsigned char **out, ASN1_STRING *in)
 

Macro Definition Documentation

◆ BUF_TYPE_CONVUTF8

#define BUF_TYPE_CONVUTF8   0x8

◆ BUF_TYPE_WIDTH_MASK

#define BUF_TYPE_WIDTH_MASK   0x7

◆ CHARTYPE_BS_ESC

◆ ESC_FLAGS

#define ESC_FLAGS
Value:
ASN1_STRFLGS_ESC_QUOTE | \
ASN1_STRFLGS_ESC_CTRL | \
ASN1_STRFLGS_ESC_MSB)
#define ASN1_STRFLGS_ESC_2253
Definition: asn1.h:406

◆ FN_WIDTH_LN

#define FN_WIDTH_LN   25

◆ FN_WIDTH_SN

#define FN_WIDTH_SN   10

◆ HEX_SIZE

#define HEX_SIZE (   type)    (sizeof(type)*2)

Typedef Documentation

◆ char_io

typedef int char_io(void *arg, const void *buf, int len)

Function Documentation

◆ ASN1_STRING_print_ex()

int ASN1_STRING_print_ex ( BIO out,
ASN1_STRING str,
unsigned long  flags 
)

◆ ASN1_STRING_print_ex_fp()

int ASN1_STRING_print_ex_fp ( FILE *  fp,
ASN1_STRING str,
unsigned long  flags 
)

◆ ASN1_STRING_to_UTF8()

int ASN1_STRING_to_UTF8 ( unsigned char **  out,
ASN1_STRING in 
)

◆ X509_NAME_print_ex()

int X509_NAME_print_ex ( BIO out,
X509_NAME nm,
int  indent,
unsigned long  flags 
)

◆ X509_NAME_print_ex_fp()

int X509_NAME_print_ex_fp ( FILE *  fp,
X509_NAME nm,
int  indent,
unsigned long  flags 
)