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;
} *SilcSKEParams, SilcSKEParamsStruct;
|