Class ARIA.WrapParameters

java.lang.Object
org.bouncycastle.crypto.general.GeneralParameters<GeneralAlgorithm>
org.bouncycastle.crypto.general.ARIA.WrapParameters
All Implemented Interfaces:
Parameters, ParametersWithIV
Enclosing class:
ARIA

public static final class ARIA.WrapParameters extends GeneralParameters<GeneralAlgorithm> implements ParametersWithIV
ARIA WRAP operator parameters for KW and KWP.
  • Method Details

    • withUsingInverseFunction

      public ARIA.WrapParameters withUsingInverseFunction(boolean useInverse)
    • withIV

      public ARIA.WrapParameters withIV(byte[] iv)
      Description copied from interface: ParametersWithIV
      Create a new parameter set with a different IV.
      Specified by:
      withIV in interface ParametersWithIV
      Parameters:
      iv - the IV to use.
      Returns:
      a copy of the current parameter set with the new IV.
    • withIV

      public ARIA.WrapParameters withIV(SecureRandom random)
      Description copied from interface: ParametersWithIV
      Create a new parameter set with a different IV based on the output of the passed in random.
      Specified by:
      withIV in interface ParametersWithIV
      Parameters:
      random - the SecureRandom to use as the source of IV data.
      Returns:
      a copy of the current parameter set with the new IV.
    • getIV

      public byte[] getIV()
      Description copied from interface: ParametersWithIV
      Return the initialization vector associated with this parameter set.
      Specified by:
      getIV in interface ParametersWithIV
      Returns:
      the IV for these parameters.
    • isUsingInverseFunction

      public boolean isUsingInverseFunction()