peyotls-0.0.0.14: Pretty Easy YOshikuni-made TLS library

Safe HaskellNone

Network.PeyoTLS.Server

Documentation

run :: HandleLike h => TlsM h g a -> g -> HandleMonad h aSource

open :: (ValidateHandle h, CPRG g) => h -> [CipherSuite] -> [(CertSecretKey, CertificateChain)] -> Maybe CertificateStore -> TlsM h g (TlsHandleS h g)Source

names :: TlsHandleS h g -> [String]Source

type TlsM h g = ErrorT Alert (StateT (HandshakeState h g) (HandleMonad h))Source

data TlsHandle h g Source

Instances