

@classmethod
def fromFile(cls, filePath):
    "\n        Load parameters from a file.\n\n        Such a file can be generated using the C{openssl} command line tool as\n        following:\n\n        C{openssl dhparam -out dh_param_1024.pem -2 1024}\n\n        Please refer to U{OpenSSL's C{dhparam} documentation\n        <http://www.openssl.org/docs/apps/dhparam.html>} for further details.\n\n        @param filePath: A file containing parameters for Diffie-Hellman key\n            exchange.\n        @type filePath: L{FilePath <twisted.python.filepath.FilePath>}\n\n        @return: A instance that loads its parameters from C{filePath}.\n        @rtype: L{DiffieHellmanParameters\n            <twisted.internet.ssl.DiffieHellmanParameters>}\n        "
    return cls(cls)

dataset/ETHPy150Open hynek/pem/src/pem/twisted.py _DiffieHellmanParameters.fromFile/VarMisuse@20/271 `filePath`->`cls`