java.lang.Object
io.github.tonywasher.joceanus.gordianknot.util.GordianUtilities

public final class GordianUtilities extends Object
Utilities.
  • Field Details

  • Method Details

    • getMaximumKeyWrapLength

      public static int getMaximumKeyWrapLength()
      Obtain Maximum KeyWrapLength.
      Returns:
      the maximum keyWrap size
    • getMaximumKeySetWrapLength

      public static int getMaximumKeySetWrapLength()
      Obtain Maximum KeyWrapLength.
      Returns:
      the maximum keyWrap size
    • getFactoryLockLen

      public static int getFactoryLockLen()
      Obtain FactoryLockLen.
      Returns:
      the factoryLock length
    • getKeySetEncryptionLength

      public static int getKeySetEncryptionLength(int pDataLength)
      Obtain Encryption length.
      Parameters:
      pDataLength - the length of data to be encrypted
      Returns:
      the length of encrypted data