Manual Pages for UNIX Darwin command on man RSA_new
MyWebUniversity

Manual Pages for UNIX Darwin command on man RSA_new

RSAnew(3) OpenSSL RSAnew(3)

NAME

RSAnew, RSAfree - allocate and free RSA objects

SYNOPSIS

#include

RSA * RSAnew(void); void RSAfree(RSA *rsa);

DESCRIPTION

RSAnew() allocates and initializes an RRSSAA structure. It is equivalent to calling RSAnewmethod(NULL). RSAfree() frees the RRSSAA structure and its components. The key is erased before the memory is returned to the system.

RETURN VALUES

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

SEE ALSO

ERRgeterror(3), rsa(3), RSAgeneratekey(3), RSAnewmethod(3) HISTORY RSAnew() and RSAfree() are available in all versions of SSLeay and OpenSSL.

0.9.7l 2002-09-25 RSAnew(3)




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