Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data CertSettings
- = CertFromFile !FilePath ![FilePath] !FilePath
- | CertFromMemory !ByteString ![ByteString] !ByteString
- | CertFromRef !(IORef ByteString) ![IORef ByteString] !(IORef ByteString)
- data TLSSettings = TLSSettings {
- certSettings :: CertSettings
- onInsecure :: OnInsecure
- tlsLogging :: Logging
- tlsAllowedVersions :: [Version]
- tlsCiphers :: [Cipher]
- tlsWantClientCert :: Bool
- tlsServerHooks :: ServerHooks
- tlsServerDHEParams :: Maybe DHParams
- tlsSessionManagerConfig :: Maybe Config
- tlsCredentials :: Maybe Credentials
- tlsSessionManager :: Maybe SessionManager
- tlsSupportedHashSignatures :: [HashAndSignatureAlgorithm]
- data OnInsecure
- getCertSettings :: TLSSettings -> CertSettings
Documentation
data CertSettings Source #
Determines where to load the certificate, chain certificates, and key from.
data TLSSettings Source #
Settings for WarpTLS.
TLSSettings | |
|
data OnInsecure Source #
An action when a plain HTTP comes to HTTP over TLS/SSL port.
Instances
Show OnInsecure Source # | |
Defined in Network.Wai.Handler.WarpTLS.Internal showsPrec :: Int -> OnInsecure -> ShowS # show :: OnInsecure -> String # showList :: [OnInsecure] -> ShowS # |
Accessors
getCertSettings :: TLSSettings -> CertSettings Source #
Some programs need access to cert settings