Package org.bouncycastle.crypto.modes
Class PacketCipherChecks
java.lang.Object
org.bouncycastle.crypto.modes.PacketCipherChecks
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static voidcheckBoundsInput(byte[] input, int inOff, int len, byte[] output, int outOff) protected static voidcheckKeyLength(int keyLen) protected static voidcheckKeyLengthExclude192(int keyLen) protected static voidcheckKeyLenIllegalArgumentException(int keyLen) protected static voidcheckKeyLenIllegalArgumentExceptionExclude192(int keyLen)
-
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
- Throws:
PacketCipherException
-
checkKeyLenIllegalArgumentException
protected static void checkKeyLenIllegalArgumentException(int keyLen) -
checkKeyLengthExclude192
- Throws:
PacketCipherException
-
checkKeyLenIllegalArgumentExceptionExclude192
protected static void checkKeyLenIllegalArgumentExceptionExclude192(int keyLen)
-