Function silc_ske_select_security_properties
SYNOPSIS
SilcSKEStatus
silc_ske_select_security_properties(SilcSKE ske,
const char *version,
SilcSKEStartPayload *payload,
SilcSKEStartPayload *remote_payload);
DESCRIPTION
Parses the Key Exchange Start Payload indicated by `remote_payload',
and selects the security properties properties from it, and puts the
selection into the `payload'. This always attempts to select the
best security properties from the payload, and it always selects
one of each kind of security property, as this is dictated by the
protocol. The `version' is our version, that we will put to the
`payload', since the `payload' is usually sent to the remote end.
the `check_version' callback will be called in this function so
that application can do version check with the remote end.
|