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

RETURNS

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

SEE ALSO

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