Module SSL.Constants
- Description
Protocol constants
- Constant
AUTHLEVEL_ask
constant
int
SSL.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
constant
int
SSL.Constants.AUTHLEVEL_none
- Description
Don't request nor check any certificate.
- Constant
AUTHLEVEL_require
constant
int
SSL.Constants.AUTHLEVEL_require
- Description
Require other party to send a valid certificate.
- Constant
AUTHLEVEL_verify
constant
int
SSL.Constants.AUTHLEVEL_verify
- Description
Don't request, but verify any certificate.
- Constant
CIPHER_SUITES
constant
SSL.Constants.CIPHER_SUITES
- Description
A mapping from cipher suite identifier to an array defining the algorithms to be used in that suite.
Array KeyExchangeType
0
The key exchange algorithm to be used for this suite, or 0. E.g. KE_rsa.
int
1
The cipher algorithm to be used for this suite, or 0. E.g.
CIPHER_aes
.HashAlgorithm
2
The hash algorithm to be used for this suite, or 0. E.g. HASH_sha1.
CipherModes
3
Optionally for TLS 1.2 and later cipher suites the mode of operation. E.g. MODE_cbc.
- Constant
CIPHER_effective_keylengths
constant
SSL.Constants.CIPHER_effective_keylengths
- Description
Mapping from cipher algorithm to effective key length.
- Constant
ECC_NAME_TO_CURVE
constant
SSL.Constants.ECC_NAME_TO_CURVE
- Description
Lookup for Pike ECC name to NamedGroup.
- Constant
HASH_lookup
constant
SSL.Constants.HASH_lookup
- Description
Lookup from HashAlgorithm to corresponding Crypto.Hash.
- Constant
KE_Anonymous
constant
SSL.Constants.KE_Anonymous
- Description
Lists KeyExchangeType that doesn't require certificates.