1 /* This is a generated file */
2 #ifndef __der_protos_h__
3 #define __der_protos_h__
13 const heim_any */
*from*/
,
18 const heim_any_set */
*from*/
,
19 heim_any_set */
*to*/
);
23 const unsigned char */
*p*/
,
30 const unsigned char */
*p*/
,
32 heim_any_set */
*data*/
,
37 const heim_bit_string */
*from*/
,
38 heim_bit_string */
*to*/
);
42 const heim_bmp_string */
*from*/
,
43 heim_bmp_string */
*to*/
);
46 der_copy_general_string (
47 const heim_general_string */
*from*/
,
48 heim_general_string */
*to*/
);
51 der_copy_heim_integer (
52 const heim_integer */
*from*/
,
53 heim_integer */
*to*/
);
57 const heim_printable_string */
*from*/
,
58 heim_printable_string */
*to*/
);
61 der_copy_octet_string (
62 const heim_octet_string */
*from*/
,
63 heim_octet_string */
*to*/
);
67 const heim_oid */
*from*/
,
71 der_copy_printable_string (
72 const heim_printable_string */
*from*/
,
73 heim_printable_string */
*to*/
);
76 der_copy_universal_string (
77 const heim_universal_string */
*from*/
,
78 heim_universal_string */
*to*/
);
82 const heim_utf8_string */
*from*/
,
83 heim_utf8_string */
*to*/
);
86 der_copy_visible_string (
87 const heim_visible_string */
*from*/
,
88 heim_visible_string */
*to*/
);
91 der_free_bit_string (heim_bit_string */
*k*/
);
94 der_free_bmp_string (heim_bmp_string */
*k*/
);
97 der_free_general_string (heim_general_string */
*str*/
);
100 der_free_heim_integer (heim_integer */
*k*/
);
103 der_free_ia5_string (heim_ia5_string */
*str*/
);
106 der_free_octet_string (heim_octet_string */
*k*/
);
109 der_free_oid (heim_oid */
*k*/
);
112 der_free_printable_string (heim_printable_string */
*str*/
);
115 der_free_universal_string (heim_universal_string */
*k*/
);
118 der_free_utf8string (heim_utf8_string */
*str*/
);
121 der_free_visible_string (heim_visible_string */
*str*/
);
125 const unsigned char */
*p*/
,
127 heim_bit_string */
*data*/
,
132 const unsigned char */
*p*/
,
134 heim_bmp_string */
*data*/
,
139 const unsigned char */
*p*/
,
145 der_get_class_name (unsigned /*num*/);
148 der_get_class_num (const char */
*name*/
);
151 der_get_general_string (
152 const unsigned char */
*p*/
,
154 heim_general_string */
*str*/
,
158 der_get_generalized_time (
159 const unsigned char */
*p*/
,
165 der_get_heim_integer (
166 const unsigned char */
*p*/
,
168 heim_integer */
*data*/
,
173 const unsigned char */
*p*/
,
175 heim_ia5_string */
*str*/
,
180 const unsigned char */
*p*/
,
187 const unsigned char */
*p*/
,
193 der_get_octet_string (
194 const unsigned char */
*p*/
,
196 heim_octet_string */
*data*/
,
201 const unsigned char */
*p*/
,
207 der_get_printable_string (
208 const unsigned char */
*p*/
,
210 heim_printable_string */
*str*/
,
215 const unsigned char */
*p*/
,
217 Der_class */
*class*/
,
219 unsigned int */
*tag*/
,
223 der_get_tag_name (unsigned /*num*/);
226 der_get_tag_num (const char */
*name*/
);
229 der_get_type_name (unsigned /*num*/);
232 der_get_type_num (const char */
*name*/
);
235 der_get_universal_string (
236 const unsigned char */
*p*/
,
238 heim_universal_string */
*data*/
,
243 const unsigned char */
*p*/
,
250 const unsigned char */
*p*/
,
257 const unsigned char */
*p*/
,
259 heim_utf8_string */
*str*/
,
263 der_get_visible_string (
264 const unsigned char */
*p*/
,
266 heim_visible_string */
*str*/
,
270 der_heim_bit_string_cmp (
271 const heim_bit_string */
*p*/
,
272 const heim_bit_string */
*q*/
);
275 der_heim_bmp_string_cmp (
276 const heim_bmp_string */
*p*/
,
277 const heim_bmp_string */
*q*/
);
280 der_heim_integer_cmp (
281 const heim_integer */
*p*/
,
282 const heim_integer */
*q*/
);
285 der_heim_octet_string_cmp (
286 const heim_octet_string */
*p*/
,
287 const heim_octet_string */
*q*/
);
291 const heim_oid */
*p*/
,
292 const heim_oid */
*q*/
);
295 der_heim_universal_string_cmp (
296 const heim_universal_string */
*p*/
,
297 const heim_universal_string */
*q*/
);
300 der_length_bit_string (const heim_bit_string */
*k*/
);
303 der_length_bmp_string (const heim_bmp_string */
*data*/
);
306 der_length_boolean (const int */
*k*/
);
309 der_length_enumerated (const unsigned */
*data*/
);
312 der_length_general_string (const heim_general_string */
*data*/
);
315 der_length_generalized_time (const time_t */
*t*/
);
318 der_length_heim_integer (const heim_integer */
*k*/
);
321 der_length_ia5_string (const heim_ia5_string */
*data*/
);
324 der_length_integer (const int */
*data*/
);
327 der_length_len (size_t /*len*/);
330 der_length_octet_string (const heim_octet_string */
*k*/
);
333 der_length_oid (const heim_oid */
*k*/
);
336 der_length_printable_string (const heim_printable_string */
*data*/
);
339 der_length_universal_string (const heim_universal_string */
*data*/
);
342 der_length_unsigned (const unsigned */
*data*/
);
345 der_length_utctime (const time_t */
*t*/
);
348 der_length_utf8string (const heim_utf8_string */
*data*/
);
351 der_length_visible_string (const heim_visible_string */
*data*/
);
355 const unsigned char */
*p*/
,
359 unsigned int /*tag*/,
363 der_match_tag_and_length (
364 const unsigned char */
*p*/
,
368 unsigned int /*tag*/,
369 size_t */
*length_ret*/
,
379 der_parse_hex_heim_integer (
381 heim_integer */
*data*/
);
385 const heim_oid */
*oid*/
,
390 der_print_hex_heim_integer (
391 const heim_integer */
*data*/
,
396 unsigned char */
*p*/
,
398 const heim_bit_string */
*data*/
,
403 unsigned char */
*p*/
,
405 const heim_bmp_string */
*data*/
,
410 unsigned char */
*p*/
,
416 der_put_general_string (
417 unsigned char */
*p*/
,
419 const heim_general_string */
*str*/
,
423 der_put_generalized_time (
424 unsigned char */
*p*/
,
426 const time_t */
*data*/
,
430 der_put_heim_integer (
431 unsigned char */
*p*/
,
433 const heim_integer */
*data*/
,
438 unsigned char */
*p*/
,
440 const heim_ia5_string */
*str*/
,
445 unsigned char */
*p*/
,
452 unsigned char */
*p*/
,
458 der_put_length_and_tag (
459 unsigned char */
*p*/
,
464 unsigned int /*tag*/,
468 der_put_octet_string (
469 unsigned char */
*p*/
,
471 const heim_octet_string */
*data*/
,
476 unsigned char */
*p*/
,
478 const heim_oid */
*data*/
,
482 der_put_printable_string (
483 unsigned char */
*p*/
,
485 const heim_printable_string */
*str*/
,
490 unsigned char */
*p*/
,
494 unsigned int /*tag*/,
498 der_put_universal_string (
499 unsigned char */
*p*/
,
501 const heim_universal_string */
*data*/
,
506 unsigned char */
*p*/
,
508 const unsigned */
*v*/
,
513 unsigned char */
*p*/
,
515 const time_t */
*data*/
,
520 unsigned char */
*p*/
,
522 const heim_utf8_string */
*str*/
,
526 der_put_visible_string (
527 unsigned char */
*p*/
,
529 const heim_visible_string */
*str*/
,
534 unsigned char */
*p*/
,
536 const heim_any */
*data*/
,
540 encode_heim_any_set (
541 unsigned char */
*p*/
,
543 const heim_any_set */
*data*/
,
547 free_heim_any (heim_any */
*data*/
);
550 free_heim_any_set (heim_any_set */
*data*/
);
554 const heim_any_set */
*p*/
,
555 const heim_any_set */
*q*/
);
558 length_heim_any (const heim_any */
*data*/
);
561 length_heim_any_set (const heim_any */
*data*/
);
567 #endif /* __der_protos_h__ */