Class SignAndEncryptStep

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

public class SignAndEncryptStep
extends java.lang.Object
implements BaseStep
Sign and encrypt step signs request data and performs encryption using ECIES encryption in activation scope.

PowerAuth protocol versions:

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

    Constructors
    Constructor Description
    SignAndEncryptStep()  
  • 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

    • SignAndEncryptStep

      public SignAndEncryptStep()
  • 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.