1ASN1_STRING_new(3) OpenSSL ASN1_STRING_new(3)
2
3
4
6 ASN1_STRING_new, ASN1_STRING_type_new, ASN1_STRING_free - ASN1_STRING
7 allocation functions
8
10 #include <openssl/asn1.h>
11
12 ASN1_STRING * ASN1_STRING_new(void);
13 ASN1_STRING * ASN1_STRING_type_new(int type);
14 void ASN1_STRING_free(ASN1_STRING *a);
15
17 ASN1_STRING_new() returns an allocated ASN1_STRING structure. Its type
18 is undefined.
19
20 ASN1_STRING_type_new() returns an allocated ASN1_STRING structure of
21 type type.
22
23 ASN1_STRING_free() frees up a.
24
26 Other string types call the ASN1_STRING functions. For example
27 ASN1_OCTET_STRING_new() calls ASN1_STRING_type(V_ASN1_OCTET_STRING).
28
30 ASN1_STRING_new() and ASN1_STRING_type_new() return a valid ASN1_STRING
31 structure or NULL if an error occurred.
32
33 ASN1_STRING_free() does not return a value.
34
36 ERR_get_error(3)
37
39 TBA
40
41
42
431.0.1e 2013-02-11 ASN1_STRING_new(3)