EVP_PKEY_NEW(3) OpenSSL EVP_PKEY_NEW(3)
EVP_PKEY_new, EVP_PKEY_free - private key allocation func-
tions.
#include <openssl/evp.h>
EVP_PKEY *EVP_PKEY_new(void);
void EVP_PKEY_free(EVP_PKEY *key);
The EVP_PKEY_new() function allocates an empty EVP_PKEY
structure which is used by OpenSSL to store private keys.
EVP_PKEY_free() frees up the private key key.
The EVP_PKEY structure is used by various OpenSSL functions
which require a general private key without reference to any
particular algorithm.
The structure returned by EVP_PKEY_new() is empty. To add a
private key to this empty structure the functions described
in EVP_PKEY_set1_RSA(3) should be used.
EVP_PKEY_new() returns either the newly allocated EVP_PKEY
structure of NULL if an error occurred.
EVP_PKEY_free() does not return a value.
EVP_PKEY_set1_RSA(3)
TBA
MirOS BSD #10-current 2005-02-05 1
Generated on 2012-02-20 02:47:02 by $MirOS: src/scripts/roff2htm,v 1.70 2011/12/03 18:21:12 tg Exp $
These manual pages and other documentation are copyrighted by their respective writers;
their source is available at our CVSweb,
AnonCVS, and other mirrors. The rest is Copyright © 2002‒2011 The MirOS Project, Germany.
This product includes material
provided by Thorsten Glaser.
This manual page’s HTML representation is supposed to be valid XHTML/1.1; if not, please send a bug report – diffs preferred.