Safe Haskell | None |
---|
Documentation
type TlsM h g = ErrorT Alert (StateT (HandshakeState h g) (HandleMonad h))Source
Show h => Show (TlsHandle h g) | |
(ValidateHandle h, CPRG g) => HandleLike (TlsHandle h g) |
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 (TlsHandle h g)Source
renegotiate :: (ValidateHandle h, CPRG g) => TlsHandle h g -> TlsM h g ()Source
data CipherSuite Source
class HandleLike h => ValidateHandle h whereSource
validate :: h -> CertificateStore -> CertificateChain -> HandleMonad h [FailedReason]Source