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 Free Software Foundation, Inc..
30 Permission is granted to make and distribute verbatim copies of this
31 manual provided the copyright notice and this permission notice are
32 preserved on all copies.
33
35 The full documentation for libtasn1 is maintained as a Texinfo manual.
36 If the info and libtasn1 programs are properly installed at your site,
37 the command
38
39 info libtasn1
40
41 should give you access to the complete manual.
42
43
44
45libtasn1 0.3.9 asn1_length_der(3)