RSAisprivate
RSAisprivate |
Purpose
Synopsis
function RSAisprivate(key:array(range) of integer):boolean
function RSAisprivate(kfile:string):boolean
Arguments
key
|
RSA key in the form of an array of integer
|
kfile
|
File containing the key
|
Return value
true if the key is an RSA private key,
false otherwise.
Further information
A return value of
false does not necessarily indicate that the provided data corresponds to a valid public key: this value is also returned in the case of an I/O error (
e.g. the file does not exist).
Related topics
Module