def test_create_asymmetric_key(self):
        engine = crypto.CryptographyEngine()
        public_key, private_key = engine.create_asymmetric_key_pair(
            enums.CryptographicAlgorithm.RSA,
            2048
        )

        self.assertIn('value', public_key)
        self.assertIn('format', public_key)
        self.assertIn('value', private_key)
        self.assertIn('format', private_key)
Test that an asymmetric key pair can be created with valid arguments.
dataset/ETHPy150Open OpenKMIP/PyKMIP/kmip/tests/unit/services/server/crypto/test_engine.py/TestCryptographyEngine.test_create_asymmetric_key