Copyright © 2001 - 2002 SILC Project SILC Project Website | SILC Toolkit Reference Manual

SILC Toolkit Reference Manual SILC Core Library SILC Authentication Interface SILC Channel Interface SILC Command Interface SILC ID Interface SILC ID Cache Interface SILC Modes SILC Notify Interface SILC Argument Interface SILC Private Message Interface Packet Protocol Interface SILC Math Library SILC MP Interface SILC Math Interface SILC SFTP Library SILC SFTP Interface SFTP Filesystems Interface SILC Utility Library SILC Buffer Interface SILC Buffer Format Interface SILC Hash Table Interface SILC Logging Interface SILC Memory Interface SILC Mutex Interface SILC Thread Interface SILC Network Interface SILC Schedule Interface SILC Socket Interface SILC Protocol Interface SILC Config Interface SILC File Util Interface SILC Util Interface SILC List Interface SILC Dynamic List Interface SILC Zip API SILC Key Exchange Library SILC SKE Interface SKE Status Types SKE Diffie Hellman Groups SKE Payloads SILC Client Library Using SILC Client Library Client Library Interface SILC Crypto Library Introduction to SILC RNG SILC RNG Interface SILC HMAC Interface SILC Cipher API SILC Hash API SILC PKCS API Resource Links SILC Project Website SILC Protocol Documentation SILC White Paper SILC FAQ
Function silc_ske_initiator_finish SYNOPSIS
        SilcSKEStatus silc_ske_initiator_finish(SilcSKE ske,
                                                SilcBuffer ke_payload);
DESCRIPTION
        Receives the reply from the responder and processes it.  The
        `ke_payload' is the reply and application must provide it as argument.
        This function will verify the responder's public key, by calling
        the `verify_key' callback that was set with silc_ske_set_callbacks
        function.

        If this function returns error, no callbacks will be called. If
        this function needs to verify remote end's public key, this will
        return SILC_SKE_STATUS_PENDING, which indicates application that
        SKE is performing asynchronous operation and is in pending status.
        When in this status application must not continue with calling
        any other SKE routine. The asynchronous operation is the `verify_key'
        callback, which application completes by calling its completion
        callback. After completion the SKE libary will call the
        `proto_continue' callback, to indicate application that pending
        status is over and it is safe to continue the execution of SKE,
        which application does by calling the silc_ske_end function.

        If this function returns SILC_SKE_STATUS_OK, it will not call the
        `verify_key' callback, however, it will or has already called the
        `proto_continue' callback.

        Application must not continue execution of the SKE before library
        has called the `proto_continue' callback.  After it is called
        the application finishes SKE session by calling silc_ske_end
        function.
SILC SKE Interface SilcSKE SilcSKESecurityProperties SilcSKEPKType SilcSKESendPacketCb SilcSKECb SilcSKEVerifyCbCompletion SilcSKEVerifyCb SilcSKECheckVersion SilcSKEKeyMaterial SilcSKESecurityPropertyFlag SilcSKESecurityPropertiesStruct SilcSKEStruct silc_ske_alloc silc_ske_free silc_ske_set_callbacks silc_ske_initiator_start silc_ske_initiator_phase_1 silc_ske_initiator_phase_2 silc_ske_initiator_finish silc_ske_responder_start silc_ske_responder_phase_1 silc_ske_responder_phase_2 silc_ske_responder_finish silc_ske_end silc_ske_abort silc_ske_assemble_security_properties silc_ske_select_security_properties silc_ske_process_key_material silc_ske_process_key_material_data silc_ske_free_key_material silc_ske_parse_version

Copyright © 2001 - 2002 SILC Project SILC Project Website | SILC Toolkit Reference Manual