Function silc_message_get_signature
SYNOPSIS
SilcMessageSignedPayload
silc_message_get_signature(SilcMessagePayload payload);
DESCRIPTION
Returns the pointer to the signature of the message if the
SILC_MESSAGE_FLAG_SIGNED was set. If the flag is set and this
function returns NULL then error had occurred and the signature
could not be retrieved from the message.
The caller SHOULD verify the signature by calling the
silc_message_signed_verify function. Caller must not free the
returned payload pointer.
|