PKCS12_parse(3) | LibreSSL | PKCS12_parse(3) |
NAME
PKCS12_parse - parse a PKCS#12 structureSYNOPSIS
#include <openssl/pkcs12.h>
DESCRIPTION
PKCS12_parse() parses a PKCS12 structure.NOTES
The parameters pkey and cert cannot be NULL. ca can be <NULL> in which case additional certificates will be discarded. *ca can also be a valid STACK in which case additional certificates are appended to *ca. If *ca is NULL a new STACK will be allocated.RETURN VALUES
PKCS12_parse() returns 1 for success and zero if an error occurred.BUGS
Only a single private key and corresponding certificate is returned by this function. More complex PKCS#12 files with multiple private keys will only return the first match.SEE ALSO
d2i_PKCS12(3)HISTORY
PKCS12_parse was added in OpenSSL 0.9.32015-10-26 | LibreSSL |