Verifier
TODO: implement failing tests and check that the proper errors are returned.
signature for the rustls provided api.