#include <openssl/asn1.h>
#include <ctype.h>
#include <inttypes.h>
#include <string.h>
#include <openssl/bio.h>
#include <openssl/mem.h>
#include "charmap.h"
#include "internal.h"
Go to the source code of this file.
|
int | ASN1_GENERALIZEDTIME_print (BIO *bp, const ASN1_GENERALIZEDTIME *tm) |
|
int | ASN1_STRING_print (BIO *bp, const ASN1_STRING *v) |
|
int | ASN1_STRING_print_ex (BIO *out, const ASN1_STRING *str, unsigned long lflags) |
|
int | ASN1_STRING_print_ex_fp (FILE *fp, const ASN1_STRING *str, unsigned long flags) |
|
int | ASN1_STRING_to_UTF8 (unsigned char **out, const ASN1_STRING *in) |
|
int | ASN1_TIME_print (BIO *bp, const ASN1_TIME *tm) |
|
int | ASN1_UTCTIME_print (BIO *bp, const ASN1_UTCTIME *tm) |
|
static int | consume_two_digits (int *out, const char **v, int *len) |
|
static int | consume_zulu_timezone (const char **v, int *len) |
|
static int | do_buf (unsigned char *buf, int buflen, int type, unsigned char flags, char *quotes, BIO *out) |
|
static int | do_dump (unsigned long lflags, BIO *out, const ASN1_STRING *str) |
|
static int | do_esc_char (uint32_t c, unsigned char flags, char *do_quotes, BIO *out) |
|
static int | do_hex_dump (BIO *out, unsigned char *buf, int buflen) |
|
static int | maybe_write (BIO *out, const void *buf, int len) |
|
◆ BUF_TYPE_CONVUTF8
#define BUF_TYPE_CONVUTF8 0x8 |
◆ BUF_TYPE_WIDTH_MASK
#define BUF_TYPE_WIDTH_MASK 0x7 |
◆ CHARTYPE_BS_ESC
◆ CHARTYPE_FIRST_ESC_2253
#define CHARTYPE_FIRST_ESC_2253 0x20 |
◆ CHARTYPE_LAST_ESC_2253
#define CHARTYPE_LAST_ESC_2253 0x40 |
◆ CHARTYPE_PRINTABLESTRING
#define CHARTYPE_PRINTABLESTRING 0x10 |
◆ ESC_FLAGS
Value:
ASN1_STRFLGS_ESC_QUOTE | \
ASN1_STRFLGS_ESC_CTRL | \
ASN1_STRFLGS_ESC_MSB)
Definition at line 81 of file a_strex.c.
◆ HEX_SIZE
#define HEX_SIZE |
( |
|
type | ) |
(sizeof(type)*2) |
◆ ASN1_GENERALIZEDTIME_print()
◆ ASN1_STRING_print()
◆ ASN1_STRING_print_ex()
◆ ASN1_STRING_print_ex_fp()
◆ ASN1_STRING_to_UTF8()
◆ ASN1_TIME_print()
◆ ASN1_UTCTIME_print()
◆ consume_two_digits()
static int consume_two_digits |
( |
int * |
out, |
|
|
const char ** |
v, |
|
|
int * |
len |
|
) |
| |
|
static |
◆ consume_zulu_timezone()
static int consume_zulu_timezone |
( |
const char ** |
v, |
|
|
int * |
len |
|
) |
| |
|
static |
◆ do_buf()
static int do_buf |
( |
unsigned char * |
buf, |
|
|
int |
buflen, |
|
|
int |
type, |
|
|
unsigned char |
flags, |
|
|
char * |
quotes, |
|
|
BIO * |
out |
|
) |
| |
|
static |
◆ do_dump()
◆ do_esc_char()
static int do_esc_char |
( |
uint32_t |
c, |
|
|
unsigned char |
flags, |
|
|
char * |
do_quotes, |
|
|
BIO * |
out |
|
) |
| |
|
static |
◆ do_hex_dump()
static int do_hex_dump |
( |
BIO * |
out, |
|
|
unsigned char * |
buf, |
|
|
int |
buflen |
|
) |
| |
|
static |
◆ maybe_write()
◆ mon
Initial value:= {
"Jan", "Feb", "Mar", "Apr", "May", "Jun",
"Jul", "Aug", "Sep", "Oct", "Nov", "Dec"
}
Definition at line 515 of file a_strex.c.
◆ tag2nbyte
const signed char tag2nbyte[] |
|
static |
Initial value:= {
-1, -1, -1, -1, -1,
-1, -1, -1, -1, -1,
-1, -1, 0, -1,
-1, -1, -1, -1,
1, 1, 1,
-1, 1, 1, 1,
-1, 1, -1,
4, -1, 2
}
Definition at line 340 of file a_strex.c.