Network.TLS.Extra.Cipher

tls-2.0.5: TLS protocol native implementation

Safe Haskell | None
Language | Haskell2010

Network.TLS.Extra.Cipher

Contents

- cipher suite
- individual ciphers

Synopsis

- ciphersuite_default :: [Cipher]
- ciphersuite_default_det :: [Cipher]
- ciphersuite_all :: [Cipher]
- ciphersuite_all_det :: [Cipher]
- ciphersuite_strong :: [Cipher]
- ciphersuite_strong_det :: [Cipher]
- cipher_ECDHE_RSA_AES128GCM_SHA256 :: Cipher
- cipher_ECDHE_RSA_AES256GCM_SHA384 :: Cipher
- cipher_ECDHE_RSA_CHACHA20POLY1305_SHA256 :: Cipher
- cipher_ECDHE_ECDSA_AES128CCM_SHA256 :: Cipher
- cipher_ECDHE_ECDSA_AES128CCM8_SHA256 :: Cipher
- cipher_ECDHE_ECDSA_AES128GCM_SHA256 :: Cipher
- cipher_ECDHE_ECDSA_AES256CCM_SHA256 :: Cipher
- cipher_ECDHE_ECDSA_AES256CCM8_SHA256 :: Cipher
- cipher_ECDHE_ECDSA_AES256GCM_SHA384 :: Cipher
- cipher_ECDHE_ECDSA_CHACHA20POLY1305_SHA256 :: Cipher
- cipher_TLS13_AES128GCM_SHA256 :: Cipher
- cipher_TLS13_AES256GCM_SHA384 :: Cipher
- cipher_TLS13_CHACHA20POLY1305_SHA256 :: Cipher
- cipher_TLS13_AES128CCM_SHA256 :: Cipher
- cipher_TLS13_AES128CCM8_SHA256 :: Cipher

# cipher suite

ciphersuite_default :: [Cipher] #

All AES and ChaCha20-Poly1305 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.

AEAD ciphers with equivalent security properties are ordered based on CPU hardware-acceleration support. If this dynamic runtime behavior is not desired, use `ciphersuite_default_det` instead.

ciphersuite_default_det :: [Cipher] #

Same as `ciphersuite_default`, but using deterministic preference not influenced by the CPU.

ciphersuite_all :: [Cipher] #

The default ciphersuites + some not recommended last resort ciphers.

AEAD ciphers with equivalent security properties are ordered based on CPU hardware-acceleration support. If this dynamic runtime behavior is not desired, use `ciphersuite_all_det` instead.

ciphersuite_all_det :: [Cipher] #

Same as `ciphersuite_all`, but using deterministic preference not influenced by the CPU.

ciphersuite_strong :: [Cipher] #

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

AEAD ciphers with equivalent security properties are ordered based on CPU hardware-acceleration support. If this dynamic runtime behavior is not desired, use `ciphersuite_strong_det` instead.

ciphersuite_strong_det :: [Cipher] #

Same as `ciphersuite_strong`, but using deterministic preference not influenced by the CPU.

# individual ciphers

cipher_ECDHE_RSA_AES128GCM_SHA256 :: Cipher #

cipher_ECDHE_RSA_AES256GCM_SHA384 :: Cipher #

cipher_ECDHE_RSA_CHACHA20POLY1305_SHA256 :: Cipher #

cipher_ECDHE_ECDSA_AES128CCM_SHA256 :: Cipher #

cipher_ECDHE_ECDSA_AES128CCM8_SHA256 :: Cipher #

cipher_ECDHE_ECDSA_AES128GCM_SHA256 :: Cipher #

cipher_ECDHE_ECDSA_AES256CCM_SHA256 :: Cipher #

cipher_ECDHE_ECDSA_AES256CCM8_SHA256 :: Cipher #

cipher_ECDHE_ECDSA_AES256GCM_SHA384 :: Cipher #

cipher_ECDHE_ECDSA_CHACHA20POLY1305_SHA256 :: Cipher #

cipher_TLS13_AES128GCM_SHA256 :: Cipher #

cipher_TLS13_AES256GCM_SHA384 :: Cipher #

cipher_TLS13_CHACHA20POLY1305_SHA256 :: Cipher #

cipher_TLS13_AES128CCM_SHA256 :: Cipher #

cipher_TLS13_AES128CCM8_SHA256 :: Cipher #