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        ASN1_STRING * ASN1_STRING_new(void);
11        ASN1_STRING * ASN1_STRING_type_new(int type);
12        void ASN1_STRING_free(ASN1_STRING *a);
13

DESCRIPTION

15       ASN1_STRING_new() returns an allocated ASN1_STRING structure. Its type
16       is undefined.
17
18       ASN1_STRING_type_new() returns an allocated ASN1_STRING structure of
19       type type.
20
21       ASN1_STRING_free() frees up a.
22

NOTES

24       Other string types call the ASN1_STRING functions. For example
25       ASN1_OCTET_STRING_new() calls ASN1_STRING_type(V_ASN1_OCTET_STRING).
26

RETURN VALUES

28       ASN1_STRING_new() and ASN1_STRING_type_new() return a valid ASN1_STRING
29       structure or NULL if an error occurred.
30
31       ASN1_STRING_free() does not return a value.
32

SEE ALSO

34       ERR_get_error(3)
35

HISTORY

37       TBA
38
39
40
410.9.8b                            2002-10-20                ASN1_STRING_new(3)
Impressum