12 #define ASN1_JSON_NULL "null"
13 #define ASN1_JSON_EMPTY "{}"
15 #define ASN1_OID_LEN 64
18 #define ASN1_CLASS 0xC0
19 #define ASN1_FORM 0x20
21 #define ASN1_LENLONG 0x80
22 #define ASN1_LENSHORT 0x7F
25 #define CLASS_UNIVERSAL 0x00
26 #define CLASS_APPLICATION 0x40
27 #define CLASS_CONTEXT 0x80
28 #define CLASS_PRIVATE 0xC0
31 #define FORM_PRIMITIVE 0x00
32 #define FORM_CONSTRUCTED 0x20
36 #define TAG_BOOLEAN 0x01
37 #define TAG_INTEGER 0x02
38 #define TAG_BITSTRING 0x03
39 #define TAG_OCTETSTRING 0x04
42 #define TAG_OBJDESCRIPTOR 0x07
43 #define TAG_EXTERNAL 0x08
45 #define TAG_ENUMERATED 0x0A
46 #define TAG_EMBEDDED_PDV 0x0B
47 #define TAG_UTF8STRING 0x0C
48 #define TAG_SEQUENCE 0x10
50 #define TAG_NUMERICSTRING 0x12
51 #define TAG_PRINTABLESTRING 0x13
52 #define TAG_T61STRING 0x14
53 #define TAG_VIDEOTEXSTRING 0x15
54 #define TAG_IA5STRING 0x16
55 #define TAG_UTCTIME 0x17
56 #define TAG_GENERALIZEDTIME 0x18
57 #define TAG_GRAPHICSTRING 0x19
58 #define TAG_VISIBLESTRING 0x1A
59 #define TAG_GENERALSTRING 0x1B
60 #define TAG_UNIVERSALSTRING 0x1C
61 #define TAG_BMPSTRING 0x1E
static static sync static getppid static getegid const char static filename char static len const char char static bufsiz static mask static vfork const void static prot static getpgrp const char static swapflags static arg static fd static protocol static who struct sockaddr static addrlen static backlog struct timeval struct timezone static tz const struct iovec static count static mode const void const struct sockaddr static tolen const char static pathname void static offset struct stat static buf void long static basep static whence static length const void static len static semflg const void static shmflg const struct timespec struct timespec static rem const char static group const void length
RZ_API char * rz_asn1_to_string(RASN1Object *object, ut32 depth, RzStrBuf *sb)
RZ_API void rz_asn1_free_object(RASN1Object *object)
RZ_API void rz_asn1_free_string(RASN1String *string)
RZ_API void rz_asn1_free_binary(RASN1Binary *string)
RZ_API void asn1_setformat(int fmt)
RZ_API RASN1String * rz_asn1_stringify_time(const ut8 *buffer, ut32 length)
RZ_API RASN1Binary * rz_asn1_create_binary(const ut8 *buffer, ut32 length)
struct rz_asn1_string_t RASN1String
struct rz_asn1_bin_t RASN1Binary
RZ_API RASN1String * rz_asn1_stringify_integer(const ut8 *buffer, ut32 length)
RZ_API RASN1String * rz_asn1_stringify_bits(const ut8 *buffer, ut32 length)
RZ_API RASN1Object * rz_asn1_create_object(const ut8 *buffer, ut32 length, const ut8 *start_pointer)
RZ_API RASN1String * rz_asn1_create_string(const char *string, bool allocated, ut32 length)
RZ_API RASN1String * rz_asn1_stringify_utctime(const ut8 *buffer, ut32 length)
RZ_API RASN1String * rz_asn1_stringify_bytes(const ut8 *buffer, ut32 length)
RZ_API RASN1String * rz_asn1_stringify_oid(const ut8 *buffer, ut32 length)
struct rz_asn1_object_t RASN1Object
RZ_API RASN1String * rz_asn1_stringify_boolean(const ut8 *buffer, ut32 length)
struct rz_asn1_list_t ASN1List
RZ_API RASN1String * rz_asn1_stringify_string(const ut8 *buffer, ut32 length)
struct rz_asn1_object_t ** objects
ut64(WINAPI *w32_GetEnabledXStateFeatures)()