pike.git / lib / modules / Protocols.pmod / HTTP.pmod / Server.pmod / SSLPort.pike

version» Context lines:

pike.git/lib/modules/Protocols.pmod/HTTP.pmod/Server.pmod/SSLPort.pike:81: Inside #if constant(SSL.Cipher.CipherAlgorithm)
   {    rsa = Crypto.RSA();    rsa->generate_key( 4096, random_string );       array attrs = ({    ([ "organizationName" : Standards.ASN1.Types.PrintableString("Pike TLS server") ]),    ([ "commonName" : Standards.ASN1.Types.PrintableString("*") ]),    });       certificates = ({ -  Standards.X509.make_selfsigned_rsa_certificate(rsa, 3600*24*365, attrs) +  Standards.X509.make_selfsigned_certificate(rsa, 3600*24*365, attrs)    });    }       //!    void set_key(string skey)    {    rsa = Standards.PKCS.RSA.parse_private_key(skey);    }       //!