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

version» Context lines:

pike.git/lib/modules/SSL.pmod/Session.pike:383:    }    }       return set_cipher_suite(suite, version, signature_algorithms,    max_hash_size);   }      //! Sets the proper authentication method and cipher specification   //! for the given parameters.   //! - //! @param client_suites - //! The set of cipher suites that the client claims to support. + //! @param suite + //! The cipher suite to use, selected from the set that the client + //! claims to support.   //!   //! @param version   //! The SSL protocol version to use.   //!   //! @param signature_algorithms - //! The set of signature algorithms tuples that the client claims to support. + //! The set of signature algorithms tuples that the client claims to + //! support. + //! + //! @param max_hash_size + //!   int set_cipher_suite(int suite, ProtocolVersion|int version,    array(array(int)) signature_algorithms,    int max_hash_size)   {    array res = Cipher.lookup(suite, version, signature_algorithms,    truncated_hmac?512:max_hash_size);    if (!res) return 0;    cipher_suite = suite;    ke_method = [int]res[0];    switch(ke_method) {