x509check
x509check |
Purpose
Synopsis
function x509check(x509:string, kfile:string):integer
Arguments
x509
|
File containing the certificate
|
kfile
|
File containing the private key
|
Return value
0 if the key is compatible with the certificate,
1 if the key is not compatibe and
-1 in the case of an error.
Further information
This function checks whether the public key recorded in the specified certificate corresponds to the provided private key (the certificate can only be used by the owner of the public key).
Related topics
Module