network-api-support-0.0.8: Toolkit for building http client libraries over Network.Http.Conduit

Safe HaskellNone

Network.Api.Support.Security

Synopsis

Documentation

checkDomainOnly :: CertificateStore -> ByteString -> [X509] -> IO TLSCertificateUsageSource

A TLS validator that checks the domain only. Note that this means the validator | will not check the cert chain, and can be used on systems where Data.Certificate.X509 | falls over as it does not have access to local root certs. | | ! Use with caution !