1asn1_get_object_id_der(3)          libtasn1          asn1_get_object_id_der(3)
2
3
4

NAME

6       asn1_get_object_id_der - API function
7

SYNOPSIS

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

ARGUMENTS

15       const unsigned char * der
16                   DER data to decode containing the OBJECT IDENTIFIER
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       char * str  Pre-allocated output buffer to put the  textual  object  id
24                   in.
25
26       int str_size
27                   Length of pre-allocated output buffer.
28

DESCRIPTION

30       Converts  a  DER  encoded  object  identifier to its textual form. This
31       function expects the DER object identifier without the tag.
32

RETURNS

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

SEE ALSO

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