Uses of Class
io.getlime.security.powerauth.lib.cmd.steps.context.StepContext
Packages that use StepContext
Package
Description
-
Uses of StepContext in io.getlime.security.powerauth.lib.cmd.header
Methods in io.getlime.security.powerauth.lib.cmd.header with parameters of type StepContextModifier and TypeMethodDescriptionvoidEncryptionHeaderProvider.addHeader(StepContext<? extends EncryptionHeaderData, ?> stepContext) Adds an encryption header to the request contextvoidPowerAuthHeaderProvider.addHeader(StepContext<? extends M, ?> stepContext) Adds PowerAuth header to the step contextvoidSignatureHeaderProvider.addHeader(StepContext<? extends SignatureHeaderData, ?> stepContext) Adds a signature header to the request contextvoidTokenAndEncryptionHeaderProvider.addHeader(StepContext<? extends TokenAndEncryptionHeaderData, ?> stepContext) Adds a token and encryption headers to the request contextvoidTokenHeaderProvider.addHeader(StepContext<? extends TokenHeaderData, ?> stepContext) Adds a token header to the request context -
Uses of StepContext in io.getlime.security.powerauth.lib.cmd.steps
Methods in io.getlime.security.powerauth.lib.cmd.steps that return StepContextModifier and TypeMethodDescriptionprotected final StepContext<M, R> AbstractBaseStep.buildStepContext(StepLogger stepLogger, M model, RequestContext requestContext) Builds a step context instance from a model and a request contextabstract StepContext<M, R> AbstractBaseStep.prepareStepContext(StepLogger stepLogger, Map<String, Object> context) Prepares a context for this step executionComputeOfflineSignatureStep.prepareStepContext(StepLogger stepLogger, Map<String, Object> context) StepContext<VerifySignatureStepModel, io.getlime.core.rest.model.base.response.ObjectResponse<Map<String, Object>>> VerifySignatureStep.prepareStepContext(StepLogger stepLogger, Map<String, Object> context) VerifyTokenStep.prepareStepContext(StepLogger stepLogger, Map<String, Object> context) Methods in io.getlime.security.powerauth.lib.cmd.steps with parameters of type StepContextModifier and TypeMethodDescriptionprotected voidAbstractActivationStep.addEncryptedRequest(StepContext<M, io.getlime.security.powerauth.rest.api.model.response.EciesEncryptedResponse> stepContext) Prepares ECIES encryptors and encrypts request data.voidAbstractBaseStep.addEncryptedRequest(StepContext<M, R> stepContext, io.getlime.security.powerauth.crypto.lib.encryptor.ClientEncryptor encryptor, byte[] data) Encrypts request data with given encryptor.voidAbstractBaseStep.addEncryptedRequest(StepContext<M, R> stepContext, String applicationKey, String applicationSecret, io.getlime.security.powerauth.crypto.lib.encryptor.model.EncryptorId encryptorId, byte[] data, io.getlime.security.powerauth.crypto.lib.encryptor.model.EncryptorScope scope) Prepares encryptor and encrypts request data with given encryptor.<T> TAbstractBaseStep.decryptResponse(StepContext<?, io.getlime.security.powerauth.rest.api.model.response.EciesEncryptedResponse> stepContext, Class<T> cls) Decrypts an object from a responsevoidAbstractBaseStep.fetchTemporaryKey(StepContext<M, R> stepContext, io.getlime.security.powerauth.crypto.lib.encryptor.model.EncryptorScope scope) Fetch temporary key for current request, if applicable.protected abstract io.getlime.security.powerauth.rest.api.model.request.ActivationLayer1RequestAbstractActivationStep.prepareLayer1Request(StepContext<M, io.getlime.security.powerauth.rest.api.model.response.EciesEncryptedResponse> stepContext, io.getlime.security.powerauth.rest.api.model.request.EciesEncryptedRequest encryptedRequestL2) Prepare activation layer 1 request which is decryptable on an intermediate servervoidAbstractActivationStep.processResponse(StepContext<M, io.getlime.security.powerauth.rest.api.model.response.EciesEncryptedResponse> stepContext) Processes the response dataAbstractActivationStep.processResponse(io.getlime.security.powerauth.rest.api.model.response.EciesEncryptedResponse encryptedResponseL1, StepContext<M, io.getlime.security.powerauth.rest.api.model.response.EciesEncryptedResponse> context) Processes response and updates the activation status objectvoidAbstractBaseStep.processResponse(StepContext<M, R> stepContext) Optional processing of the response datafinal voidAbstractBaseStep.processResponse(StepContext<M, R> stepContext, byte[] responseBody, Class<R> responseObjectClass) Processing of the response data bytesvoidVerifySignatureStep.processResponse(StepContext<VerifySignatureStepModel, io.getlime.core.rest.model.base.response.ObjectResponse<Map<String, Object>>> stepContext) voidVerifyTokenStep.processResponse(StepContext<VerifyTokenStepModel, Map<String, Object>> stepContext) -
Uses of StepContext in io.getlime.security.powerauth.lib.cmd.steps.v3
Methods in io.getlime.security.powerauth.lib.cmd.steps.v3 that return StepContextModifier and TypeMethodDescriptionStepContext<ActivationRecoveryStepModel, io.getlime.security.powerauth.rest.api.model.response.EciesEncryptedResponse> ActivationRecoveryStep.prepareStepContext(StepLogger stepLogger, Map<String, Object> context) StepContext<CommitUpgradeStepModel, io.getlime.core.rest.model.base.response.Response> CommitUpgradeStep.prepareStepContext(StepLogger stepLogger, Map<String, Object> context) StepContext<ConfirmRecoveryCodeStepModel, io.getlime.security.powerauth.rest.api.model.response.EciesEncryptedResponse> ConfirmRecoveryCodeStep.prepareStepContext(StepLogger stepLogger, Map<String, Object> context) StepContext<CreateActivationStepModel, io.getlime.security.powerauth.rest.api.model.response.EciesEncryptedResponse> CreateActivationStep.prepareStepContext(StepLogger stepLogger, Map<String, Object> context) StepContext<CreateTokenStepModel, io.getlime.security.powerauth.rest.api.model.response.EciesEncryptedResponse> CreateTokenStep.prepareStepContext(StepLogger stepLogger, Map<String, Object> context) StepContext<EncryptStepModel, io.getlime.security.powerauth.rest.api.model.response.EciesEncryptedResponse> EncryptStep.prepareStepContext(StepLogger stepLogger, Map<String, Object> context) StepContext<GetStatusStepModel, io.getlime.core.rest.model.base.response.ObjectResponse<io.getlime.security.powerauth.rest.api.model.response.ActivationStatusResponse>> GetStatusStep.prepareStepContext(StepLogger stepLogger, Map<String, Object> context) StepContext<PrepareActivationStepModel, io.getlime.security.powerauth.rest.api.model.response.EciesEncryptedResponse> PrepareActivationStep.prepareStepContext(StepLogger stepLogger, Map<String, Object> context) StepContext<RemoveStepModel, io.getlime.security.powerauth.rest.api.model.response.EciesEncryptedResponse> RemoveStep.prepareStepContext(StepLogger stepLogger, Map<String, Object> context) StepContext<RemoveTokenStepModel, io.getlime.core.rest.model.base.response.ObjectResponse<io.getlime.security.powerauth.rest.api.model.response.TokenRemoveResponse>> RemoveTokenStep.prepareStepContext(StepLogger stepLogger, Map<String, Object> context) StepContext<VerifySignatureStepModel, io.getlime.security.powerauth.rest.api.model.response.EciesEncryptedResponse> SignAndEncryptStep.prepareStepContext(StepLogger stepLogger, Map<String, Object> context) StepContext<StartUpgradeStepModel, io.getlime.security.powerauth.rest.api.model.response.EciesEncryptedResponse> StartUpgradeStep.prepareStepContext(StepLogger stepLogger, Map<String, Object> context) StepContext<TokenAndEncryptStepModel, io.getlime.security.powerauth.rest.api.model.response.EciesEncryptedResponse> TokenAndEncryptStep.prepareStepContext(StepLogger stepLogger, Map<String, Object> context) StepContext<VaultUnlockStepModel, io.getlime.security.powerauth.rest.api.model.response.EciesEncryptedResponse> VaultUnlockStep.prepareStepContext(StepLogger stepLogger, Map<String, Object> context) Methods in io.getlime.security.powerauth.lib.cmd.steps.v3 with parameters of type StepContextModifier and TypeMethodDescriptionprotected io.getlime.security.powerauth.rest.api.model.request.ActivationLayer1RequestActivationRecoveryStep.prepareLayer1Request(StepContext<ActivationRecoveryStepModel, io.getlime.security.powerauth.rest.api.model.response.EciesEncryptedResponse> stepContext, io.getlime.security.powerauth.rest.api.model.request.EciesEncryptedRequest encryptedRequestL2) protected io.getlime.security.powerauth.rest.api.model.request.ActivationLayer1RequestCreateActivationStep.prepareLayer1Request(StepContext<CreateActivationStepModel, io.getlime.security.powerauth.rest.api.model.response.EciesEncryptedResponse> stepContext, io.getlime.security.powerauth.rest.api.model.request.EciesEncryptedRequest encryptedRequestL2) protected io.getlime.security.powerauth.rest.api.model.request.ActivationLayer1RequestPrepareActivationStep.prepareLayer1Request(StepContext<PrepareActivationStepModel, io.getlime.security.powerauth.rest.api.model.response.EciesEncryptedResponse> stepContext, io.getlime.security.powerauth.rest.api.model.request.EciesEncryptedRequest encryptedRequestL2) voidCommitUpgradeStep.processResponse(StepContext<CommitUpgradeStepModel, io.getlime.core.rest.model.base.response.Response> stepContext) voidConfirmRecoveryCodeStep.processResponse(StepContext<ConfirmRecoveryCodeStepModel, io.getlime.security.powerauth.rest.api.model.response.EciesEncryptedResponse> stepContext) voidCreateTokenStep.processResponse(StepContext<CreateTokenStepModel, io.getlime.security.powerauth.rest.api.model.response.EciesEncryptedResponse> stepContext) voidEncryptStep.processResponse(StepContext<EncryptStepModel, io.getlime.security.powerauth.rest.api.model.response.EciesEncryptedResponse> stepContext) voidGetStatusStep.processResponse(StepContext<GetStatusStepModel, io.getlime.core.rest.model.base.response.ObjectResponse<io.getlime.security.powerauth.rest.api.model.response.ActivationStatusResponse>> stepContext) voidRemoveStep.processResponse(StepContext<RemoveStepModel, io.getlime.security.powerauth.rest.api.model.response.EciesEncryptedResponse> stepContext) voidRemoveTokenStep.processResponse(StepContext<RemoveTokenStepModel, io.getlime.core.rest.model.base.response.ObjectResponse<io.getlime.security.powerauth.rest.api.model.response.TokenRemoveResponse>> stepContext) voidSignAndEncryptStep.processResponse(StepContext<VerifySignatureStepModel, io.getlime.security.powerauth.rest.api.model.response.EciesEncryptedResponse> stepContext) voidStartUpgradeStep.processResponse(StepContext<StartUpgradeStepModel, io.getlime.security.powerauth.rest.api.model.response.EciesEncryptedResponse> stepContext) voidTokenAndEncryptStep.processResponse(StepContext<TokenAndEncryptStepModel, io.getlime.security.powerauth.rest.api.model.response.EciesEncryptedResponse> stepContext) voidVaultUnlockStep.processResponse(StepContext<VaultUnlockStepModel, io.getlime.security.powerauth.rest.api.model.response.EciesEncryptedResponse> stepContext) -
Uses of StepContext in io.getlime.security.powerauth.lib.cmd.util
Methods in io.getlime.security.powerauth.lib.cmd.util with parameters of type StepContextModifier and TypeMethodDescriptionstatic voidTemporaryKeyUtil.fetchTemporaryKey(PowerAuthStep step, StepContext<? extends BaseStepData, ?> stepContext, io.getlime.security.powerauth.crypto.lib.encryptor.model.EncryptorScope scope) Fetch temporary key for encryption from the server and store it into the step context.static voidSecurityUtil.processEncryptedResponse(StepContext<?, io.getlime.security.powerauth.rest.api.model.response.EciesEncryptedResponse> stepContext, String stepId) Process an encrypted response for a step.