|
NAMEX509_PKEY_new , X509_PKEY_free
—
X.509 private key wrapper object
SYNOPSIS#include <openssl/x509.h>
X509_PKEY *
void
DESCRIPTIONX509_PKEY is a reference-counted wrapper object that can store
The object may contain only the encrypted key or only the decrypted key or both. X509_PKEY is used as a sub-object of the X509_INFO object created by PEM_X509_INFO_read_bio(3) if the PEM file contains any RSA, DSA, or EC PRIVATE KEY object.
RETURN VALUESX509_PKEY_new () returns a pointer to the new
X509_PKEY object or NULL if
memory allocation fails.
SEE ALSOEVP_PKEY_new(3), PEM_X509_INFO_read(3), X509_INFO_new(3)HISTORYX509_PKEY_new () and
X509_PKEY_free () first appeared in SSLeay 0.6.0 and
have been available since OpenBSD 2.4.
Visit the GSP FreeBSD Man Page Interface. |