Skip to content

rsa_load_privatekey_mem()#


Loads an encrypted RSA private key from a memory buffer containing PKCS#8 data

Syntax
rsa_load_privatekey_mem( privkey, rsa var, passphrase )

Returns#

Returns 1 on success, 0 on error.

Parameters#

Parameter Description
privkey The encrypted private key information in PKCS#8 format
rsa A variable which receives an internal reference to the loaded RSA key
passphrase The passphrase used to decrypt the private key