1asn1_bit_der(3) libtasn1 asn1_bit_der(3)
2
3
4
6 asn1_bit_der - API function
7
9 #include <libtasn1.h>
10
11 void asn1_bit_der(const unsigned char * str, int bit_len, unsigned char
12 * der, int * der_len);
13
15 const unsigned char * str
16 BIT string.
17
18 int bit_len number of meaningful bits in STR.
19
20 unsigned char * der
21 string returned.
22
23 int * der_len
24 number of meaningful bytes of DER (der[0]..der[ans_len-1]).
25
27 Creates the DER coding for a BIT STRING type (length and pad included).
28
30 Copyright © 2006 Free Software Foundation, Inc..
31 Permission is granted to make and distribute verbatim copies of this
32 manual provided the copyright notice and this permission notice are
33 preserved on all copies.
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 0.3.9 asn1_bit_der(3)