24/7 Support: 800.608.6482

Get Started

Developer Docs

rsa_save_privatekey_mem_cipher

MivaScript Builtin Function, Miva Merchant 9+

Tag / Description

rsa_save_privatekey_mem_cipher( privkey var, rsa var, passphrase, ciphername )

<mvt:assign name="g.return_value" value="rsa_save_privatekey_mem_cipher( privkey var, rsa var, passphrase, ciphername )" />

Behaves identical to the legacy counterpart rsa_save_privatekey_mem() except that it allows the caller to specify the cipher used to encrypt the private key (the legacy function always uses des-ede3-cbc).

Parameters

  • privkey var

  • rsa var

  • passphrase

  • ciphername

    an OpenSSL cipher identifier that specifies the cipher to be used. Note that OpenSSL only permits a subset of its supported ciphers to be used for RSA key encryption. For example, only CBC mode ciphers are permitted.

Return Values

Examples

Miva believes that all online businesses should have access to a scalable ecommerce platform that can meet their unique business requirements. Miva offers PCI compliant ecommerce, hosting, and custom website design and development solutions. Miva customers have processed over $100 billion in online sales since 1997.

Copyright © 2016 Miva, Inc - All Rights Reserved   Privacy Policy | Store Policy

Links
Contact Us
Receive Tips & Updates

Copyright © 2017 Miva, Inc - All Rights Reserved

Back To The Top