'@param privateKeyFileName: Name of a file containing a private key
@param certificateFileName: Name of a file containing a certificate
@param sslmethod: The SSL method to use'

def __init__(self, privateKeyFileName, certificateFileName, sslmethod=SSL.SSLv23_METHOD, _contextFactory=SSL.Context):

    self.privateKeyFileName = privateKeyFileName
    self.certificateFileName = certificateFileName
    self.sslmethod = sslmethod
    self._contextFactory = _contextFactory
    self.cacheContext()
