Class EncryptStep
java.lang.Object
io.getlime.security.powerauth.lib.cmd.steps.v2.AbstractBaseStepV2
io.getlime.security.powerauth.lib.cmd.steps.v2.EncryptStep
- All Implemented Interfaces:
BaseStep
@Component("encryptStepV2")
public class EncryptStep
extends AbstractBaseStepV2
Encrypt step encrypts request data using non-personalized end-to-end encryption.
PowerAuth protocol versions:
- 2.0
- 2.1
- Author:
- Roman Strobl, roman.strobl@wultra.com
-
Field Summary
Fields inherited from class io.getlime.security.powerauth.lib.cmd.steps.v2.AbstractBaseStepV2
DEFAULT_STEP_LOGGER, stepLogger -
Constructor Summary
Constructors Constructor Description EncryptStep()Constructor for backward compatibilityEncryptStep(StepLogger stepLogger)Constructor -
Method Summary
Modifier and Type Method Description ResultStatusObjectexecute(Map<String,Object> context)Execute this step with given context.Methods inherited from class io.getlime.security.powerauth.lib.cmd.steps.v2.AbstractBaseStepV2
executeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.getlime.security.powerauth.lib.cmd.steps.BaseStep
getStep, getSupportedVersions
-
Constructor Details
-
EncryptStep
Constructor- Parameters:
stepLogger- Step logger
-
EncryptStep
public EncryptStep()Constructor for backward compatibility
-
-
Method Details
-
execute
Execute this step with given context.- Parameters:
context- Provided context.- Returns:
- Result status object, null in case of failure.
- Throws:
Exception- In case of any error.
-