1asn1_bit_der(3)                    libtasn1                    asn1_bit_der(3)
2
3
4

NAME

6       asn1_bit_der - API function
7

SYNOPSIS

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

ARGUMENTS

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

DESCRIPTION

27       Creates the DER coding for a BIT STRING type (length and pad included).
28
30       Copyright © 2006, 2007, 2008, 2009 Free Software Foundation, 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

SEE ALSO

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.3                      asn1_bit_der(3)
Impressum