peyotls-0.0.0.22: Pretty Easy YOshikuni-made TLS library

Safe HaskellNone

Network.PeyoTLS.Client

Documentation

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

data TlsHandle h g Source

Instances

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

data CertSecretKey Source

Constructors

RsaKey 

Fields

rsaKey :: PrivateKey
 
EcdsaKey 

Fields

ecdsaKey :: PrivateKey
 

Instances