24/7 Support: 800.608.6482

Get Started

Developer Docs

rsa_save_privatekey

MivaScript Builtin Function, Miva Merchant 9+

Tag / Description

rsa_save_privatekey( privkey_file, rsa var, passphrase )

<mvt:assign name="g.return_value" value="rsa_save_privatekey( privkey_file, rsa var, passphrase )" />

Encrypts and writes a previously loaded RSA private key to a file in PKCS#8 format

Parameters

  • privkey_file

    The name of the file in which the private key is to be stored

  • rsa

    The internal reference to the RSA private key to be saved

  • passphrase

    The passphrase used to encrypt the private key

Return Values

Examples

This website uses cookies to identify visitors, track visitors to our website, store login session information and to remember your user preferences. By continuing to use this site you agree to our use of cookies. Learn More.

This website uses cookies. By continuing to use this site you agree to our use of cookies. Learn More.

Accept

Copyright © 1997 – 2018 Miva©, Miva Merchant©, MivaPay©, MivaCon© Miva, Inc. All Rights Reserved.