Module SSL.Constants
- Description
Protocol constants
- Constant
AUTHLEVEL_ask
constantintSSL.Constants.AUTHLEVEL_ask- Description
As a server, request a certificate, but don't require a response. This AUTHLEVEL is not relevant for clients.
- Constant
AUTHLEVEL_none
constantintSSL.Constants.AUTHLEVEL_none- Description
Don't request nor check any certificate.
- Constant
AUTHLEVEL_require
constantintSSL.Constants.AUTHLEVEL_require- Description
Require other party to send a valid certificate.
- Constant
AUTHLEVEL_verify
constantintSSL.Constants.AUTHLEVEL_verify- Description
Don't request, but verify any certificate.
- Constant
CIPHER_SUITES
constantSSL.Constants.CIPHER_SUITES- Description
A mapping from cipher suite identifier to an array defining the algorithms to be used in that suite.
Array KeyExchangeType0The key exchange algorithm to be used for this suite, or 0. E.g. KE_rsa.
int1The cipher algorithm to be used for this suite, or 0. E.g.
CIPHER_aes.HashAlgorithm2The hash algorithm to be used for this suite, or 0. E.g. HASH_sha1.
CipherModes3Optionally for TLS 1.2 and later cipher suites the mode of operation. E.g. MODE_cbc.
- Constant
CIPHER_effective_keylengths
constantSSL.Constants.CIPHER_effective_keylengths- Description
Mapping from cipher algorithm to effective key length.
- Constant
ECC_NAME_TO_CURVE
constantSSL.Constants.ECC_NAME_TO_CURVE- Description
Lookup for Pike ECC name to NamedGroup.
- Constant
HASH_lookup
constantSSL.Constants.HASH_lookup- Description
Lookup from HashAlgorithm to corresponding Crypto.Hash.
- Constant
KE_Anonymous
constantSSL.Constants.KE_Anonymous- Description
Lists KeyExchangeType that doesn't require certificates.