Openstream Interview Question

How data integrity is achieved using asymmetric cryptography?