tls-1.3.11: TLS/SSL protocol native implementation (Server and Client)

License | BSD-style
Maintainer | Vincent Hanquez <vincent@snarc.org>
Stability | experimental
Portability | unknown
Safe Haskell | None
Language | Haskell98

Network.TLS.Extra.Cipher

Contents

- cipher suite
- individual ciphers
- obsolete and non-standard ciphers

Description

Synopsis

- ciphersuite_default :: [Cipher]
- ciphersuite_all :: [Cipher]
- ciphersuite_medium :: [Cipher]
- ciphersuite_strong :: [Cipher]
- ciphersuite_unencrypted :: [Cipher]
- ciphersuite_dhe_rsa :: [Cipher]
- ciphersuite_dhe_dss :: [Cipher]
- cipher_null_SHA1 :: Cipher
- cipher_AES128_SHA1 :: Cipher
- cipher_AES256_SHA1 :: Cipher
- cipher_AES128_SHA256 :: Cipher
- cipher_AES256_SHA256 :: Cipher
- cipher_AES128GCM_SHA256 :: Cipher
- cipher_AES256GCM_SHA384 :: Cipher
- cipher_DHE_RSA_AES128_SHA1 :: Cipher
- cipher_DHE_RSA_AES256_SHA1 :: Cipher
- cipher_DHE_RSA_AES128_SHA256 :: Cipher
- cipher_DHE_RSA_AES256_SHA256 :: Cipher
- cipher_DHE_DSS_AES128_SHA1 :: Cipher
- cipher_DHE_DSS_AES256_SHA1 :: Cipher
- cipher_DHE_RSA_AES128GCM_SHA256 :: Cipher
- cipher_DHE_RSA_AES256GCM_SHA384 :: Cipher
- cipher_ECDHE_RSA_AES128GCM_SHA256 :: Cipher
- cipher_ECDHE_RSA_AES256GCM_SHA384 :: Cipher
- cipher_ECDHE_RSA_AES128CBC_SHA256 :: Cipher
- cipher_ECDHE_RSA_AES128CBC_SHA :: Cipher
- cipher_ECDHE_RSA_AES256CBC_SHA :: Cipher
- cipher_ECDHE_RSA_AES256CBC_SHA384 :: Cipher
- cipher_ECDHE_ECDSA_AES128CBC_SHA :: Cipher
- cipher_ECDHE_ECDSA_AES256CBC_SHA :: Cipher
- cipher_ECDHE_ECDSA_AES128CBC_SHA256 :: Cipher
- cipher_ECDHE_ECDSA_AES256CBC_SHA384 :: Cipher
- cipher_ECDHE_ECDSA_AES128GCM_SHA256 :: Cipher
- cipher_ECDHE_ECDSA_AES256GCM_SHA384 :: Cipher
- cipher_RSA_3DES_EDE_CBC_SHA1 :: Cipher
- cipher_RC4_128_MD5 :: Cipher
- cipher_RC4_128_SHA1 :: Cipher
- cipher_null_MD5 :: Cipher
- cipher_DHE_DSS_RC4_SHA1 :: Cipher

# cipher suite

ciphersuite_default :: [Cipher] Source #

All AES ciphers supported ordered from strong to weak. This choice of ciphersuites should satisfy most normal needs. For otherwise strong ciphers we make little distinction between AES128 and AES256, and list each but the weakest of the AES128 ciphers ahead of the corresponding AES256 ciphers.

ciphersuite_all :: [Cipher] Source #

The default ciphersuites + some not recommended last resort ciphers.

ciphersuite_medium :: [Cipher] Source #

list of medium ciphers.

ciphersuite_strong :: [Cipher] Source #

The strongest ciphers supported. For ciphers with PFS, AEAD and SHA2, we list each AES128 variant right after the corresponding AES256 variant. For weaker constructs, we use just the AES256 form.

ciphersuite_unencrypted :: [Cipher] Source #

all unencrypted ciphers, do not use on insecure network.

