| Safe Haskell | None |
|---|
Network.PeyoTLS.TChan.Server
Contents
- open :: (CPRG g, ValidateHandle h, MonadBaseControl IO (HandleMonad h)) => h -> [CipherSuite] -> [(CertSecretKey, CertificateChain)] -> Maybe CertificateStore -> g -> HandleMonad h (Maybe (String -> Bool, SignedCertificate), (TChan ByteString, TChan ByteString))
- data CipherSuite
- = CipherSuite KeyEx BulkEnc
- | EMPTY_RENEGOTIATION_INFO
- | CipherSuiteRaw Word8 Word8
- data KeyEx
- = RSA
- | DHE_RSA
- | ECDHE_RSA
- | ECDHE_ECDSA
- | KE_NULL
- data BulkEnc
- class HandleLike h => ValidateHandle h where
- validate :: h -> CertificateStore -> CertificateChain -> HandleMonad h [FailedReason]
- data CertSecretKey
- = RsaKey {
- rsaKey :: PrivateKey
- | EcdsaKey { }
- = RsaKey {
Basic
open :: (CPRG g, ValidateHandle h, MonadBaseControl IO (HandleMonad h)) => h -> [CipherSuite] -> [(CertSecretKey, CertificateChain)] -> Maybe CertificateStore -> g -> HandleMonad h (Maybe (String -> Bool, SignedCertificate), (TChan ByteString, TChan ByteString))Source
Cipher Suite
data CipherSuite Source
Constructors
| CipherSuite KeyEx BulkEnc | |
| EMPTY_RENEGOTIATION_INFO | |
| CipherSuiteRaw Word8 Word8 |
Instances
| Eq CipherSuite | |
| Read CipherSuite | |
| Show CipherSuite | |
| IsString CipherSuite | |
| Bytable CipherSuite |
Constructors
| RSA | |
| DHE_RSA | |
| ECDHE_RSA | |
| ECDHE_ECDSA | |
| KE_NULL |
Constructors
| AES_128_CBC_SHA | |
| AES_128_CBC_SHA256 | |
| BE_NULL |
Others
class HandleLike h => ValidateHandle h whereSource
Methods
validate :: h -> CertificateStore -> CertificateChain -> HandleMonad h [FailedReason]Source
Instances
| ValidateHandle Handle | |
| ValidateHandle h => ValidateHandle (DebugHandle h) |
data CertSecretKey Source
Constructors
| RsaKey | |
Fields
| |
| EcdsaKey | |
Fields | |
Instances
| Show CertSecretKey |