* routines. The SILC Authentication Payload is used to deliver
* authentication data usually from client to server in purpose of
* gaining access to some service. The Payload and the authentication
* routines. The SILC Authentication Payload is used to deliver
* authentication data usually from client to server in purpose of
* gaining access to some service. The Payload and the authentication
#define SILC_AUTH_NONE 0 /* No authentication */
#define SILC_AUTH_PASSWORD 1 /* Passphrase authentication */
#define SILC_AUTH_NONE 0 /* No authentication */
#define SILC_AUTH_PASSWORD 1 /* Passphrase authentication */
*
* SilcBuffer silc_auth_payload_encode(SilcAuthMethod method,
* const unsigned char *random_data,
*
* SilcBuffer silc_auth_payload_encode(SilcAuthMethod method,
* const unsigned char *random_data,
***/
SilcBuffer silc_auth_payload_encode(SilcAuthMethod method,
const unsigned char *random_data,
***/
SilcBuffer silc_auth_payload_encode(SilcAuthMethod method,
const unsigned char *random_data,
SilcPublicKey public_key,
SilcHash hash,
const void *id, SilcIdType type);
SilcPublicKey public_key,
SilcHash hash,
const void *id, SilcIdType type);
*
* bool silc_auth_verify(SilcAuthPayload payload,
* SilcAuthMethod auth_method,
*
* bool silc_auth_verify(SilcAuthPayload payload,
* SilcAuthMethod auth_method,
SilcHash hash, const void *id, SilcIdType type);
/****f* silccore/SilcAuthAPI/silc_auth_verify_data
SilcHash hash, const void *id, SilcIdType type);
/****f* silccore/SilcAuthAPI/silc_auth_verify_data
const void *id, SilcIdType type);
/****f* silccore/SilcAuthAPI/silc_key_agreement_payload_parse
const void *id, SilcIdType type);
/****f* silccore/SilcAuthAPI/silc_key_agreement_payload_parse
*
* SilcKeyAgreementPayload
* silc_key_agreement_payload_parse(const unsigned char *payload,
*
* SilcKeyAgreementPayload
* silc_key_agreement_payload_parse(const unsigned char *payload,
/****f* silccore/SilcAuthAPI/silc_key_agreement_payload_encode
*
* SYNOPSIS
*
* SilcBuffer silc_key_agreement_payload_encode(char *hostname,
/****f* silccore/SilcAuthAPI/silc_key_agreement_payload_encode
*
* SYNOPSIS
*
* SilcBuffer silc_key_agreement_payload_encode(char *hostname,