Safe Haskell | None |
---|---|
Language | Haskell2010 |
SSL-enabled http transport with support for https requests and client certificates.
- confTransport :: Text -> Config -> ServerCertCallback -> IO Transport
- makeSettings :: Maybe FilePath -> Maybe FilePath -> ServerCertCallback -> IO ManagerSettings
- type ServerCertCallback = CertificateStore -> ValidationCache -> ServiceID -> CertificateChain -> IO [FailedReason]
- validateDefault :: CertificateStore -> ValidationCache -> ServiceID -> CertificateChain -> IO [FailedReason]
Documentation
:: Text | Section name containing transport settings. |
-> Config | |
-> ServerCertCallback | |
-> IO Transport |
Initialize a SOAP HTTP transport with HTTPS support using tls.
makeSettings :: Maybe FilePath -> Maybe FilePath -> ServerCertCallback -> IO ManagerSettings Source #
Certificate validation
type ServerCertCallback = CertificateStore -> ValidationCache -> ServiceID -> CertificateChain -> IO [FailedReason] Source #
:: CertificateStore | The trusted certificate store for CA |
-> ValidationCache | the validation cache callbacks |
-> ServiceID | identification of the connection |
-> CertificateChain | the certificate chain we want to validate |
-> IO [FailedReason] | the return failed reasons (empty list is no failure) |
Validate using the default hooks and checks and the SHA256 mechanism as hashing mechanism