RSAloadkey
RSAloadkey |
Purpose
Synopsis
function RSAloadkey(key:array(range) of integer, kfile:string, ispriv:boolean):integer
function RSAloadkey(key:array(range) of integer, kfile:string):integer
Arguments
key
|
RSA key in the form of an array of integer
|
kfile
|
File containing the key
|
ispriv
|
Must be
true if the key file contains a private key
|
Return value
The number of integers saved into the array, or
-1 in the case of an I/O error, or
-2 if the provided array is not suitable to store the key.
Further information
If the
ispriv parameter is not provided, the function calls first
RSAisprivate to determine its value.
Related topics
Module