1asn1_length_der(3) libtasn1 asn1_length_der(3)
2
3
4
6 asn1_length_der - API function
7
9 #include <libtasn1.h>
10
11 void asn1_length_der(unsigned long int len, unsigned char * ans, int *
12 ans_len);
13
15 unsigned long int len
16 value to convert.
17
18 unsigned char * ans
19 string returned.
20
21 int * ans_len
22 number of meaningful bytes of ANS (ans[0]..ans[ans_len-1]).
23
25 Creates the DER coding for the LEN parameter (only the length). The
26 ans buffer is pre-allocated and must have room for the output.
27
29 Copyright © 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
30 Inc..
31 Copying and distribution of this file, with or without modification,
32 are permitted in any medium without royalty provided the copyright
33 notice and this notice are preserved.
34
36 The full documentation for libtasn1 is maintained as a Texinfo manual.
37 If the info and libtasn1 programs are properly installed at your site,
38 the command
39
40 info libtasn1
41
42 should give you access to the complete manual.
43
44
45
46libtasn1 2.7 asn1_length_der(3)