Openstream interview question

How data integrity is achieved using asymmetric cryptography?