1 typedef struct chunk_t chunk_t
;
7 extern chunk_t
asn1_wrap (chunk_t c
, ...);
8 typedef struct linked_list_t linked_list_t
;
9 chunk_t
ietfAttr_list_encode (linked_list_t
* list
);
10 extern linked_list_t
*groups
;
11 static unsigned char ASN1_group_oid_str
[] = {
14 static const chunk_t ASN1_group_oid
= {
15 ASN1_group_oid_str
, sizeof (ASN1_group_oid_str
)
18 build_attribute_type (const chunk_t type
, chunk_t content
)
23 build_attributes (void)
25 return asn1_wrap (build_attribute_type (ASN1_group_oid
,
26 ietfAttr_list_encode (groups
)));
28 void build_attr_cert (void)
30 asn1_wrap (build_attributes ());