This manual page is for Mac OS X version 10.6

If you are running a different version of Mac OS X, view the documentation locally:

  • In Terminal, using the man(1) command

Reading manual pages

Manual pages are intended as a quick reference for people who already understand a technology.

  • For more information about the manual page format, see the manual page for manpages(5).

  • For more information about this technology, look for other documentation in the Apple Reference Library.

  • For general information about writing shell scripts, read Shell Scripting Primer.



ASN1_STRING_new(3)                                 OpenSSL                                ASN1_STRING_new(3)



NAME
       ASN1_STRING_new, ASN1_STRING_type_new, ASN1_STRING_free - ASN1_STRING allocation functions

SYNOPSIS
        ASN1_STRING * ASN1_STRING_new(void);
        ASN1_STRING * ASN1_STRING_type_new(int type);
        void ASN1_STRING_free(ASN1_STRING *a);

DESCRIPTION
       ASN1_STRING_new() returns an allocated ASN1_STRING structure. Its type is undefined.

       ASN1_STRING_type_new() returns an allocated ASN1_STRING structure of type type.

       ASN1_STRING_free() frees up a.

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

RETURN VALUES
       ASN1_STRING_new() and ASN1_STRING_type_new() return a valid ASN1_STRING structure or NULL if an error
       occurred.

       ASN1_STRING_free() does not return a value.

SEE ALSO
       ERR_get_error(3)

HISTORY
       TBA



0.9.8                                            2009-04-03                               ASN1_STRING_new(3)

Reporting Problems

The way to report a problem with this manual page depends on the type of problem:

Content errors
Report errors in the content of this documentation to the OpenSSL project by sending email to [email protected].
Bug reports
Report bugs in the functionality of the described tool or API to Apple through Bug Reporter and to the OpenSSL project by sending email to [email protected].
Formatting problems
Report formatting mistakes in the online version of these pages with the feedback links below.