;ň = ÄDc@sPdkZydklZWnej oed‚nXdfd„ƒYZdS(N(sSSLs&PyOpenSSL must be installed to use SSLsSBSSLContextFactorycBstZdZd„ZRS(s1 Context for providing SSL wrapping with OpenSSL cCsŐtitiƒ}|iiid}d|ti |ii dƒf}d|ti |ii dƒf}|iii id||ƒy|i|ƒWntd‚nXy|i|ƒWntd‚nX|SdS( scCreate an SSL context. This is a sample implementation that loads a certificate from a fileskeys.ssls%s%s%sskeys.sslCertificateFileskeys.sslKeyFiles!Using SSL keyfile %s, certfile %ss&Your SSL key file is missing or faultys.Your SSL certificate file is missing or faultyN(sSSLsContexts SSLv23_METHODsctxsselfscbs datapathssssldirsosssepsmainRegistryValuesfilepathskeypathslogsdebugsuse_certificate_files Exceptionsuse_privatekey_file(sselfsfilepathsssldirsctxskeypath((s./Gateway/gwssl.pys getContext's ""   (s__name__s __module__s__doc__s getContext(((s./Gateway/gwssl.pysSBSSLContextFactory%s (sossOpenSSLsSSLs ImportErrors ExceptionsSBSSLContextFactory(sSSLsossSBSSLContextFactory((s./Gateway/gwssl.pys?s