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

SILC Toolkit Reference Manual SILC Core Library SILC Authentication Interface SILC Message Interface SILC Channel Interface SILC Command Interface SILC Notify Interface SILC Status Types SILC Modes SILC ID Interface SILC ID Cache Interface SILC Argument Interface SILC Attributes 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 Basic SILC Types 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 String Util Interface SILC Util Interface SILC List Interface SILC Dynamic List Interface SILC VCard Interface SILC Application Utilities SILC Key Exchange Library SILC SKE Interface SKE Status Types SKE Diffie Hellman Groups SKE Payloads SILC Client Library Using SILC Client Library Tutorial Arguments for command_reply Client Operation Arguments for notify Client Operation Client Library Interface Reference SILC Crypto Library Introduction to SILC RNG SILC RNG Interface SILC Cipher API SILC PKCS API SILC Hash Interface SILC HMAC Interface 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 Index