SILC Core Library SILC Auth API SILC Channel API SILC Command API SILC ID API SILC ID Cache API SILC Modes SILC Notify API SILC Packet API SILC Argument API SILC Private API SILC Math Library SILC Math API SILC MP API SILC SFTP Library SILC SFTP API SILC SFTP Filesystems SILC Utility Library SILC Buffer API SILC Buffer Format API SILC Buffer Utility API SILC Hash Table API SILC Log and Debug API SILC Memory API SILC Mutex API SILC Thread API SILC Net API SILC Schedule API SILC Socket Connection API SILC Protocol API SILC Util API SILC Zip API SILC List API SILC Dynamic List API SILC Key Exchange Library SILC SKE API SILC SKE Status SILC Client Library SILC Client API SILC Crypto Library SILC Cipher API SILC Hash API SILC HMAC API SILC PKCS API SILC RNG API
Function silc_auth_public_key_auth_generate SYNOPSIS
        SilcBuffer silc_auth_public_key_auth_generate(SilcPublicKey public_key,
                                                      SilcPrivateKey private_key,
                                                      SilcHash hash,
                                                      const 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.
>> SilcAuthAPI >> SilcAuthPayload >> SilcKeyAgreementPayload >> SilcAuthMethod >> silc_auth_payload_parse >> silc_auth_payload_encode >> silc_auth_payload_free >> silc_auth_get_method >> silc_auth_get_data >> silc_auth_public_key_auth_generate >> silc_auth_public_key_auth_verify >> silc_auth_public_key_auth_verify_data >> silc_auth_verify >> silc_auth_verify_data >> silc_key_agreement_payload_parse >> silc_key_agreement_payload_encode >> silc_key_agreement_payload_free >> silc_key_agreement_get_hostname >> silc_key_agreement_get_port