📄 asn1.h
字号:
{ ASN1_OCTET_STRING *header; char *data; ASN1_METHOD *meth; } ASN1_HEADER;/* This is used to contain a list of bit names */typedef struct BIT_STRING_BITNAME_st { int bitnum; const char *lname; const char *sname;} BIT_STRING_BITNAME;#define M_ASN1_STRING_length(x) ((x)->length)#define M_ASN1_STRING_length_set(x, n) ((x)->length = (n))#define M_ASN1_STRING_type(x) ((x)->type)#define M_ASN1_STRING_data(x) ((x)->data)/* Macros for string operations */#define M_ASN1_BIT_STRING_new() (ASN1_BIT_STRING *)\ ASN1_STRING_type_new(V_ASN1_BIT_STRING)#define M_ASN1_BIT_STRING_free(a) ASN1_STRING_free((ASN1_STRING *)a)#define M_ASN1_BIT_STRING_dup(a) (ASN1_BIT_STRING *)\ ASN1_STRING_dup((ASN1_STRING *)a)#define M_ASN1_BIT_STRING_cmp(a,b) ASN1_STRING_cmp(\ (ASN1_STRING *)a,(ASN1_STRING *)b)#define M_ASN1_BIT_STRING_set(a,b,c) ASN1_STRING_set((ASN1_STRING *)a,b,c)#define M_ASN1_INTEGER_new() (ASN1_INTEGER *)\ ASN1_STRING_type_new(V_ASN1_INTEGER)#define M_ASN1_INTEGER_free(a) ASN1_STRING_free((ASN1_STRING *)a)#define M_ASN1_INTEGER_dup(a) (ASN1_INTEGER *)ASN1_STRING_dup((ASN1_STRING *)a)#define M_ASN1_INTEGER_cmp(a,b) ASN1_STRING_cmp(\ (ASN1_STRING *)a,(ASN1_STRING *)b)#define M_ASN1_ENUMERATED_new() (ASN1_ENUMERATED *)\ ASN1_STRING_type_new(V_ASN1_ENUMERATED)#define M_ASN1_ENUMERATED_free(a) ASN1_STRING_free((ASN1_STRING *)a)#define M_ASN1_ENUMERATED_dup(a) (ASN1_ENUMERATED *)ASN1_STRING_dup((ASN1_STRING *)a)#define M_ASN1_ENUMERATED_cmp(a,b) ASN1_STRING_cmp(\ (ASN1_STRING *)a,(ASN1_STRING *)b)#define M_ASN1_OCTET_STRING_new() (ASN1_OCTET_STRING *)\ ASN1_STRING_type_new(V_ASN1_OCTET_STRING)#define M_ASN1_OCTET_STRING_free(a) ASN1_STRING_free((ASN1_STRING *)a)#define M_ASN1_OCTET_STRING_dup(a) (ASN1_OCTET_STRING *)\ ASN1_STRING_dup((ASN1_STRING *)a)#define M_ASN1_OCTET_STRING_cmp(a,b) ASN1_STRING_cmp(\ (ASN1_STRING *)a,(ASN1_STRING *)b)#define M_ASN1_OCTET_STRING_set(a,b,c) ASN1_STRING_set((ASN1_STRING *)a,b,c)#define M_ASN1_OCTET_STRING_print(a,b) ASN1_STRING_print(a,(ASN1_STRING *)b)#define M_i2d_ASN1_OCTET_STRING(a,pp) \ i2d_ASN1_bytes((ASN1_STRING *)a,pp,V_ASN1_OCTET_STRING,\ V_ASN1_UNIVERSAL)#define M_ASN1_PRINTABLE_new() ASN1_STRING_type_new(V_ASN1_T61STRING)#define M_ASN1_PRINTABLE_free(a) ASN1_STRING_free((ASN1_STRING *)a)#define M_i2d_ASN1_PRINTABLE(a,pp) i2d_ASN1_bytes((ASN1_STRING *)a,\ pp,a->type,V_ASN1_UNIVERSAL)#define M_d2i_ASN1_PRINTABLE(a,pp,l) \ d2i_ASN1_type_bytes((ASN1_STRING **)a,pp,l, \ B_ASN1_PRINTABLESTRING| \ B_ASN1_T61STRING| \ B_ASN1_IA5STRING| \ B_ASN1_BIT_STRING| \ B_ASN1_UNIVERSALSTRING|\ B_ASN1_BMPSTRING|\ B_ASN1_UTF8STRING|\ B_ASN1_UNKNOWN)#define M_DIRECTORYSTRING_new() ASN1_STRING_type_new(V_ASN1_PRINTABLESTRING)#define M_DIRECTORYSTRING_free(a) ASN1_STRING_free((ASN1_STRING *)a)#define M_i2d_DIRECTORYSTRING(a,pp) i2d_ASN1_bytes((ASN1_STRING *)a,\ pp,a->type,V_ASN1_UNIVERSAL)#define M_d2i_DIRECTORYSTRING(a,pp,l) \ d2i_ASN1_type_bytes((ASN1_STRING **)a,pp,l, \ B_ASN1_PRINTABLESTRING| \ B_ASN1_TELETEXSTRING|\ B_ASN1_BMPSTRING|\ B_ASN1_UNIVERSALSTRING|\ B_ASN1_UTF8STRING)#define M_DISPLAYTEXT_new() ASN1_STRING_type_new(V_ASN1_VISIBLESTRING)#define M_DISPLAYTEXT_free(a) ASN1_STRING_free((ASN1_STRING *)a)#define M_i2d_DISPLAYTEXT(a,pp) i2d_ASN1_bytes((ASN1_STRING *)a,\ pp,a->type,V_ASN1_UNIVERSAL)#define M_d2i_DISPLAYTEXT(a,pp,l) \ d2i_ASN1_type_bytes((ASN1_STRING **)a,pp,l, \ B_ASN1_VISIBLESTRING| \ B_ASN1_BMPSTRING|\ B_ASN1_UTF8STRING)#define M_ASN1_PRINTABLESTRING_new() (ASN1_PRINTABLESTRING *)\ ASN1_STRING_type_new(V_ASN1_PRINTABLESTRING)#define M_ASN1_PRINTABLESTRING_free(a) ASN1_STRING_free((ASN1_STRING *)a)#define M_i2d_ASN1_PRINTABLESTRING(a,pp) \ i2d_ASN1_bytes((ASN1_STRING *)a,pp,V_ASN1_PRINTABLESTRING,\ V_ASN1_UNIVERSAL)#define M_d2i_ASN1_PRINTABLESTRING(a,pp,l) \ (ASN1_PRINTABLESTRING *)d2i_ASN1_type_bytes\ ((ASN1_STRING **)a,pp,l,B_ASN1_PRINTABLESTRING)#define M_ASN1_T61STRING_new() (ASN1_T61STRING *)\ ASN1_STRING_type_new(V_ASN1_T61STRING)#define M_ASN1_T61STRING_free(a) ASN1_STRING_free((ASN1_STRING *)a)#define M_i2d_ASN1_T61STRING(a,pp) \ i2d_ASN1_bytes((ASN1_STRING *)a,pp,V_ASN1_T61STRING,\ V_ASN1_UNIVERSAL)#define M_d2i_ASN1_T61STRING(a,pp,l) \ (ASN1_T61STRING *)d2i_ASN1_type_bytes\ ((ASN1_STRING **)a,pp,l,B_ASN1_T61STRING)#define M_ASN1_IA5STRING_new() (ASN1_IA5STRING *)\ ASN1_STRING_type_new(V_ASN1_IA5STRING)#define M_ASN1_IA5STRING_free(a) ASN1_STRING_free((ASN1_STRING *)a)#define M_ASN1_IA5STRING_dup(a) \ (ASN1_IA5STRING *)ASN1_STRING_dup((ASN1_STRING *)a)#define M_i2d_ASN1_IA5STRING(a,pp) \ i2d_ASN1_bytes((ASN1_STRING *)a,pp,V_ASN1_IA5STRING,\ V_ASN1_UNIVERSAL)#define M_d2i_ASN1_IA5STRING(a,pp,l) \ (ASN1_IA5STRING *)d2i_ASN1_type_bytes((ASN1_STRING **)a,pp,l,\ B_ASN1_IA5STRING)#define M_ASN1_UTCTIME_new() (ASN1_UTCTIME *)\ ASN1_STRING_type_new(V_ASN1_UTCTIME)#define M_ASN1_UTCTIME_free(a) ASN1_STRING_free((ASN1_STRING *)a)#define M_ASN1_UTCTIME_dup(a) (ASN1_UTCTIME *)ASN1_STRING_dup((ASN1_STRING *)a)#define M_ASN1_GENERALIZEDTIME_new() (ASN1_GENERALIZEDTIME *)\ ASN1_STRING_type_new(V_ASN1_GENERALIZEDTIME)#define M_ASN1_GENERALIZEDTIME_free(a) ASN1_STRING_free((ASN1_STRING *)a)#define M_ASN1_GENERALIZEDTIME_dup(a) (ASN1_GENERALIZEDTIME *)ASN1_STRING_dup(\ (ASN1_STRING *)a)#define M_ASN1_TIME_new() (ASN1_TIME *)\ ASN1_STRING_type_new(V_ASN1_UTCTIME)#define M_ASN1_TIME_free(a) ASN1_STRING_free((ASN1_STRING *)a)#define M_ASN1_TIME_dup(a) (ASN1_TIME *)ASN1_STRING_dup((ASN1_STRING *)a)#define M_ASN1_GENERALSTRING_new() (ASN1_GENERALSTRING *)\ ASN1_STRING_type_new(V_ASN1_GENERALSTRING)#define M_ASN1_GENERALSTRING_free(a) ASN1_STRING_free((ASN1_STRING *)a)#define M_i2d_ASN1_GENERALSTRING(a,pp) \ i2d_ASN1_bytes((ASN1_STRING *)a,pp,V_ASN1_GENERALSTRING,\ V_ASN1_UNIVERSAL)#define M_d2i_ASN1_GENERALSTRING(a,pp,l) \ (ASN1_GENERALSTRING *)d2i_ASN1_type_bytes\ ((ASN1_STRING **)a,pp,l,B_ASN1_GENERALSTRING)#define M_ASN1_UNIVERSALSTRING_new() (ASN1_UNIVERSALSTRING *)\ ASN1_STRING_type_new(V_ASN1_UNIVERSALSTRING)#define M_ASN1_UNIVERSALSTRING_free(a) ASN1_STRING_free((ASN1_STRING *)a)#define M_i2d_ASN1_UNIVERSALSTRING(a,pp) \ i2d_ASN1_bytes((ASN1_STRING *)a,pp,V_ASN1_UNIVERSALSTRING,\ V_ASN1_UNIVERSAL)#define M_d2i_ASN1_UNIVERSALSTRING(a,pp,l) \ (ASN1_UNIVERSALSTRING *)d2i_ASN1_type_bytes\ ((ASN1_STRING **)a,pp,l,B_ASN1_UNIVERSALSTRING)#define M_ASN1_BMPSTRING_new() (ASN1_BMPSTRING *)\ ASN1_STRING_type_new(V_ASN1_BMPSTRING)#define M_ASN1_BMPSTRING_free(a) ASN1_STRING_free((ASN1_STRING *)a)#define M_i2d_ASN1_BMPSTRING(a,pp) \ i2d_ASN1_bytes((ASN1_STRING *)a,pp,V_ASN1_BMPSTRING,\ V_ASN1_UNIVERSAL)#define M_d2i_ASN1_BMPSTRING(a,pp,l) \ (ASN1_BMPSTRING *)d2i_ASN1_type_bytes\ ((ASN1_STRING **)a,pp,l,B_ASN1_BMPSTRING)#define M_ASN1_VISIBLESTRING_new() (ASN1_VISIBLESTRING *)\ ASN1_STRING_type_new(V_ASN1_VISIBLESTRING)#define M_ASN1_VISIBLESTRING_free(a) ASN1_STRING_free((ASN1_STRING *)a)#define M_i2d_ASN1_VISIBLESTRING(a,pp) \ i2d_ASN1_bytes((ASN1_STRING *)a,pp,V_ASN1_VISIBLESTRING,\ V_ASN1_UNIVERSAL)#define M_d2i_ASN1_VISIBLESTRING(a,pp,l) \ (ASN1_VISIBLESTRING *)d2i_ASN1_type_bytes\ ((ASN1_STRING **)a,pp,l,B_ASN1_VISIBLESTRING)#define M_ASN1_UTF8STRING_new() (ASN1_UTF8STRING *)\ ASN1_STRING_type_new(V_ASN1_UTF8STRING)#define M_ASN1_UTF8STRING_free(a) ASN1_STRING_free((ASN1_STRING *)a)#define M_i2d_ASN1_UTF8STRING(a,pp) \ i2d_ASN1_bytes((ASN1_STRING *)a,pp,V_ASN1_UTF8STRING,\ V_ASN1_UNIVERSAL)#define M_d2i_ASN1_UTF8STRING(a,pp,l) \ (ASN1_UTF8STRING *)d2i_ASN1_type_bytes\ ((ASN1_STRING **)a,pp,l,B_ASN1_UTF8STRING) /* for the is_set parameter to i2d_ASN1_SET */#define IS_SEQUENCE 0#define IS_SET 1ASN1_TYPE * ASN1_TYPE_new(void );void ASN1_TYPE_free(ASN1_TYPE *a);int i2d_ASN1_TYPE(ASN1_TYPE *a,unsigned char **pp);ASN1_TYPE * d2i_ASN1_TYPE(ASN1_TYPE **a,unsigned char **pp,long length);int ASN1_TYPE_get(ASN1_TYPE *a);void ASN1_TYPE_set(ASN1_TYPE *a, int type, void *value);ASN1_OBJECT * ASN1_OBJECT_new(void );void ASN1_OBJECT_free(ASN1_OBJECT *a);int i2d_ASN1_OBJECT(ASN1_OBJECT *a,unsigned char **pp);ASN1_OBJECT * c2i_ASN1_OBJECT(ASN1_OBJECT **a,unsigned char **pp, long length);ASN1_OBJECT * d2i_ASN1_OBJECT(ASN1_OBJECT **a,unsigned char **pp, long length);DECLARE_STACK_OF(ASN1_OBJECT)DECLARE_ASN1_SET_OF(ASN1_OBJECT)ASN1_STRING * ASN1_STRING_new(void);void ASN1_STRING_free(ASN1_STRING *a);ASN1_STRING * ASN1_STRING_dup(ASN1_STRING *a);ASN1_STRING * ASN1_STRING_type_new(int type );int ASN1_STRING_cmp(ASN1_STRING *a, ASN1_STRING *b); /* Since this is used to store all sorts of things, via macros, for now, make its data void * */int ASN1_STRING_set(ASN1_STRING *str, const void *data, int len);int ASN1_STRING_length(ASN1_STRING *x);void ASN1_STRING_length_set(ASN1_STRING *x, int n);int ASN1_STRING_type(ASN1_STRING *x);unsigned char * ASN1_STRING_data(ASN1_STRING *x);ASN1_BIT_STRING * ASN1_BIT_STRING_new(void);void ASN1_BIT_STRING_free(ASN1_BIT_STRING *a);int i2d_ASN1_BIT_STRING(ASN1_BIT_STRING *a,unsigned char **pp);int i2c_ASN1_BIT_STRING(ASN1_BIT_STRING *a,unsigned char **pp);ASN1_BIT_STRING *d2i_ASN1_BIT_STRING(ASN1_BIT_STRING **a,unsigned char **pp, long length);ASN1_BIT_STRING *c2i_ASN1_BIT_STRING(ASN1_BIT_STRING **a,unsigned char **pp, long length);int ASN1_BIT_STRING_set(ASN1_BIT_STRING *a, unsigned char *d, int length );int ASN1_BIT_STRING_set_bit(ASN1_BIT_STRING *a, int n, int value);int ASN1_BIT_STRING_get_bit(ASN1_BIT_STRING *a, int n);#ifndef NO_BIOint ASN1_BIT_STRING_name_print(BIO *out, ASN1_BIT_STRING *bs, BIT_STRING_BITNAME *tbl, int indent);#endifint ASN1_BIT_STRING_num_asc(char *name, BIT_STRING_BITNAME *tbl);int ASN1_BIT_STRING_set_asc(ASN1_BIT_STRING *bs, char *name, int value, BIT_STRING_BITNAME *tbl);int i2d_ASN1_BOOLEAN(int a,unsigned char **pp);int d2i_ASN1_BOOLEAN(int *a,unsigned char **pp,long length);ASN1_INTEGER * ASN1_INTEGER_new(void);void ASN1_INTEGER_free(ASN1_INTEGER *a);int i2d_ASN1_INTEGER(ASN1_INTEGER *a,unsigned char **pp);int i2c_ASN1_INTEGER(ASN1_INTEGER *a,unsigned char **pp);ASN1_INTEGER *d2i_ASN1_INTEGER(ASN1_INTEGER **a,unsigned char **pp, long length);ASN1_INTEGER *c2i_ASN1_INTEGER(ASN1_INTEGER **a,unsigned char **pp, long length);ASN1_INTEGER *d2i_ASN1_UINTEGER(ASN1_INTEGER **a,unsigned char **pp, long length);ASN1_INTEGER * ASN1_INTEGER_dup(ASN1_INTEGER *x);int ASN1_INTEGER_cmp(ASN1_INTEGER *x, ASN1_INTEGER *y);ASN1_ENUMERATED * ASN1_ENUMERATED_new(void);void ASN1_ENUMERATED_free(ASN1_ENUMERATED *a);int i2d_ASN1_ENUMERATED(ASN1_ENUMERATED *a,unsigned char **pp);ASN1_ENUMERATED *d2i_ASN1_ENUMERATED(ASN1_ENUMERATED **a,unsigned char **pp, long length);int ASN1_UTCTIME_check(ASN1_UTCTIME *a);ASN1_UTCTIME *ASN1_UTCTIME_set(ASN1_UTCTIME *s,time_t t);int ASN1_UTCTIME_set_string(ASN1_UTCTIME *s, char *str); int ASN1_UTCTIME_cmp_time_t(const ASN1_UTCTIME *s, time_t t);#if 0time_t ASN1_UTCTIME_get(const ASN1_UTCTIME *s);#endifint ASN1_GENERALIZEDTIME_check(ASN1_GENERALIZEDTIME *a);ASN1_GENERALIZEDTIME *ASN1_GENERALIZEDTIME_set(ASN1_GENERALIZEDTIME *s,time_t t);int ASN1_GENERALIZEDTIME_set_string(ASN1_GENERALIZEDTIME *s, char *str); ASN1_OCTET_STRING * ASN1_OCTET_STRING_new(void);void ASN1_OCTET_STRING_free(ASN1_OCTET_STRING *a);int i2d_ASN1_OCTET_STRING(ASN1_OCTET_STRING *a,unsigned char **pp);ASN1_OCTET_STRING *d2i_ASN1_OCTET_STRING(ASN1_OCTET_STRING **a, unsigned char **pp,long length);ASN1_OCTET_STRING * ASN1_OCTET_STRING_dup(ASN1_OCTET_STRING *a);int ASN1_OCTET_STRING_cmp(ASN1_OCTET_STRING *a, ASN1_OCTET_STRING *b);int ASN1_OCTET_STRING_set(ASN1_OCTET_STRING *str, unsigned char *data, int len);ASN1_VISIBLESTRING * ASN1_VISIBLESTRING_new(void);void ASN1_VISIBLESTRING_free(ASN1_VISIBLESTRING *a);int i2d_ASN1_VISIBLESTRING(ASN1_VISIBLESTRING *a,unsigned char **pp);ASN1_VISIBLESTRING *d2i_ASN1_VISIBLESTRING(ASN1_VISIBLESTRING **a, unsigned char **pp,long length);ASN1_UTF8STRING * ASN1_UTF8STRING_new(void);void ASN1_UTF8STRING_free(ASN1_UTF8STRING *a);int i2d_ASN1_UTF8STRING(ASN1_UTF8STRING *a,unsigned char **pp);ASN1_UTF8STRING *d2i_ASN1_UTF8STRING(ASN1_UTF8STRING **a, unsigned char **pp,long length);ASN1_NULL * ASN1_NULL_new(void);void ASN1_NULL_free(ASN1_NULL *a);int i2d_ASN1_NULL(ASN1_NULL *a,unsigned char **pp);ASN1_NULL *d2i_ASN1_NULL(ASN1_NULL **a, unsigned char **pp,long length);ASN1_BMPSTRING * ASN1_BMPSTRING_new(void);void ASN1_BMPSTRING_free(ASN1_BMPSTRING *a);int i2d_ASN1_BMPSTRING(ASN1_BMPSTRING *a, unsigned char **pp);ASN1_BMPSTRING *d2i_ASN1_BMPSTRING(ASN1_BMPSTRING **a, unsigned char **pp, long length);int UTF8_getc(const unsigned char *str, int len, unsigned long *val);int UTF8_putc(unsigned char *str, int len, unsigned long value);int i2d_ASN1_PRINTABLE(ASN1_STRING *a,unsigned char **pp);ASN1_STRING *d2i_ASN1_PRINTABLE(ASN1_STRING **a, unsigned char **pp, long l);ASN1_PRINTABLESTRING * ASN1_PRINTABLESTRING_new(void);void ASN1_PRINTABLESTRING_free(ASN1_PRINTABLESTRING *a);ASN1_PRINTABLESTRING *d2i_ASN1_PRINTABLESTRING(ASN1_PRINTABLESTRING **a, unsigned char **pp, long l);int i2d_ASN1_PRINTABLESTRING(ASN1_PRINTABLESTRING *a, unsigned char **pp);ASN1_STRING * DIRECTORYSTRING_new(void);void DIRECTORYSTRING_free(ASN1_STRING *a);int i2d_DIRECTORYSTRING(ASN1_STRING *a,unsigned char **pp);ASN1_STRING *d2i_DIRECTORYSTRING(ASN1_STRING **a, unsigned char **pp, long length);ASN1_STRING * DISPLAYTEXT_new(void);void DISPLAYTEXT_free(ASN1_STRING *a);int i2d_DISPLAYTEXT(ASN1_STRING *a,unsigned char **pp);ASN1_STRING *d2i_DISPLAYTEXT(ASN1_STRING **a, unsigned char **pp, long length);ASN1_T61STRING * ASN1_T61STRING_new(void);void ASN1_T61STRING_free(ASN1_IA5STRING *a);ASN1_T61STRING *d2i_ASN1_T61STRING(ASN1_T61STRING **a, unsigned char **pp, long l);ASN1_IA5STRING * ASN1_IA5STRING_new(void);void ASN1_IA5STRING_free(ASN1_IA5STRING *a);int i2d_ASN1_IA5STRING(ASN1_IA5STRING *a,unsigned char **pp);ASN1_IA5STRING *d2i_ASN1_IA5STRING(ASN1_IA5STRING **a, unsigned char **pp, long l);ASN1_UTCTIME * ASN1_UTCTIME_new(void);void ASN1_UTCTIME_free(ASN1_UTCTIME *a);int i2d_ASN1_UTCTIME(ASN1_UTCTIME *a,unsigned char **pp);ASN1_UTCTIME * d2i_ASN1_UTCTIME(ASN1_UTCTIME **a,unsigned char **pp, long length);ASN1_GENERALIZEDTIME * ASN1_GENERALIZEDTIME_new(void);void ASN1_GENERALIZEDTIME_free(ASN1_GENERALIZEDTIME *a);int i2d_ASN1_GENERALIZEDTIME(ASN1_GENERALIZEDTIME *a,unsigned char **pp);ASN1_GENERALIZEDTIME * d2i_ASN1_GENERALIZEDTIME(ASN1_GENERALIZEDTIME **a,unsigned char **pp, long length);ASN1_TIME * ASN1_TIME_new(void);void ASN1_TIME_free(ASN1_TIME *a);int i2d_ASN1_TIME(ASN1_TIME *a,unsigned char **pp);ASN1_TIME * d2i_ASN1_TIME(ASN1_TIME **a,unsigned char **pp, long length);ASN1_TIME *ASN1_TIME_set(ASN1_TIME *s,time_t t);int i2d_ASN1_SET(STACK *a, unsigned char **pp, int (*func)(), int ex_tag, int ex_class, int is_set);STACK * d2i_ASN1_SET(STACK **a, unsigned char **pp, long length, char *(*func)(), void (*free_func)(void *), int ex_tag, int ex_class);#ifndef NO_BIOint i2a_ASN1_INTEGER(BIO *bp, ASN1_INTEGER *a);int a2i_ASN1_INTEGER(BIO *bp,ASN1_INTEGER *bs,char *buf,int size);int i2a_ASN1_ENUMERATED(BIO *bp, ASN1_ENUMERATED *a);int a2i_ASN1_ENUMERATED(BIO *bp,ASN1_ENUMERATED *bs,char *buf,int size);int i2a_ASN1_OBJECT(BIO *bp,ASN1_OBJECT *a);int a2i_ASN1_STRING(BIO *bp,ASN1_STRING *bs,char *buf,int size);int i2a_ASN1_STRING(BIO *bp, ASN1_STRING *a, int type);#endifint i2t_ASN1_OBJECT(char *buf,int buf_len,ASN1_OBJECT *a);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -