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_generalized_time (
52 const time_t */
*from*/
,
56 der_copy_heim_integer (
57 const heim_integer */
*from*/
,
58 heim_integer */
*to*/
);
62 const heim_ia5_string */
*from*/
,
63 heim_ia5_string */
*to*/
);
71 der_copy_octet_string (
72 const heim_octet_string */
*from*/
,
73 heim_octet_string */
*to*/
);
77 const heim_oid */
*from*/
,
81 der_copy_printable_string (
82 const heim_printable_string */
*from*/
,
83 heim_printable_string */
*to*/
);
86 der_copy_universal_string (
87 const heim_universal_string */
*from*/
,
88 heim_universal_string */
*to*/
);
92 const unsigned */
*from*/
,
97 const time_t */
*from*/
,
101 der_copy_utf8string (
102 const heim_utf8_string */
*from*/
,
103 heim_utf8_string */
*to*/
);
106 der_copy_visible_string (
107 const heim_visible_string */
*from*/
,
108 heim_visible_string */
*to*/
);
111 der_free_bit_string (heim_bit_string */
*k*/
);
114 der_free_bmp_string (heim_bmp_string */
*k*/
);
117 der_free_general_string (heim_general_string */
*str*/
);
120 der_free_generalized_time (time_t */
*t*/
);
123 der_free_heim_integer (heim_integer */
*k*/
);
126 der_free_ia5_string (heim_ia5_string */
*str*/
);
129 der_free_integer (int */
*i*/
);
132 der_free_octet_string (heim_octet_string */
*k*/
);
135 der_free_oid (heim_oid */
*k*/
);
138 der_free_printable_string (heim_printable_string */
*str*/
);
141 der_free_universal_string (heim_universal_string */
*k*/
);
144 der_free_unsigned (unsigned */
*u*/
);
147 der_free_utctime (time_t */
*t*/
);
150 der_free_utf8string (heim_utf8_string */
*str*/
);
153 der_free_visible_string (heim_visible_string */
*str*/
);
157 const unsigned char */
*p*/
,
159 heim_bit_string */
*data*/
,
164 const unsigned char */
*p*/
,
166 heim_bmp_string */
*data*/
,
171 const unsigned char */
*p*/
,
177 der_get_class_name (unsigned /*num*/);
180 der_get_class_num (const char */
*name*/
);
183 der_get_general_string (
184 const unsigned char */
*p*/
,
186 heim_general_string */
*str*/
,
190 der_get_generalized_time (
191 const unsigned char */
*p*/
,
197 der_get_heim_integer (
198 const unsigned char */
*p*/
,
200 heim_integer */
*data*/
,
205 const unsigned char */
*p*/
,
207 heim_ia5_string */
*str*/
,
212 const unsigned char */
*p*/
,
219 const unsigned char */
*p*/
,
225 der_get_octet_string (
226 const unsigned char */
*p*/
,
228 heim_octet_string */
*data*/
,
232 der_get_octet_string_ber (
233 const unsigned char */
*p*/
,
235 heim_octet_string */
*data*/
,
240 const unsigned char */
*p*/
,
246 der_get_printable_string (
247 const unsigned char */
*p*/
,
249 heim_printable_string */
*str*/
,
254 const unsigned char */
*p*/
,
256 Der_class */
*class*/
,
258 unsigned int */
*tag*/
,
262 der_get_tag_name (unsigned /*num*/);
265 der_get_tag_num (const char */
*name*/
);
268 der_get_type_name (unsigned /*num*/);
271 der_get_type_num (const char */
*name*/
);
274 der_get_universal_string (
275 const unsigned char */
*p*/
,
277 heim_universal_string */
*data*/
,
282 const unsigned char */
*p*/
,
289 const unsigned char */
*p*/
,
296 const unsigned char */
*p*/
,
298 heim_utf8_string */
*str*/
,
302 der_get_visible_string (
303 const unsigned char */
*p*/
,
305 heim_visible_string */
*str*/
,
309 der_heim_bit_string_cmp (
310 const heim_bit_string */
*p*/
,
311 const heim_bit_string */
*q*/
);
314 der_heim_bmp_string_cmp (
315 const heim_bmp_string */
*p*/
,
316 const heim_bmp_string */
*q*/
);
319 der_heim_integer_cmp (
320 const heim_integer */
*p*/
,
321 const heim_integer */
*q*/
);
324 der_heim_octet_string_cmp (
325 const heim_octet_string */
*p*/
,
326 const heim_octet_string */
*q*/
);
330 const heim_oid */
*p*/
,
331 const heim_oid */
*q*/
);
334 der_heim_universal_string_cmp (
335 const heim_universal_string */
*p*/
,
336 const heim_universal_string */
*q*/
);
340 const heim_ia5_string */
*p*/
,
341 const heim_ia5_string */
*q*/
);
344 der_length_bit_string (const heim_bit_string */
*k*/
);
347 der_length_bmp_string (const heim_bmp_string */
*data*/
);
350 der_length_boolean (const int */
*k*/
);
353 der_length_enumerated (const unsigned */
*data*/
);
356 der_length_general_string (const heim_general_string */
*data*/
);
359 der_length_generalized_time (const time_t */
*t*/
);
362 der_length_heim_integer (const heim_integer */
*k*/
);
365 der_length_ia5_string (const heim_ia5_string */
*data*/
);
368 der_length_integer (const int */
*data*/
);
371 der_length_len (size_t /*len*/);
374 der_length_octet_string (const heim_octet_string */
*k*/
);
377 der_length_oid (const heim_oid */
*k*/
);
380 der_length_printable_string (const heim_printable_string */
*data*/
);
383 der_length_tag (unsigned int /*tag*/);
386 der_length_universal_string (const heim_universal_string */
*data*/
);
389 der_length_unsigned (const unsigned */
*data*/
);
392 der_length_utctime (const time_t */
*t*/
);
395 der_length_utf8string (const heim_utf8_string */
*data*/
);
398 der_length_visible_string (const heim_visible_string */
*data*/
);
402 const unsigned char */
*p*/
,
406 unsigned int /*tag*/,
411 const unsigned char */
*p*/
,
415 unsigned int /*tag*/,
419 der_match_tag_and_length (
420 const unsigned char */
*p*/
,
424 unsigned int /*tag*/,
425 size_t */
*length_ret*/
,
435 der_parse_hex_heim_integer (
437 heim_integer */
*data*/
);
441 const heim_oid */
*oid*/
,
446 der_print_hex_heim_integer (
447 const heim_integer */
*data*/
,
451 der_printable_string_cmp (
452 const heim_printable_string */
*p*/
,
453 const heim_printable_string */
*q*/
);
457 unsigned char */
*p*/
,
459 const heim_bit_string */
*data*/
,
464 unsigned char */
*p*/
,
466 const heim_bmp_string */
*data*/
,
471 unsigned char */
*p*/
,
477 der_put_general_string (
478 unsigned char */
*p*/
,
480 const heim_general_string */
*str*/
,
484 der_put_generalized_time (
485 unsigned char */
*p*/
,
487 const time_t */
*data*/
,
491 der_put_heim_integer (
492 unsigned char */
*p*/
,
494 const heim_integer */
*data*/
,
499 unsigned char */
*p*/
,
501 const heim_ia5_string */
*str*/
,
506 unsigned char */
*p*/
,
513 unsigned char */
*p*/
,
519 der_put_length_and_tag (
520 unsigned char */
*p*/
,
525 unsigned int /*tag*/,
529 der_put_octet_string (
530 unsigned char */
*p*/
,
532 const heim_octet_string */
*data*/
,
537 unsigned char */
*p*/
,
539 const heim_oid */
*data*/
,
543 der_put_printable_string (
544 unsigned char */
*p*/
,
546 const heim_printable_string */
*str*/
,
551 unsigned char */
*p*/
,
555 unsigned int /*tag*/,
559 der_put_universal_string (
560 unsigned char */
*p*/
,
562 const heim_universal_string */
*data*/
,
567 unsigned char */
*p*/
,
569 const unsigned */
*v*/
,
574 unsigned char */
*p*/
,
576 const time_t */
*data*/
,
581 unsigned char */
*p*/
,
583 const heim_utf8_string */
*str*/
,
587 der_put_visible_string (
588 unsigned char */
*p*/
,
590 const heim_visible_string */
*str*/
,
595 unsigned char */
*p*/
,
597 const heim_any */
*data*/
,
601 encode_heim_any_set (
602 unsigned char */
*p*/
,
604 const heim_any_set */
*data*/
,
608 free_heim_any (heim_any */
*data*/
);
611 free_heim_any_set (heim_any_set */
*data*/
);
615 const heim_any_set */
*p*/
,
616 const heim_any_set */
*q*/
);
619 length_heim_any (const heim_any */
*data*/
);
622 length_heim_any_set (const heim_any */
*data*/
);
628 #endif /* __der_protos_h__ */