hs-tls/Network/TLS.hs

54 lines
1 KiB
Haskell
Raw Normal View History

-- |
-- Module : Network.TLS
-- License : BSD-style
-- Maintainer : Vincent Hanquez <vincent@snarc.org>
-- Stability : experimental
-- Portability : unknown
--
module Network.TLS
(
-- * Context configuration
TLSParams(..)
, TLSLogging(..)
, TLSCertificateUsage(..)
, TLSCertificateRejectReason(..)
, defaultParams
, defaultLogging
-- * Context object
, TLSCtx
, ctxHandle
-- * Creating a context
, client
, server
-- * Initialisation and Termination of context
, bye
, handshake
-- * High level API
, sendData
, recvData
-- * Crypto Key
, PrivateKey(..)
-- * Compressions & Predefined compressions
, CompressionC(..)
, Compression(..)
, nullCompression
-- * Ciphers & Predefined ciphers
2011-08-12 17:32:18 +00:00
, Cipher(..)
, Bulk(..)
-- * Versions
, Version(..)
-- * Errors
, TLSError(..)
) where
import Network.TLS.Struct (Version(..), TLSError(..))
import Network.TLS.Crypto (PrivateKey(..))
2011-03-19 09:22:12 +00:00
import Network.TLS.Cipher (Cipher(..))
import Network.TLS.Compression (CompressionC(..), Compression(..), nullCompression)
import Network.TLS.Core