Safe Haskell | None |
---|---|
Language | Haskell2010 |
Network.Wai.Handler.WarpTLS.Internal
Contents
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 Params
- tlsSessionManagerConfig :: Maybe Config
- tlsCredentials :: Maybe Credentials
- tlsSessionManager :: Maybe SessionManager
- data OnInsecure
- getCertSettings :: TLSSettings -> CertSettings
Documentation
data CertSettings Source #
Determines where to load the certificate, chain certificates, and key from.
Constructors
CertFromFile !FilePath ![FilePath] !FilePath | |
CertFromMemory !ByteString ![ByteString] !ByteString | |
CertFromRef !(IORef ByteString) ![IORef ByteString] !(IORef ByteString) |
data TLSSettings Source #
Settings for WarpTLS.
Constructors
TLSSettings | |
Fields
|
data OnInsecure Source #
An action when a plain HTTP comes to HTTP over TLS/SSL port.
Constructors
DenyInsecure ByteString | |
AllowInsecure |
Instances
Show OnInsecure Source # | |
Defined in Network.Wai.Handler.WarpTLS.Internal Methods showsPrec :: Int -> OnInsecure -> ShowS # show :: OnInsecure -> String # showList :: [OnInsecure] -> ShowS # |
Accessors
getCertSettings :: TLSSettings -> CertSettings Source #
Some programs need access to cert settings