Skip to content

rsa_load_publickey()#


Load an RSA public key from a PKCS#1 file specified by “pubkey_file”.

Syntax
rsa_load_publickey( pubkey_file, rsa var )

Returns#

Returns 1 on success, 0 on error.

Parameters#

Parameter Description
pubkey_file The name of the file containing the public key
rsa A variable which receives an internal reference to the loaded RSA key