peyotls-0.1.6.5: Pretty Easy YOshikuni-made TLS library

Safe HaskellNone

Network.PeyoTLS.TChan.Client

Contents

Synopsis

Basic

open :: (CPRG g, ValidateHandle h, MonadBaseControl IO (HandleMonad h)) => h -> [CipherSuite] -> [(CertSecretKey, CertificateChain)] -> CertificateStore -> g -> HandleMonad h ((String -> Bool, SignedCertificate), (TChan ByteString, TChan ByteString))Source

open' :: (CPRG g, ValidateHandle h, MonadBaseControl IO (HandleMonad h)) => h -> String -> [CipherSuite] -> [(CertSecretKey, CertificateChain)] -> CertificateStore -> g -> HandleMonad h (TChan ByteString, TChan ByteString)Source

Cipher Suite

data KeyEx Source

Instances

Eq KeyEx 
Read KeyEx 
Show KeyEx 

data BulkEnc Source

Instances

Eq BulkEnc 
Read BulkEnc 
Show BulkEnc 

Others

data CertSecretKey Source

Constructors

RsaKey 

Fields

rsaKey :: PrivateKey
 
EcdsaKey 

Fields

ecdsaKey :: PrivateKey
 

Instances