1asn1_octet_der(3) libtasn1 asn1_octet_der(3)
2
3
4
6 asn1_octet_der - API function
7
9 #include <libtasn1.h>
10
11 void asn1_octet_der(const unsigned char * str, int str_len, unsigned
12 char * der, int * der_len);
13
15 const unsigned char * str
16 OCTET string.
17
18 int str_len STR length (str[0]..str[str_len-1]).
19
20 unsigned char * der
21 string returned.
22
23 int * der_len
24 number of meaningful bytes of DER (der[0]..der[ans_len-1]).
25
27 Creates the DER coding for an OCTET type (length included).
28
30 Copyright © 2006, 2007, 2008, 2009 Free Software Foundation, Inc..
31 Copying and distribution of this file, with or without modification,
32 are permitted in any medium without royalty provided the copyright
33 notice and this notice are preserved.
34
36 The full documentation for libtasn1 is maintained as a Texinfo manual.
37 If the info and libtasn1 programs are properly installed at your site,
38 the command
39
40 info libtasn1
41
42 should give you access to the complete manual.
43
44
45
46libtasn1 2.3 asn1_octet_der(3)