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