def decrypt(self, enctext, key_file=None, passphrase=None):
        if key_file is None or len(key_file.strip()) == 0:
            key_file = self.key_file

        if passphrase is None:
            passphrase = self.key_file_passphrase

        return self.crypto.decrypt(enctext, key_file, passphrase)
Adds an error to the Action's Step based on API issues.
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/pysaml2-2.4.0/src/saml2/sigver.py/SecurityContext.decrypt--crossover with--dataset/ETHPy150Open Havate/havate-openstack/proto-build/gui/horizon/Horizon_GUI/horizon/workflows/base.py/Action.add_error