Note about certificates.

This commit is contained in:
Elliot Glaysher 2019-05-15 17:04:21 -07:00
parent 7dfc6b9c19
commit f1d8dda6ca

View File

@ -23,10 +23,14 @@ data Config = Config
, redirect :: Bool
}
newtype Key = Key Wain
newtype Cert = Cert Wain
-- Note: We need to parse PEM-encoded RSA private keys and cert or cert chain
-- from Wain
newtype Key = Key PEM
newtype Cert = Cert PEM
data Wain = Wain [Text]
data PEM
data ClientResponse
= Progress ResponseHeader Int (Maybe Int) (Maybe ByteString)
| Finished ResponseHeader (Maybe MimeData)