/dalvik/libcore/crypto/src/main/java/javax/crypto/ |
H A D | ShortBufferException.java | 31 public class ShortBufferException extends GeneralSecurityException { class in inherits:GeneralSecurityException 39 * Creates a new instance of {@code ShortBufferException} with the 45 public ShortBufferException(String msg) { method in class:ShortBufferException 50 * Creates a new instance of {@code ShortBufferException}. 52 public ShortBufferException() { method in class:ShortBufferException
|
H A D | CipherSpi.java | 293 * a {@code ShortBufferException} is thrown. Use 308 * @throws ShortBufferException 313 throws ShortBufferException; 321 * bytes a {@code ShortBufferException} is thrown. Use 330 * @throws ShortBufferException 334 throws ShortBufferException { 359 throw new ShortBufferException(Messages.getString("crypto.0E")); //$NON-NLS-1$ 364 throw new ShortBufferException(Messages.getString("crypto.0F", e)); //$NON-NLS-1$ 410 * @throws ShortBufferException 420 throws ShortBufferException, IllegalBlockSizeExceptio [all...] |
H A D | ExemptionMechanismSpi.java | 57 * @throws ShortBufferException 63 int outputOffset) throws ShortBufferException,
|
H A D | KeyAgreementSpi.java | 80 * @throws ShortBufferException 84 throws IllegalStateException, ShortBufferException;
|
H A D | Mac.java | 350 * @throws ShortBufferException 359 throws ShortBufferException, IllegalStateException { 364 throw new ShortBufferException(Messages.getString("crypto.08")); //$NON-NLS-1$ 367 throw new ShortBufferException(Messages.getString("crypto.09", //$NON-NLS-1$ 372 throw new ShortBufferException(
|
H A D | ExemptionMechanism.java | 331 * @throws ShortBufferException 337 throws IllegalStateException, ShortBufferException, 354 * @throws ShortBufferException 360 throws IllegalStateException, ShortBufferException,
|
H A D | Cipher.java | 905 * a {@code ShortBufferException} is thrown. Use 918 * @throws ShortBufferException 929 byte[] output) throws ShortBufferException { 938 * a {@code ShortBufferException} is thrown. Use 953 * @throws ShortBufferException 964 byte[] output, int outputOffset) throws ShortBufferException { 998 * bytes a {@code ShortBufferException} is thrown. Use 1007 * @throws ShortBufferException 1017 throws ShortBufferException { 1070 * @throws ShortBufferException [all...] |
H A D | KeyAgreement.java | 295 * @throws ShortBufferException 299 throws IllegalStateException, ShortBufferException {
|
/dalvik/libcore/crypto/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/serialization/ |
H A D | ShortBufferExceptionTest.java | 25 import javax.crypto.ShortBufferException; 31 * Test for ShortBufferException serialization 42 return new Object[] { new ShortBufferException(), 43 new ShortBufferException(null), new ShortBufferException(msgs[1]) };
|
/dalvik/libcore/crypto/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
H A D | ShortBufferExceptionTest.java | 30 import javax.crypto.ShortBufferException; 34 @TestTargetClass(ShortBufferException.class) 36 * Tests for <code>ShortBufferException</code> class constructors and methods. 49 * Test for <code>ShortBufferException()</code> constructor Assertion: 50 * constructs ShortBufferException with no detail message 55 method = "ShortBufferException", 59 ShortBufferException tE = new ShortBufferException(); 65 * Test for <code>ShortBufferException(String)</code> constructor 66 * Assertion: constructs ShortBufferException wit [all...] |
H A D | CipherSpiTest.java | 40 import javax.crypto.ShortBufferException; 63 int outputOffset) throws ShortBufferException, IllegalBlockSizeException, 123 int outputOffset) throws ShortBufferException { 155 BadPaddingException, ShortBufferException { 239 * throws ShortBufferException is there is no space in output to hold result 247 public void testCipherSpi05() throws ShortBufferException { 276 fail("ShortBufferException bust be thrown. Output buffer remaining: " 278 } catch (ShortBufferException e) { 297 * throws ShortBufferException is there is no space in output to hold result 306 ShortBufferException, IllegalBlockSizeExceptio [all...] |
H A D | KeyAgreementSpiTest.java | 34 import javax.crypto.ShortBufferException; 72 throws IllegalStateException, ShortBufferException { 100 ShortBufferException, NoSuchAlgorithmException,
|
H A D | ExemptionMechanismSpiTest.java | 40 import javax.crypto.ShortBufferException; 62 protected int engineGenExemptionBlob(byte[] output, int outputOffset) throws ShortBufferException, ExemptionMechanismException {
|
H A D | ExemptionMechanismTest.java | 43 import javax.crypto.ShortBufferException; 259 throws ShortBufferException, ExemptionMechanismException { 262 throw new ShortBufferException(); 331 ExemptionMechanismException, ShortBufferException { 356 fail("ShortBufferException expected"); 357 } catch (ShortBufferException e) { 386 ExemptionMechanismException, ShortBufferException { 411 fail("ShortBufferException expected"); 412 } catch (ShortBufferException e) {
|
H A D | MacTest.java | 42 import javax.crypto.ShortBufferException; 353 notes = "Checks IllegalStateException only but for all methods. Not enough for doFinal(byte[] output, int outOffset) - it can throw ShortBufferException", 359 notes = "Checks IllegalStateException only but for all methods. Not enough for doFinal(byte[] output, int outOffset) - it can throw ShortBufferException", 366 notes = "Checks IllegalStateException only but for all methods. Not enough for doFinal(byte[] output, int outOffset) - it can throw ShortBufferException", 372 notes = "Checks IllegalStateException only but for all methods. Not enough for doFinal(byte[] output, int outOffset) - it can throw ShortBufferException", 378 notes = "Checks IllegalStateException only but for all methods. Not enough for doFinal(byte[] output, int outOffset) - it can throw ShortBufferException", 384 notes = "Checks IllegalStateException only but for all methods. Not enough for doFinal(byte[] output, int outOffset) - it can throw ShortBufferException", 391 notes = "Checks IllegalStateException only but for all methods. Not enough for doFinal(byte[] output, int outOffset) - it can throw ShortBufferException", 397 notes = "Checks IllegalStateException only but for all methods. Not enough for doFinal(byte[] output, int outOffset) - it can throw ShortBufferException", 403 notes = "Checks IllegalStateException only but for all methods. Not enough for doFinal(byte[] output, int outOffset) - it can throw ShortBufferException", [all...] |
H A D | CipherTest.java | 62 import javax.crypto.ShortBufferException; 768 fail("ShortBufferException expected"); 769 } catch (ShortBufferException e) { 840 fail("No expected ShortBufferException"); 841 } catch (ShortBufferException e) { 949 InvalidKeyException, ShortBufferException, BadPaddingException, 1022 fail("No expected ShortBufferException"); 1023 } catch (ShortBufferException e) { 1256 ShortBufferException, InvalidAlgorithmParameterException { 1324 fail("No expected ShortBufferException"); [all...] |
H A D | KeyAgreementTest.java | 46 import javax.crypto.ShortBufferException; 905 fail("ShortBufferException expected"); 906 } catch (ShortBufferException e) {
|
/dalvik/libcore/crypto/src/main/java/org/apache/harmony/crypto/internal/ |
H A D | NullCipherSpi.java | 38 import javax.crypto.ShortBufferException; 110 byte[] output, int outputOffset) throws ShortBufferException { 120 throws ShortBufferException { 128 throw new ShortBufferException(Messages.getString("crypto.0F", e)); //$NON-NLS-1$ 144 byte[] output, int outputOffset) throws ShortBufferException, 153 throws ShortBufferException, IllegalBlockSizeException,
|
/dalvik/libcore/crypto/src/test/java/org/apache/harmony/crypto/tests/support/ |
H A D | MyCipher.java | 36 import javax.crypto.ShortBufferException; 105 byte[] output, int outputOffset) throws ShortBufferException { 117 byte[] output, int outputOffset) throws ShortBufferException,
|
H A D | MyKeyAgreementSpi.java | 34 import javax.crypto.ShortBufferException; 60 throws IllegalStateException, ShortBufferException {
|
H A D | MyExemptionMechanismSpi.java | 33 import javax.crypto.ShortBufferException; 56 throws ShortBufferException, ExemptionMechanismException {
|
/dalvik/libcore/security/src/main/java/org/bouncycastle/jce/provider/ |
H A D | JCEDHKeyAgreement.java | 12 import javax.crypto.ShortBufferException; 97 throws IllegalStateException, ShortBufferException 108 throw new ShortBufferException("DHKeyAgreement - buffer too short");
|
H A D | JCEStreamCipher.java | 13 import javax.crypto.ShortBufferException; 322 throws ShortBufferException 332 throw new ShortBufferException(e.getMessage());
|
H A D | WrapCipherSpi.java | 22 import javax.crypto.ShortBufferException; 239 throws ShortBufferException 254 // added ShortBufferException to throws statement 261 throws IllegalBlockSizeException, BadPaddingException, ShortBufferException 301 // added ShortBufferException to throws statement
|
H A D | JCEBlockCipher.java | 17 import javax.crypto.ShortBufferException; 617 throws ShortBufferException 625 throw new ShortBufferException(e.getMessage()); 669 throws IllegalBlockSizeException, BadPaddingException, ShortBufferException 672 // added ShortBufferException to the throws statement 680 throw new ShortBufferException("need at least " + outputLen + " bytes");
|