pike.git / lib / modules / SSL.pmod / Constants.pmod

version» Context lines:

pike.git/lib/modules/SSL.pmod/Constants.pmod:1: +    #pike __REAL_VERSION__      //! Protocol constants      //! Constants for specifying the versions of SSL/TLS to use.   //!   //! @seealso   //! @[Context]   enum ProtocolVersion {    PROTOCOL_SSL_3_0 = 0x300, //! SSL 3.0 - The original SSL3 draft version.
pike.git/lib/modules/SSL.pmod/Constants.pmod:125:   enum HashAlgorithm {    HASH_none = 0,    HASH_md5 = 1,    HASH_sha1 = 2,    HASH_sha224 = 3,    HASH_sha256 = 4,    HASH_sha384 = 5,    HASH_sha512 = 6,   }    + // Compatibility with Pike 8.0 + constant HASH_sha = HASH_sha1; +    //! Cipher operation modes.   enum CipherModes {    MODE_cbc = 0, //! CBC - Cipher Block Chaining mode.    MODE_ccm_8 = 1, //! CCM - Counter with 8 bit CBC-MAC mode.    MODE_ccm = 2, //! CCM - Counter with CBC-MAC mode.    MODE_gcm = 3, //! GCM - Galois Cipher Mode.    MODE_poly1305 = 4, //! Poly1305 - Used only with ChaCha20.   }      //! Lookup from @[HashAlgorithm] to corresponding @[Crypto.Hash].