Portability | unknown |
---|---|
Stability | experimental |
Maintainer | Vincent Hanquez <vincent@snarc.org> |
the Struct module contains all definitions and values of the TLS protocol
Documentation
type Bytes = ByteStringSource
data CipherData Source
data CertificateType Source
data HashAlgorithm Source
data SignatureAlgorithm Source
data ProtocolType Source
Eq TLSError | |
Show TLSError | |
Error TLSError | |
MonadError TLSError Get | |
MonadError TLSError TLSRead |
data ServerRSAParams Source
type FinishedData = [Word8]Source
data AlertLevel Source
data AlertDescription Source
data HandshakeType Source
ClientHello !Version !ClientRandom !Session ![CipherID] ![CompressionID] (Maybe [Extension]) | |
ServerHello !Version !ServerRandom !Session !CipherID !CompressionID (Maybe [Extension]) | |
Certificates [Certificate] | |
HelloRequest | |
ServerHelloDone | |
ClientKeyXchg Version ClientKeyData | |
ServerKeyXchg ServerKeyXchgAlgorithmData | |
CertRequest [CertificateType] (Maybe [(HashAlgorithm, SignatureAlgorithm)]) [Word8] | |
CertVerify [Word8] | |
Finished FinishedData |
numericalVer :: Version -> (Word8, Word8)Source
class TypeValuable a whereSource