ciphersuite_dhe_rsa :: [Cipher] Source #

DHE-RSA cipher suite

ciphersuite_dhe_dss :: [Cipher] Source #

# individual ciphers

cipher_null_SHA1 :: Cipher Source #

unencrypted cipher using RSA for key exchange and SHA1 for digest

cipher_AES128_SHA1 :: Cipher Source #

AES cipher (128 bit key), RSA key exchange and SHA1 for digest

cipher_AES256_SHA1 :: Cipher Source #

AES cipher (256 bit key), RSA key exchange and SHA1 for digest

cipher_AES128_SHA256 :: Cipher Source #

AES cipher (128 bit key), RSA key exchange and SHA256 for digest

cipher_AES256_SHA256 :: Cipher Source #

AES cipher (256 bit key), RSA key exchange and SHA256 for digest

cipher_AES128GCM_SHA256 :: Cipher Source #

AESGCM cipher (128 bit key), RSA key exchange. The SHA256 digest is used as a PRF, not as a MAC.

cipher_AES256GCM_SHA384 :: Cipher Source #

AESGCM cipher (256 bit key), RSA key exchange. The SHA384 digest is used as a PRF, not as a MAC.

cipher_DHE_RSA_AES128_SHA1 :: Cipher Source #

AES cipher (128 bit key), DHE key exchanged signed by RSA and SHA1 for digest

cipher_DHE_RSA_AES256_SHA1 :: Cipher Source #

AES cipher (256 bit key), DHE key exchanged signed by RSA and SHA1 for digest

cipher_DHE_RSA_AES128_SHA256 :: Cipher Source #

cipher_DHE_RSA_AES256_SHA256 :: Cipher Source #

cipher_DHE_DSS_AES128_SHA1 :: Cipher Source #

AES cipher (128 bit key), DHE key exchanged signed by DSA and SHA1 for digest

cipher_DHE_DSS_AES256_SHA1 :: Cipher Source #

AES cipher (256 bit key), DHE key exchanged signed by DSA and SHA1 for digest

cipher_DHE_RSA_AES128GCM_SHA256 :: Cipher Source #

cipher_DHE_RSA_AES256GCM_SHA384 :: Cipher Source #

cipher_ECDHE_RSA_AES128GCM_SHA256 :: Cipher Source #

cipher_ECDHE_RSA_AES256GCM_SHA384 :: Cipher Source #

cipher_ECDHE_RSA_AES128CBC_SHA256 :: Cipher Source #

cipher_ECDHE_RSA_AES128CBC_SHA :: Cipher Source #

cipher_ECDHE_RSA_AES256CBC_SHA :: Cipher Source #

cipher_ECDHE_RSA_AES256CBC_SHA384 :: Cipher Source #

cipher_ECDHE_ECDSA_AES128CBC_SHA :: Cipher Source #

cipher_ECDHE_ECDSA_AES256CBC_SHA :: Cipher Source #

cipher_ECDHE_ECDSA_AES128CBC_SHA256 :: Cipher Source #

cipher_ECDHE_ECDSA_AES256CBC_SHA384 :: Cipher Source #

cipher_ECDHE_ECDSA_AES128GCM_SHA256 :: Cipher Source #

cipher_ECDHE_ECDSA_AES256GCM_SHA384 :: Cipher Source #

# obsolete and non-standard ciphers

cipher_RSA_3DES_EDE_CBC_SHA1 :: Cipher Source #

3DES cipher (168 bit key), RSA key exchange and SHA1 for digest

cipher_RC4_128_MD5 :: Cipher Source #

RC4 cipher, RSA key exchange and MD5 for digest

cipher_RC4_128_SHA1 :: Cipher Source #

RC4 cipher, RSA key exchange and SHA1 for digest

cipher_null_MD5 :: Cipher Source #

unencrypted cipher using RSA for key exchange and MD5 for digest

cipher_DHE_DSS_RC4_SHA1 :: Cipher Source #