1asn1_der_coding(3) libtasn1 asn1_der_coding(3)
2
3
4
6 asn1_der_coding - API function
7
9 #include <libtasn1.h>
10
11 asn1_retCode asn1_der_coding(ASN1_TYPE element, const char * name, void
12 * ider, int * len, char * ErrorDescription);
13
15 ASN1_TYPE element
16 pointer to an ASN1 element
17
18 const char * name
19 the name of the structure you want to encode (it must be
20 inside *POINTER).
21
22 void * ider vector that will contain the DER encoding. DER must be a
23 pointer to memory cells already allocated.
24
25 int * len number of bytes of *ider: ider[0]..ider[len-1], Initialy
26 holds the sizeof of der vector.
27
28 char * ErrorDescription
29
31 Creates the DER encoding for the NAME structure (inside *POINTER struc‐
32 ture).
33
36 Copyright © 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
37 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
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.
50
51
52
53libtasn1 2.7 asn1_der_coding(3)