def create_asymmetric_key_pair(self, algorithm, length):
        if algorithm not in self._asymetric_key_algorithms.keys():
            raise exceptions.InvalidField(
                "The cryptographic algorithm ({0}) is not a supported "
                "asymmetric key algorithm.".format(algorithm)
            )

        engine_method = self._asymetric_key_algorithms.get(algorithm)
        return engine_method(length)
Create an asymmetric key pair.
dataset/ETHPy150Open OpenKMIP/PyKMIP/kmip/services/server/crypto/engine.py/CryptographyEngine.create_asymmetric_key_pair