Function silc_auth_public_key_auth_generate
SYNOPSIS
SilcBuffer silc_auth_public_key_auth_generate(SilcPublicKey public_key,
SilcPrivateKey private_key,
SilcHash hash,
void *id, SilcIdType type);
DESCRIPTION
Generates Authentication Payload with authentication data. This is used
to do public key based authentication. This generates the random data
and the actual authentication data. Returns NULL on error and the
encoded Authentication Payload on success.