Remove building with NOCRYPTO option
[minix.git] / crypto / external / bsd / heimdal / include / der-protos.h
blob3b3d81d175fb04d55f4793f2747e119fb6a55f2f
1 /* This is a generated file */
2 #ifndef __der_protos_h__
3 #define __der_protos_h__
5 #include <stdarg.h>
7 #ifdef __cplusplus
8 extern "C" {
9 #endif
11 int
12 copy_heim_any (
13 const heim_any */*from*/,
14 heim_any */*to*/);
16 int
17 copy_heim_any_set (
18 const heim_any_set */*from*/,
19 heim_any_set */*to*/);
21 int
22 decode_heim_any (
23 const unsigned char */*p*/,
24 size_t /*len*/,
25 heim_any */*data*/,
26 size_t */*size*/);
28 int
29 decode_heim_any_set (
30 const unsigned char */*p*/,
31 size_t /*len*/,
32 heim_any_set */*data*/,
33 size_t */*size*/);
35 int
36 der_copy_bit_string (
37 const heim_bit_string */*from*/,
38 heim_bit_string */*to*/);
40 int
41 der_copy_bmp_string (
42 const heim_bmp_string */*from*/,
43 heim_bmp_string */*to*/);
45 int
46 der_copy_general_string (
47 const heim_general_string */*from*/,
48 heim_general_string */*to*/);
50 int
51 der_copy_generalized_time (
52 const time_t */*from*/,
53 time_t */*to*/);
55 int
56 der_copy_heim_integer (
57 const heim_integer */*from*/,
58 heim_integer */*to*/);
60 int
61 der_copy_ia5_string (
62 const heim_ia5_string */*from*/,
63 heim_ia5_string */*to*/);
65 int
66 der_copy_integer (
67 const int */*from*/,
68 int */*to*/);
70 int
71 der_copy_octet_string (
72 const heim_octet_string */*from*/,
73 heim_octet_string */*to*/);
75 int
76 der_copy_oid (
77 const heim_oid */*from*/,
78 heim_oid */*to*/);
80 int
81 der_copy_printable_string (
82 const heim_printable_string */*from*/,
83 heim_printable_string */*to*/);
85 int
86 der_copy_universal_string (
87 const heim_universal_string */*from*/,
88 heim_universal_string */*to*/);
90 int
91 der_copy_unsigned (
92 const unsigned */*from*/,
93 unsigned */*to*/);
95 int
96 der_copy_utctime (
97 const time_t */*from*/,
98 time_t */*to*/);
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*/);
110 void
111 der_free_bit_string (heim_bit_string */*k*/);
113 void
114 der_free_bmp_string (heim_bmp_string */*k*/);
116 void
117 der_free_general_string (heim_general_string */*str*/);
119 void
120 der_free_generalized_time (time_t */*t*/);
122 void
123 der_free_heim_integer (heim_integer */*k*/);
125 void
126 der_free_ia5_string (heim_ia5_string */*str*/);
128 void
129 der_free_integer (int */*i*/);
131 void
132 der_free_octet_string (heim_octet_string */*k*/);
134 void
135 der_free_oid (heim_oid */*k*/);
137 void
138 der_free_printable_string (heim_printable_string */*str*/);
140 void
141 der_free_universal_string (heim_universal_string */*k*/);
143 void
144 der_free_unsigned (unsigned */*u*/);
146 void
147 der_free_utctime (time_t */*t*/);
149 void
150 der_free_utf8string (heim_utf8_string */*str*/);
152 void
153 der_free_visible_string (heim_visible_string */*str*/);
156 der_get_bit_string (
157 const unsigned char */*p*/,
158 size_t /*len*/,
159 heim_bit_string */*data*/,
160 size_t */*size*/);
163 der_get_bmp_string (
164 const unsigned char */*p*/,
165 size_t /*len*/,
166 heim_bmp_string */*data*/,
167 size_t */*size*/);
170 der_get_boolean (
171 const unsigned char */*p*/,
172 size_t /*len*/,
173 int */*data*/,
174 size_t */*size*/);
176 const char *
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*/,
185 size_t /*len*/,
186 heim_general_string */*str*/,
187 size_t */*size*/);
190 der_get_generalized_time (
191 const unsigned char */*p*/,
192 size_t /*len*/,
193 time_t */*data*/,
194 size_t */*size*/);
197 der_get_heim_integer (
198 const unsigned char */*p*/,
199 size_t /*len*/,
200 heim_integer */*data*/,
201 size_t */*size*/);
204 der_get_ia5_string (
205 const unsigned char */*p*/,
206 size_t /*len*/,
207 heim_ia5_string */*str*/,
208 size_t */*size*/);
211 der_get_integer (
212 const unsigned char */*p*/,
213 size_t /*len*/,
214 int */*ret*/,
215 size_t */*size*/);
218 der_get_length (
219 const unsigned char */*p*/,
220 size_t /*len*/,
221 size_t */*val*/,
222 size_t */*size*/);
225 der_get_octet_string (
226 const unsigned char */*p*/,
227 size_t /*len*/,
228 heim_octet_string */*data*/,
229 size_t */*size*/);
232 der_get_octet_string_ber (
233 const unsigned char */*p*/,
234 size_t /*len*/,
235 heim_octet_string */*data*/,
236 size_t */*size*/);
239 der_get_oid (
240 const unsigned char */*p*/,
241 size_t /*len*/,
242 heim_oid */*data*/,
243 size_t */*size*/);
246 der_get_printable_string (
247 const unsigned char */*p*/,
248 size_t /*len*/,
249 heim_printable_string */*str*/,
250 size_t */*size*/);
253 der_get_tag (
254 const unsigned char */*p*/,
255 size_t /*len*/,
256 Der_class */*class*/,
257 Der_type */*type*/,
258 unsigned int */*tag*/,
259 size_t */*size*/);
261 const char *
262 der_get_tag_name (unsigned /*num*/);
265 der_get_tag_num (const char */*name*/);
267 const char *
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*/,
276 size_t /*len*/,
277 heim_universal_string */*data*/,
278 size_t */*size*/);
281 der_get_unsigned (
282 const unsigned char */*p*/,
283 size_t /*len*/,
284 unsigned */*ret*/,
285 size_t */*size*/);
288 der_get_utctime (
289 const unsigned char */*p*/,
290 size_t /*len*/,
291 time_t */*data*/,
292 size_t */*size*/);
295 der_get_utf8string (
296 const unsigned char */*p*/,
297 size_t /*len*/,
298 heim_utf8_string */*str*/,
299 size_t */*size*/);
302 der_get_visible_string (
303 const unsigned char */*p*/,
304 size_t /*len*/,
305 heim_visible_string */*str*/,
306 size_t */*size*/);
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*/);
329 der_heim_oid_cmp (
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*/);
339 der_ia5_string_cmp (
340 const heim_ia5_string */*p*/,
341 const heim_ia5_string */*q*/);
343 size_t
344 der_length_bit_string (const heim_bit_string */*k*/);
346 size_t
347 der_length_bmp_string (const heim_bmp_string */*data*/);
349 size_t
350 der_length_boolean (const int */*k*/);
352 size_t
353 der_length_enumerated (const unsigned */*data*/);
355 size_t
356 der_length_general_string (const heim_general_string */*data*/);
358 size_t
359 der_length_generalized_time (const time_t */*t*/);
361 size_t
362 der_length_heim_integer (const heim_integer */*k*/);
364 size_t
365 der_length_ia5_string (const heim_ia5_string */*data*/);
367 size_t
368 der_length_integer (const int */*data*/);
370 size_t
371 der_length_len (size_t /*len*/);
373 size_t
374 der_length_octet_string (const heim_octet_string */*k*/);
376 size_t
377 der_length_oid (const heim_oid */*k*/);
379 size_t
380 der_length_printable_string (const heim_printable_string */*data*/);
382 size_t
383 der_length_tag (unsigned int /*tag*/);
385 size_t
386 der_length_universal_string (const heim_universal_string */*data*/);
388 size_t
389 der_length_unsigned (const unsigned */*data*/);
391 size_t
392 der_length_utctime (const time_t */*t*/);
394 size_t
395 der_length_utf8string (const heim_utf8_string */*data*/);
397 size_t
398 der_length_visible_string (const heim_visible_string */*data*/);
401 der_match_tag (
402 const unsigned char */*p*/,
403 size_t /*len*/,
404 Der_class /*class*/,
405 Der_type /*type*/,
406 unsigned int /*tag*/,
407 size_t */*size*/);
410 der_match_tag2 (
411 const unsigned char */*p*/,
412 size_t /*len*/,
413 Der_class /*class*/,
414 Der_type */*type*/,
415 unsigned int /*tag*/,
416 size_t */*size*/);
419 der_match_tag_and_length (
420 const unsigned char */*p*/,
421 size_t /*len*/,
422 Der_class /*class*/,
423 Der_type */*type*/,
424 unsigned int /*tag*/,
425 size_t */*length_ret*/,
426 size_t */*size*/);
429 der_parse_heim_oid (
430 const char */*str*/,
431 const char */*sep*/,
432 heim_oid */*data*/);
435 der_parse_hex_heim_integer (
436 const char */*p*/,
437 heim_integer */*data*/);
440 der_print_heim_oid (
441 const heim_oid */*oid*/,
442 char /*delim*/,
443 char **/*str*/);
446 der_print_hex_heim_integer (
447 const heim_integer */*data*/,
448 char **/*p*/);
451 der_printable_string_cmp (
452 const heim_printable_string */*p*/,
453 const heim_printable_string */*q*/);
456 der_put_bit_string (
457 unsigned char */*p*/,
458 size_t /*len*/,
459 const heim_bit_string */*data*/,
460 size_t */*size*/);
463 der_put_bmp_string (
464 unsigned char */*p*/,
465 size_t /*len*/,
466 const heim_bmp_string */*data*/,
467 size_t */*size*/);
470 der_put_boolean (
471 unsigned char */*p*/,
472 size_t /*len*/,
473 const int */*data*/,
474 size_t */*size*/);
477 der_put_general_string (
478 unsigned char */*p*/,
479 size_t /*len*/,
480 const heim_general_string */*str*/,
481 size_t */*size*/);
484 der_put_generalized_time (
485 unsigned char */*p*/,
486 size_t /*len*/,
487 const time_t */*data*/,
488 size_t */*size*/);
491 der_put_heim_integer (
492 unsigned char */*p*/,
493 size_t /*len*/,
494 const heim_integer */*data*/,
495 size_t */*size*/);
498 der_put_ia5_string (
499 unsigned char */*p*/,
500 size_t /*len*/,
501 const heim_ia5_string */*str*/,
502 size_t */*size*/);
505 der_put_integer (
506 unsigned char */*p*/,
507 size_t /*len*/,
508 const int */*v*/,
509 size_t */*size*/);
512 der_put_length (
513 unsigned char */*p*/,
514 size_t /*len*/,
515 size_t /*val*/,
516 size_t */*size*/);
519 der_put_length_and_tag (
520 unsigned char */*p*/,
521 size_t /*len*/,
522 size_t /*len_val*/,
523 Der_class /*class*/,
524 Der_type /*type*/,
525 unsigned int /*tag*/,
526 size_t */*size*/);
529 der_put_octet_string (
530 unsigned char */*p*/,
531 size_t /*len*/,
532 const heim_octet_string */*data*/,
533 size_t */*size*/);
536 der_put_oid (
537 unsigned char */*p*/,
538 size_t /*len*/,
539 const heim_oid */*data*/,
540 size_t */*size*/);
543 der_put_printable_string (
544 unsigned char */*p*/,
545 size_t /*len*/,
546 const heim_printable_string */*str*/,
547 size_t */*size*/);
550 der_put_tag (
551 unsigned char */*p*/,
552 size_t /*len*/,
553 Der_class /*class*/,
554 Der_type /*type*/,
555 unsigned int /*tag*/,
556 size_t */*size*/);
559 der_put_universal_string (
560 unsigned char */*p*/,
561 size_t /*len*/,
562 const heim_universal_string */*data*/,
563 size_t */*size*/);
566 der_put_unsigned (
567 unsigned char */*p*/,
568 size_t /*len*/,
569 const unsigned */*v*/,
570 size_t */*size*/);
573 der_put_utctime (
574 unsigned char */*p*/,
575 size_t /*len*/,
576 const time_t */*data*/,
577 size_t */*size*/);
580 der_put_utf8string (
581 unsigned char */*p*/,
582 size_t /*len*/,
583 const heim_utf8_string */*str*/,
584 size_t */*size*/);
587 der_put_visible_string (
588 unsigned char */*p*/,
589 size_t /*len*/,
590 const heim_visible_string */*str*/,
591 size_t */*size*/);
594 encode_heim_any (
595 unsigned char */*p*/,
596 size_t /*len*/,
597 const heim_any */*data*/,
598 size_t */*size*/);
601 encode_heim_any_set (
602 unsigned char */*p*/,
603 size_t /*len*/,
604 const heim_any_set */*data*/,
605 size_t */*size*/);
607 void
608 free_heim_any (heim_any */*data*/);
610 void
611 free_heim_any_set (heim_any_set */*data*/);
614 heim_any_cmp (
615 const heim_any_set */*p*/,
616 const heim_any_set */*q*/);
618 size_t
619 length_heim_any (const heim_any */*data*/);
621 size_t
622 length_heim_any_set (const heim_any */*data*/);
624 #ifdef __cplusplus
626 #endif
628 #endif /* __der_protos_h__ */