1asn1_get_bit_der(3)                libtasn1                asn1_get_bit_der(3)
2
3
4

NAME

6       asn1_get_bit_der - API function
7

SYNOPSIS

9       #include <libtasn1.h>
10
11       int  asn1_get_bit_der(const  unsigned  char  *  der, int der_len, int *
12       ret_len, unsigned char * str, int str_size, int * bit_len);
13

ARGUMENTS

15       const unsigned char * der
16                   DER data to decode containing the BIT SEQUENCE.
17
18       int der_len Length of DER data to decode.
19
20       int * ret_len
21                   Output variable containing the length of the DER data.
22
23       unsigned char * str
24                   Pre-allocated output buffer to put decoded BIT SEQUENCE in.
25
26       int str_size
27                   Length of pre-allocated output buffer.
28
29       int * bit_len
30                   Output variable containing the size of the BIT SEQUENCE.
31

DESCRIPTION

33       Extract a BIT SEQUENCE from DER data.
34

RETURNS

36       ASN1_SUCCESS on success, or an error.
37
39       Copyright © 2006-2015 Free Software Foundation, Inc..
40       Copying and distribution of this file, with  or  without  modification,
41       are  permitted  in  any  medium  without royalty provided the copyright
42       notice and this notice are preserved.
43

SEE ALSO

45       The full documentation for libtasn1 is maintained as a Texinfo  manual.
46       If  the info and libtasn1 programs are properly installed at your site,
47       the command
48
49              info libtasn1
50
51       should give you access to the complete manual.  As an  alternative  you
52       may obtain the manual from:
53
54              http://www.gnu.org/software/libtasn1/manual/
55
56libtasn1                              4.8                  asn1_get_bit_der(3)
Impressum