+
+
+Structure SilcSKEParams
+
+
+NAME
+
+
+ typedef struct { ... } *SilcSKEParams, SilcSKEParamsStruct;
+
+
+DESCRIPTION
+
+
+ SKE parameters structure. This structure is given as argument to
+ silc_ske_initiator and silc_ske_responder functions.
+
+
+SOURCE
+
+ typedef struct SilcSKEParamsObject {
+ /* The SKE version string that is sent to the remote end. This field
+ must be set. Caller must free the pointer. */
+ char *version;
+
+ /* Security property flags. When initiator sets these it requests them
+ from the responder. Responder may set here the flags it supports
+ and wants to enforce for the initiator. */
+ SilcSKESecurityPropertyFlag flags;
+
+ /* SILC Session port when using UDP/IP and SILC_SKE_SP_FLAG_IV_INCLUDED
+ flag. It is the port the remote will use as SILC session port after
+ the key exchange protocol. Ignored without SILC_SKE_SP_FLAG_IV_INCLUDED
+ flag. */
+ SilcUInt16 session_port;
+
+ /* Key exchange timeout in seconds. If key exchange is not completed in
+ this time it will timeout. If not specified (zero), default value
+ (30 seconds) will be used. */
+ SilcUInt16 timeout_secs;
+
+ /* Same as timeout_secs but affects only the first packet sent as
+ initiator. If the responder does not reply to the first packet in this
+ time frame the key exchange will timeout. If not specified (zero),
+ default value (30 seconds) will be used. */
+ SilcUInt16 probe_timeout_secs;
+
+ /* If TRUE small proposal is sent with only one security property
+ proposed instead of list of all currently registered. */
+ SilcBool small_proposal;
+
+ /* If TRUE protocol does not end in SUCCESS acknowledgements. */
+ SilcBool no_acks;
+
+ /* Pre-allocated security properties to use in negotiation. If provided
+ the library will perform only key exchange and proposals aren't
+ exchanged at all. */
+ SilcSKESecurityProperties prop;
+ } *SilcSKEParams, SilcSKEParamsStruct;
+
+ |