Class PrepareActivationStepModel

java.lang.Object
io.getlime.security.powerauth.lib.cmd.steps.model.BaseStepModel
io.getlime.security.powerauth.lib.cmd.steps.model.PrepareActivationStepModel
All Implemented Interfaces:
ActivationData, BaseStepData, EncryptionHeaderData, ResultStatusChangeable

public class PrepareActivationStepModel
extends BaseStepModel
implements ActivationData, ResultStatusChangeable, EncryptionHeaderData
Model representing parameters of the step for preparing a new activation (key exchange).
Author:
Petr Dvorak, petr@wultra.com
  • Constructor Details

    • PrepareActivationStepModel

      public PrepareActivationStepModel()
  • Method Details

    • getCustomAttributes

      public java.util.Map<java.lang.String,​java.lang.Object> getCustomAttributes()
      Specified by:
      getCustomAttributes in interface ActivationData
      Returns:
      Custom attributes.
    • getIdentityAttributes

      public java.util.Map<java.lang.String,​java.lang.String> getIdentityAttributes()
      Specified by:
      getIdentityAttributes in interface ActivationData
      Returns:
      Identity attributes.
    • toMap

      public java.util.Map<java.lang.String,​java.lang.Object> toMap()
      Description copied from class: BaseStepModel
      Convert this object to map.
      Specified by:
      toMap in interface BaseStepData
      Overrides:
      toMap in class BaseStepModel
      Returns:
      Map representing this object.
    • fromMap

      public void fromMap​(java.util.Map<java.lang.String,​java.lang.Object> context)
      Description copied from class: BaseStepModel
      Initialize object with given attribute map.
      Specified by:
      fromMap in interface BaseStepData
      Overrides:
      fromMap in class BaseStepModel
      Parameters:
      context - Context with attributes.