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       Return ASN1_SUCCESS on success, or an error.
37
39       Copyright © 2006, 2007, 2008,  2009,  2010  Free  Software  Foundation,
40       Inc..
41       Copying  and  distribution  of this file, with or without modification,
42       are permitted in any medium  without  royalty  provided  the  copyright
43       notice and this notice are preserved.
44

SEE ALSO

46       The  full documentation for libtasn1 is maintained as a Texinfo manual.
47       If the info and libtasn1 programs are properly installed at your  site,
48       the command
49
50              info libtasn1
51
52       should give you access to the complete manual.
53
54
55
56libtasn1                              2.7                  asn1_get_bit_der(3)
Impressum