MivaScript Builtin Function, Miva Merchant 9+
rsa_save_privatekey_mem( privkey var, rsa var, passphrase )
<mvt:assign name="g.return_value" value="rsa_save_privatekey_mem( privkey var, rsa var, passphrase )" />
Encrypts a previously loaded RSA private key and stores it into a variable in PKCS#8 format
privkey
The variable which will receive the encrypted private key
rsa
The internal reference to the RSA private key to be saved
passphrase
The passphrase used to encrypt the private key