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,  2010  Free  Software  Foundation,
31       Inc..
32       Copying  and  distribution  of this file, with or without modification,
33       are permitted in any medium  without  royalty  provided  the  copyright
34       notice and this notice are preserved.
35

SEE ALSO

37       The  full documentation for libtasn1 is maintained as a Texinfo manual.
38       If the info and libtasn1 programs are properly installed at your  site,
39       the command
40
41              info libtasn1
42
43       should give you access to the complete manual.
44
45
46
47libtasn1                              2.7                      asn1_bit_der(3)
Impressum