pub fn verify_session(proof: &String, pub_key: &String) -> Result<(), String>
This verifies the identity of the server using a default certificate verifier which trusts the root certificates from the webpki-roots crate.
webpki-roots