Class PacketCipherChecks

java.lang.Object
org.bouncycastle.crypto.modes.PacketCipherChecks

public class PacketCipherChecks extends Object
  • Constructor Details

    • PacketCipherChecks

      public PacketCipherChecks()
  • Method Details

    • checkBoundsInput

      protected static void checkBoundsInput(byte[] input, int inOff, int len, byte[] output, int outOff) throws PacketCipherException
      Throws:
      PacketCipherException
    • checkKeyLength

      protected static void checkKeyLength(int keyLen) throws PacketCipherException
      Throws:
      PacketCipherException
    • checkKeyLenIllegalArgumentException

      protected static void checkKeyLenIllegalArgumentException(int keyLen)
    • checkKeyLengthExclude192

      protected static void checkKeyLengthExclude192(int keyLen) throws PacketCipherException
      Throws:
      PacketCipherException
    • checkKeyLenIllegalArgumentExceptionExclude192

      protected static void checkKeyLenIllegalArgumentExceptionExclude192(int keyLen)