1asn1_decode_simple_der(3)          libtasn1          asn1_decode_simple_der(3)
2
3
4

NAME

6       asn1_decode_simple_der - API function
7

SYNOPSIS

9       #include <libtasn1.h>
10
11       int  asn1_decode_simple_der(unsigned  int  etype, const unsigned char *
12       der, unsigned int _der_len, const unsigned char ** str, unsigned int  *
13       str_len);
14

ARGUMENTS

16       unsigned int etype
17                   The type of the string to be encoded (ASN1_ETYPE_)
18
19       const unsigned char * der
20                   the encoded string
21
22       unsigned int _der_len
23                   the bytes of the encoded string
24
25       const unsigned char ** str
26                   a pointer to the data
27
28       unsigned int * str_len
29                   the length of the data
30

DESCRIPTION

32       Decodes  a  simple  DER  encoded type (e.g. a string, which is not con‐
33       structed).  The output is a pointer inside the  der .
34

RETURNS

36       ASN1_SUCCESS if successful or an error value.
37
39       Copyright © 2006-2021 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 no‐
42       tice 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              https://www.gnu.org/software/libtasn1/manual/
55
56libtasn1                            4.18.0           asn1_decode_simple_der(3)
Impressum