Class TemporaryKeyUtil
java.lang.Object
io.getlime.security.powerauth.lib.cmd.util.TemporaryKeyUtil
Helper class for fetching temporary keys.
- Author:
- Roman Strobl, roman.strobl@wultra.com
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic voidfetchTemporaryKey(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.
-
Field Details
-
TEMPORARY_KEY_ID
Temporary key ID constant.- See Also:
-
TEMPORARY_PUBLIC_KEY
Temporary public key constant.- See Also:
-
-
Method Details
-
fetchTemporaryKey
public static void fetchTemporaryKey(PowerAuthStep step, StepContext<? extends BaseStepData, ?> stepContext, io.getlime.security.powerauth.crypto.lib.encryptor.model.EncryptorScope scope) throws ExceptionFetch temporary key for encryption from the server and store it into the step context.- Parameters:
step- Current step.stepContext- Step context.scope- Encryption scope.- Throws:
Exception- Thrown in case temporary key fetch fails.
-