pike.git
/
lib
/
modules
/
SSL.pmod
/
Context.pike
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/lib/modules/SSL.pmod/Context.pike:63:
//! Defaults to @[PROTOCOL_TLS_MAX]. //! //! @note //! This value should not be less than @[min_version]. ProtocolVersion max_version = PROTOCOL_TLS_MAX; //! List of advertised protocols using using TLS application level //! protocol negotiation. array(string(8bit)) advertised_protocols;
+
//! Mapping of supported verifier algorithms to hash implementation.
+
//!
+
//! @seealso
+
//! @[Standards.X509.get_algorithms()]
+
mapping(Standards.ASN1.Types.Identifier:Crypto.Hash) verifier_algorithms
+
= filter(Standards.X509.get_algorithms(),
+
lambda(object o) {
+
return !(<
+
#if constant(Crypto.MD2)
+
Crypto.MD2,
+
#endif
+
Crypto.MD5,
+
Crypto.SHA1
+
>)[o];
+
});
+
//! The maximum amount of data that is sent in each SSL packet by //! @[File]. A value between 1 and @[Constants.PACKET_MAX_SIZE]. int packet_max_size = PACKET_MAX_SIZE; //! Lists the supported compression algorithms in order of preference. //! //! Defaults to @expr{({ COMPRESSION_null })@} due to SSL attacks that //! target compression. array(int) preferred_compressors = ({ COMPRESSION_null });