Data integrity refers to ensuring there is no unauthorized modification of data.
There are two ways in which data might be altered: accidentally, through hardware and transmission errors, or because of a deliberate attack. Many hardware products and transmission protocols have mechanisms to detect and correct hardware and transmission errors. The purpose of the data integrity service is to detect a deliberate attack.
Both secure SIP and secure RTP use hash functions to ensure data integrity over a network.