OpenSSL  1.0.1c
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Macros | Typedefs | Functions
a_strex.c File Reference
#include <stdio.h>
#include <string.h>
#include "cryptlib.h"
#include <openssl/crypto.h>
#include <openssl/x509.h>
#include <openssl/asn1.h>
#include "charmap.h"

Go to the source code of this file.

Macros

#define CHARTYPE_BS_ESC   (ASN1_STRFLGS_ESC_2253 | CHARTYPE_FIRST_ESC_2253 | CHARTYPE_LAST_ESC_2253)
 
#define ESC_FLAGS
 
#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

#define BUF_TYPE_CONVUTF8   0x8

Definition at line 168 of file a_strex.c.

#define BUF_TYPE_WIDTH_MASK   0x7

Definition at line 167 of file a_strex.c.

Definition at line 75 of file a_strex.c.

#define ESC_FLAGS
Value:
ASN1_STRFLGS_ESC_QUOTE | \
ASN1_STRFLGS_ESC_CTRL | \
ASN1_STRFLGS_ESC_MSB)

Definition at line 77 of file a_strex.c.

#define FN_WIDTH_LN   25

Definition at line 389 of file a_strex.c.

#define FN_WIDTH_SN   10

Definition at line 390 of file a_strex.c.

Typedef Documentation

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

Definition at line 111 of file a_strex.c.

Function Documentation

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

Definition at line 543 of file a_strex.c.

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

Definition at line 549 of file a_strex.c.

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

Definition at line 559 of file a_strex.c.

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

Definition at line 519 of file a_strex.c.

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

Definition at line 527 of file a_strex.c.