java.lang.Object
io.getlime.security.powerauth.lib.cmd.steps.v3.EncryptStep
All Implemented Interfaces:
BaseStep

public class EncryptStep
extends java.lang.Object
implements BaseStep
Encrypt step encrypts request data using ECIES encryption in application or activation scope.

PowerAuth protocol versions:

  • 3.0
  • 3.1
Author:
Roman Strobl, roman.strobl@wultra.com
  • Constructor Summary

    Constructors
    Constructor Description
    EncryptStep()  
  • Method Summary

    Modifier and Type Method Description
    org.json.simple.JSONObject execute​(StepLogger stepLogger, java.util.Map<java.lang.String,​java.lang.Object> context)
    Execute this step with given context.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • EncryptStep

      public EncryptStep()
  • Method Details

    • execute

      public org.json.simple.JSONObject execute​(StepLogger stepLogger, java.util.Map<java.lang.String,​java.lang.Object> context) throws java.lang.Exception
      Execute this step with given context.
      Specified by:
      execute in interface BaseStep
      Parameters:
      stepLogger - Step logger.
      context - Provided context.
      Returns:
      Result status object, null in case of failure.
      Throws:
      java.lang.Exception - In case of any error.