xref: /freebsd/crypto/heimdal/lib/asn1/der-private.h (revision 5ca8e32633c4ffbbcd6762e5888b6a4ba0708c6c)
1 /* This is a generated file */
2 #ifndef __der_private_h__
3 #define __der_private_h__
4 
5 #include <stdarg.h>
6 
7 int
8 _asn1_copy (
9 	const struct asn1_template */*t*/,
10 	const void */*from*/,
11 	void */*to*/);
12 
13 int
14 _asn1_copy_top (
15 	const struct asn1_template */*t*/,
16 	const void */*from*/,
17 	void */*to*/);
18 
19 int
20 _asn1_decode (
21 	const struct asn1_template */*t*/,
22 	unsigned /*flags*/,
23 	const unsigned char */*p*/,
24 	size_t /*len*/,
25 	void */*data*/,
26 	size_t */*size*/);
27 
28 int
29 _asn1_decode_top (
30 	const struct asn1_template */*t*/,
31 	unsigned /*flags*/,
32 	const unsigned char */*p*/,
33 	size_t /*len*/,
34 	void */*data*/,
35 	size_t */*size*/);
36 
37 int
38 _asn1_encode (
39 	const struct asn1_template */*t*/,
40 	unsigned char */*p*/,
41 	size_t /*len*/,
42 	const void */*data*/,
43 	size_t */*size*/);
44 
45 void
46 _asn1_free (
47 	const struct asn1_template */*t*/,
48 	void */*data*/);
49 
50 size_t
51 _asn1_length (
52 	const struct asn1_template */*t*/,
53 	const void */*data*/);
54 
55 struct tm *
56 _der_gmtime (
57 	time_t /*t*/,
58 	struct tm */*tm*/);
59 
60 int
61 _heim_der_set_sort (
62 	const void */*a1*/,
63 	const void */*a2*/);
64 
65 int
66 _heim_fix_dce (
67 	size_t /*reallen*/,
68 	size_t */*len*/);
69 
70 size_t
71 _heim_len_int (int /*val*/);
72 
73 size_t
74 _heim_len_unsigned (unsigned /*val*/);
75 
76 int
77 _heim_time2generalizedtime (
78 	time_t /*t*/,
79 	heim_octet_string */*s*/,
80 	int /*gtimep*/);
81 
82 #endif /* __der_private_h__ */
83