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

version» Context lines:

pike.git/lib/modules/SSL.pmod/Context.pike:20:   //!   //! Suitable self-signed certificates can be created with   //! @[Standards.X509.make_selfsigned_certificate()].   //! @item   //! Optionally call @[get_suites()] to get a set of cipher_suites   //! to assign to @[preferred_suites]. This is only needed if the   //! default set of suites from @expr{get_suites(128, 1)@} isn't   //! satisfactory.   //! @endul   //! - //! The initialized @[context] object is then passed to - //! @[sslfile()->create()] or used as is embedded in @[sslport]. + //! The initialized @[Context] object is then passed to + //! @[File()->create()] or used as is embedded in @[Port].   //!   //! @seealso - //! @[sslfile], @[sslport], @[Standards.X509] + //! @[File], @[Port], @[Standards.X509]      #ifdef SSL3_DEBUG   #define SSL3_DEBUG_MSG(X ...) werror(X)   #else /*! SSL3_DEBUG */   #define SSL3_DEBUG_MSG(X ...)   #endif /* SSL3_DEBUG */      import ".";   import Constants;   
pike.git/lib/modules/SSL.pmod/Context.pike:209:   array(int) preferred_suites;      //! Supported elliptical curve cipher curves in order of preference.   array(int) ecc_curves = reverse(sort(indices(ECC_CURVES)));      //! List of advertised protocols using using TLS application level   //! protocol negotiation.   array(string(8bit)) advertised_protocols;      //! The maximum amount of data that is sent in each SSL packet by - //! @[sslfile]. A value between 1 and - //! @[SSL.Constants.PACKET_MAX_SIZE]. + //! @[File]. A value between 1 and @[Constants.PACKET_MAX_SIZE].   int packet_max_size = PACKET_MAX_SIZE;      // The signature algorithms to use. According to RFC 5246 7.4.2 all   // certificates needs to be signed by any of the supported signature   // algorithms. This trivially means that any combinaton that doesn't   // have a PKCS identifier isn't allowed.   array(array(int)) signature_algorithms = ({   #if constant(Crypto.SHA512)   #if constant(Crypto.ECC.Curve)    ({ HASH_sha512, SIGNATURE_ecdsa }),