rsa_load_privatekey()

 
Load an encrypted RSA private key from a PKCS#8 file specified by privkey_file, and decrypt it using passphrase.
Syntax
rsa_load_privatekey( privkey_file, rsa var, passphrase )
Returns 1 on success, 0 on error.
  • privkey_file = The name of the file containing the encrypted private key
  • rsa = A variable which receives an internal reference to the loaded RSA key
  • passphrase = The passphrase used to decrypt the private key
User Annotations: rsa_load_privatekey