Safe Haskell | None |
---|
- open :: (CPRG g, ValidateHandle h, MonadBaseControl IO (HandleMonad h)) => h -> [CipherSuite] -> [(CertSecretKey, CertificateChain)] -> CertificateStore -> g -> HandleMonad h ((String -> Bool, SignedCertificate), (TChan ByteString, TChan ByteString))
- open' :: (CPRG g, ValidateHandle h, MonadBaseControl IO (HandleMonad h)) => h -> String -> [CipherSuite] -> [(CertSecretKey, CertificateChain)] -> CertificateStore -> g -> HandleMonad h (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)] -> 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 CipherSuite Source
CipherSuite KeyEx BulkEnc | |
EMPTY_RENEGOTIATION_INFO | |
CipherSuiteRaw Word8 Word8 |
Eq CipherSuite | |
Read CipherSuite | |
Show CipherSuite | |
IsString CipherSuite | |
Bytable CipherSuite |
Others
class HandleLike h => ValidateHandle h whereSource
validate :: h -> CertificateStore -> CertificateChain -> HandleMonad h [FailedReason]Source
ValidateHandle Handle | |
ValidateHandle h => ValidateHandle (DebugHandle h) |
data CertSecretKey Source
Show CertSecretKey |