1asn1_get_octet_der(3)              libtasn1              asn1_get_octet_der(3)
2
3
4

NAME

6       asn1_get_octet_der - API function
7

SYNOPSIS

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

ARGUMENTS

15       const unsigned char * der
16                   DER data to decode containing the OCTET 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  OCTET  SEQUENCE
25                   in.
26
27       int str_size
28                   Length of pre-allocated output buffer.
29
30       int * str_len
31                   Output   variable   containing  the  length  of  the  OCTET
32                   SEQUENCE.
33

DESCRIPTION

35       Extract an OCTET SEQUENCE from DER data.
36

RETURN VALUE

38       Returns ASN1_SUCCESS on success, or an error.
39
41       Copyright © 2006, 2007, 2008, 2009 Free Software Foundation, Inc..
42       Copying and distribution of this file, with  or  without  modification,
43       are  permitted  in  any  medium  without royalty provided the copyright
44       notice and this notice are preserved.
45

SEE ALSO

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