Module SSL.Constants
- Description
Protocol constants
- Constant
ALERT_deprecated
constantSSL.Constants.ALERT_deprecated- Description
Mapping from AlertMessage to ProtocolVersion where the alert was deprecated.
- Constant
ALERT_descriptions
constantSSL.Constants.ALERT_descriptions- Description
Mapping from AlertMessage to a descriptive string.
- 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.
CipherMode3Optionally 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 CipherAlgorithm to effective key length.
- Constant
ECC_CURVES
constantSSL.Constants.ECC_CURVES- Description
Lookup from NamedGroup to Pike module implementing Crypto.ECC.Curve.
- See also
- Constant
ECC_NAME_TO_CURVE
constantSSL.Constants.ECC_NAME_TO_CURVE- Description
Lookup for Pike ECC name to NamedGroup.
- Constant
FFDHE_GROUPS
constantSSL.Constants.FFDHE_GROUPS- Description
Lookup from NamedGroup to Crypto.DH.Parameters object.
- See also
- 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.
- Constant
MODP_GROUPS
constantSSL.Constants.MODP_GROUPS- Description
Lookup from NamedGroup to Crypto.DH.Parameters object.
These groups have equivalent strength to the FFDHE_GROUPS, but don't have codepoints of their own. As they are popular groups to use for DHE, we also allow them.
- See also
- Constant
PROTOCOL_TLS_MAX
constantSSL.Constants.PROTOCOL_TLS_MAX- Description
Max supported TLS version.
- Variable
pkcs_der_to_sign_alg
mapping(string(8bit):SignatureScheme) SSL.Constants.pkcs_der_to_sign_alg- Description
Lookup from PKCS DER encoded string to SignatureScheme.