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]
- defaultTlsSettings :: TLSSettings
- data OnInsecure
- getCertSettings :: TLSSettings -> CertSettings
Documentation
data CertSettings Source #
Determines where to load the certificate, chain certificates, and key from.
CertFromFile !FilePath ![FilePath] !FilePath | |
CertFromMemory !ByteString ![ByteString] !ByteString | |
CertFromRef !(IORef ByteString) ![IORef ByteString] !(IORef ByteString) |
Instances
Show CertSettings Source # | |
Defined in Network.Wai.Handler.WarpTLS.Internal showsPrec :: Int -> CertSettings -> ShowS # show :: CertSettings -> String # showList :: [CertSettings] -> ShowS # |
data TLSSettings Source #
Settings for WarpTLS.
TLSSettings | |
|
defaultTlsSettings :: TLSSettings Source #
Default TLSSettings
. Use this to create TLSSettings
with the field record name (aka accessors).
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