1 .\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
2 .TH "asn1_get_bit_der" 3 "2.7" "libtasn1" "libtasn1"
4 asn1_get_bit_der \- API function
6 .B #include <libtasn1.h>
8 .BI "int asn1_get_bit_der(const unsigned char * " der ", int " der_len ", int * " ret_len ", unsigned char * " str ", int " str_size ", int * " bit_len ");"
10 .IP "const unsigned char * der" 12
11 DER data to decode containing the BIT SEQUENCE.
13 Length of DER data to decode.
14 .IP "int * ret_len" 12
15 Output variable containing the length of the DER data.
16 .IP "unsigned char * str" 12
17 Pre\-allocated output buffer to put decoded BIT SEQUENCE in.
19 Length of pre\-allocated output buffer.
20 .IP "int * bit_len" 12
21 Output variable containing the size of the BIT SEQUENCE.
23 Extract a BIT SEQUENCE from DER data.
25 Return \fBASN1_SUCCESS\fP on success, or an error.
27 Copyright \(co 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc..
29 Copying and distribution of this file, with or without modification,
30 are permitted in any medium without royalty provided the copyright
31 notice and this notice are preserved.
33 The full documentation for
35 is maintained as a Texinfo manual. If the
39 programs are properly installed at your site, the command
43 should give you access to the complete manual.