[][src]Function libthemis_sys::themis_secure_message_verify

pub unsafe extern "C" fn themis_secure_message_verify(
    public_key: *const u8,
    public_key_length: usize,
    signed_message: *const u8,
    signed_message_length: usize,
    message: *mut u8,
    message_length: *mut usize
) -> themis_status_t

@brief verify signature on a signed message @param [in] public_key peer public key @param [in] public_key_length length of public_key @param [in] signed_message signed message to verify @param [in] signed_message_length length of signed_message @param [out] message buffer for original message (without signature). May be set to NULL to determine expected length of original message @param [in, out] message_length length of message @return THEMIS_SUCCESS on success or an error code on failure @note If message is NULL or message_length is not enough to store the original message then THEMIS_BUFFER_TOO_SMALL will be returned and message_length will contain the length of the buffer needed to store the original message.