module Network.TLS
(
ClientParams(..)
, ServerParams(..)
, ClientHooks(..)
, ServerHooks(..)
, Supported(..)
, Shared(..)
, Hooks(..)
, Logging(..)
, Measurement(..)
, CertificateUsage(..)
, CertificateRejectReason(..)
, defaultParamsClient
, MaxFragmentEnum(..)
, HashAndSignatureAlgorithm
, HashAlgorithm(..)
, SignatureAlgorithm(..)
, CertificateType(..)
, ProtocolType(..)
, Header(..)
, SessionID
, SessionData(..)
, SessionManager(..)
, noSessionManager
, Backend(..)
, Context
, ctxConnection
, contextNew
, contextNewOnHandle
, contextNewOnSocket
, contextFlush
, contextClose
, contextHookSetHandshakeRecv
, contextHookSetCertificateRecv
, contextHookSetLogging
, contextModifyHooks
, Information(..)
, contextGetInformation
, Credentials(..)
, Credential
, credentialLoadX509
, credentialLoadX509FromMemory
, bye
, handshake
, getNegotiatedProtocol
, sendData
, recvData
, recvData'
, PubKey(..)
, PrivKey(..)
, module Network.TLS.Compression
, module Network.TLS.Cipher
, Version(..)
, TLSError(..)
, KxError(..)
, AlertDescription(..)
, TLSException(..)
, ValidationChecks(..)
, ValidationHooks(..)
, ValidationCache(..)
, ValidationCacheResult(..)
, exceptionValidationCache
) where
import Network.TLS.Backend (Backend(..))
import Network.TLS.Struct ( TLSError(..), TLSException(..)
, HashAndSignatureAlgorithm, HashAlgorithm(..), SignatureAlgorithm(..)
, Header(..), ProtocolType(..), CertificateType(..)
, AlertDescription(..))
import Network.TLS.Crypto (KxError(..))
import Network.TLS.Cipher
import Network.TLS.Hooks
import Network.TLS.Measurement
import Network.TLS.Credentials
import Network.TLS.Compression (CompressionC(..), Compression(..), nullCompression)
import Network.TLS.Context
import Network.TLS.Parameters
import Network.TLS.Core
import Network.TLS.Session
import Network.TLS.X509
import Network.TLS.Types
import Data.X509 (PubKey(..), PrivKey(..))
import Data.X509.Validation