Manual Pages for UNIX Darwin command on man ASN1_OBJECT_new
MyWebUniversity

Manual Pages for UNIX Darwin command on man ASN1_OBJECT_new

ASN1OBJECTnew(3) OpenSSL ASN1OBJECTnew(3)

NAME

ASN1OBJECTnew, ASN1OBJECTfree, - object allocation functions

SYNOPSIS

ASN1OBJECT *ASN1OBJECTnew(void); void ASN1OBJECTfree(ASN1OBJECT *a);

DESCRIPTION

The ASN1OBJECT allocation routines, allocate and free an ASN1OBJECT structure, which represents an ASN1 OBJECT IDENTIFIER. ASN1OBJECTnew() allocates and initializes a ASN1OBJECT structure. ASN1OBJECTfree() frees up the AASSNN11OOBBJJEECCTT structure aa. NNOOTTEESS Although ASN1OBJECTnew() allocates a new ASN1OBJECT structure it is almost never used in applications. The ASN1 object utility functions such as OBJnid2obj() are used instead.

RETURN VALUES

If the allocation fails, ASN1OBJECTnew() returns NNUULLLL and sets an error code that can be obtained by ERRgeterror(3). Otherwise it returns a pointer to the newly allocated structure. ASN1OBJECTfree() returns no value.

SEE ALSO

ERRgeterror(3), d2iASN1OBJECT(3) HISTORY ASN1OBJECTnew() and ASN1OBJECTfree() are available in all versions of SSLeay and OpenSSL.

0.9.7l 2002-10-09 ASN1OBJECTnew(3)




Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 MyWebUniversity.com ™