Function silc_load_key_pair
SYNOPSIS
SilcBool silc_load_key_pair(const char *pub_filename,
const char *prv_filename,
const char *passphrase,
SilcPublicKey *return_public_key,
SilcPrivateKey *return_private_key);
DESCRIPTION
This routine can be used to load the public key and private key
from files. This retuns FALSE it either of the key could not be
loaded. This function returns TRUE on success and returns the
public key into `return_public_key' pointer and private key into
`return_private_key'. The `passphrase' is the passphrase which
will be used to decrypt the private key file.
|