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 Free Software Foundation, Inc..
30 Copying and distribution of this file, with or without modification,
31 are permitted in any medium without royalty provided the copyright
32 notice and this notice are preserved.
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 2.3 asn1_length_der(3)