1asn1_object_id_der(3)              libtasn1              asn1_object_id_der(3)
2
3
4

NAME

6       asn1_object_id_der - API function
7

SYNOPSIS

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

ARGUMENTS

15       const char * str
16                   An object identifier in numeric, dot format.
17
18       unsigned char * der
19                   buffer to hold the returned encoding (may be NULL).
20
21       int * der_len
22                   initially the size of  der ; will hold the final size.
23
24       unsigned flags
25                   must be zero
26

DESCRIPTION

28       Creates the DER encoding of the provided object identifier.
29

RETURNS

31       ASN1_SUCCESS if DER encoding was OK, ASN1_VALUE_NOT_VALID  if   str  is
32       not a valid OID, ASN1_MEM_ERROR if the  der vector isn't big enough and
33       in this case  der_len will contain the length needed.
34
36       Copyright © 2006-2015 Free Software Foundation, Inc..
37       Copying and distribution of this file, with  or  without  modification,
38       are  permitted  in  any  medium  without royalty provided the copyright
39       notice and this notice are preserved.
40

SEE ALSO

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