verity_verify_tls

Function verify_session

source
pub fn verify_session(proof: &String, pub_key: &String) -> Result<(), String>
Expand description

This verifies the identity of the server using a default certificate verifier which trusts the root certificates from the webpki-roots crate.