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 Summary
Constructors Constructor Description PrepareActivationStepModel() -
Method Summary
Modifier and Type Method Description voidfromMap(java.util.Map<java.lang.String,java.lang.Object> context)Initialize object with given attribute map.java.util.Map<java.lang.String,java.lang.Object>getCustomAttributes()java.util.Map<java.lang.String,java.lang.String>getIdentityAttributes()java.util.Map<java.lang.String,java.lang.Object>toMap()Convert this object to map.Methods inherited from class io.getlime.security.powerauth.lib.cmd.steps.model.BaseStepModel
getResultStatus, getResultStatusObject, setResultStatus, setResultStatusObject, setVersion, setVersionMethods 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.model.data.ActivationData
getActivationName, getApplicationSecret, getDeviceInfo, getMasterPublicKey, getPassword, getPlatformMethods inherited from interface io.getlime.security.powerauth.lib.cmd.steps.model.data.BaseStepData
getHeaders, getResultStatusObject, getUriString, getVersionMethods inherited from interface io.getlime.security.powerauth.lib.cmd.steps.model.data.EncryptionHeaderData
getApplicationKeyMethods inherited from interface io.getlime.security.powerauth.lib.cmd.steps.model.feature.ResultStatusChangeable
getResultStatus, getStatusFileName, setResultStatus
-
Constructor Details
-
PrepareActivationStepModel
public PrepareActivationStepModel()
-
-
Method Details
-
getCustomAttributes
public java.util.Map<java.lang.String,java.lang.Object> getCustomAttributes()- Specified by:
getCustomAttributesin interfaceActivationData- Returns:
- Custom attributes.
-
getIdentityAttributes
public java.util.Map<java.lang.String,java.lang.String> getIdentityAttributes()- Specified by:
getIdentityAttributesin interfaceActivationData- Returns:
- Identity attributes.
-
toMap
public java.util.Map<java.lang.String,java.lang.Object> toMap()Description copied from class:BaseStepModelConvert this object to map.- Specified by:
toMapin interfaceBaseStepData- Overrides:
toMapin classBaseStepModel- Returns:
- Map representing this object.
-
fromMap
public void fromMap(java.util.Map<java.lang.String,java.lang.Object> context)Description copied from class:BaseStepModelInitialize object with given attribute map.- Specified by:
fromMapin interfaceBaseStepData- Overrides:
fromMapin classBaseStepModel- Parameters:
context- Context with attributes.
-