Class TemporaryKeyUtil

java.lang.Object
io.getlime.security.powerauth.lib.cmd.util.TemporaryKeyUtil

public class TemporaryKeyUtil extends Object
Helper class for fetching temporary keys.
Author:
Roman Strobl, roman.strobl@wultra.com
  • Field Details

  • Method Details

    • fetchTemporaryKey

      public static void fetchTemporaryKey(PowerAuthStep step, StepContext<? extends BaseStepData,?> stepContext, io.getlime.security.powerauth.crypto.lib.encryptor.model.EncryptorScope scope) throws Exception
      Fetch 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.