Lines Matching refs:InvalidKeyException
149 throws InvalidKeyException {
152 throw new InvalidKeyException("The key must not be null");
156 throw new InvalidKeyException("Key encoding must not be null");
158 throw new InvalidKeyException("The key must be " +
306 * @exception InvalidKeyException if the given key is inappropriate for
310 throws InvalidKeyException {
335 * @exception InvalidKeyException if the given key is inappropriate for
343 throws InvalidKeyException, InvalidAlgorithmParameterException {
352 throws InvalidKeyException, InvalidAlgorithmParameterException {
504 * @exception InvalidKeyException if <code>key</code> is invalid.
506 protected int engineGetKeySize(Key key) throws InvalidKeyException {
509 throw new InvalidKeyException("Invalid AES key length: " +
527 * @exception InvalidKeyException if it is impossible or unsafe to
532 throws IllegalBlockSizeException, InvalidKeyException {
553 * @exception InvalidKeyException if <code>wrappedKey</code> does not
560 throws InvalidKeyException, NoSuchAlgorithmException {