1ASN1_STRING_new(3)                  OpenSSL                 ASN1_STRING_new(3)
2
3
4

NAME

6       ASN1_STRING_new, ASN1_STRING_type_new, ASN1_STRING_free - ASN1_STRING
7       allocation functions
8

SYNOPSIS

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

DESCRIPTION

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

NOTES

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

RETURN VALUES

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

SEE ALSO

36       ERR_get_error(3)
37

HISTORY

39       TBA
40
41
42
431.0.2o                            2020-08-01                ASN1_STRING_new(3)
Impressum