6
#ifndef __asn1_common_definitions__
7
#define __asn1_common_definitions__
9
typedef struct heim_integer {
15
typedef struct heim_octet_string {
20
typedef char *heim_general_string;
21
typedef char *heim_utf8_string;
22
typedef char *heim_printable_string;
23
typedef char *heim_ia5_string;
25
typedef struct heim_bmp_string {
30
typedef struct heim_universal_string {
33
} heim_universal_string;
35
typedef char *heim_visible_string;
37
typedef struct heim_oid {
42
typedef struct heim_bit_string {
47
typedef struct heim_octet_string heim_any;
48
typedef struct heim_octet_string heim_any_set;
50
#define ASN1_MALLOC_ENCODE(T, B, BL, S, L, R) \
52
(BL) = length_##T((S)); \
57
(R) = encode_##T(((unsigned char*)(B)) + (BL) - 1, (BL), \