/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
D | ShortBufferExceptionTest.java | 25 import javax.crypto.ShortBufferException; 47 ShortBufferException tE = new ShortBufferException(); in testShortBufferException01() 58 ShortBufferException tE; in testShortBufferException02() 60 tE = new ShortBufferException(msgs[i]); in testShortBufferException02() 74 ShortBufferException tE = new ShortBufferException(msg); in testShortBufferException03()
|
D | CipherSpiTest.java | 36 import javax.crypto.ShortBufferException; 59 int outputOffset) throws ShortBufferException, IllegalBlockSizeException, in engineDoFinal() 119 int outputOffset) throws ShortBufferException { in engineUpdate() 145 BadPaddingException, ShortBufferException { in testCipherSpiTests01() 214 public void testCipherSpi05() throws ShortBufferException { in testCipherSpi05() 245 } catch (ShortBufferException e) { in testCipherSpi05() 267 ShortBufferException, IllegalBlockSizeException { in testCipherSpi06() 296 } catch (ShortBufferException e) { in testCipherSpi06() 392 throws ShortBufferException { in testCrypt_outputSizeUpdatedAfterShortBufferException() 394 throw new ShortBufferException("to be caught in order to retry with a new" in testCrypt_outputSizeUpdatedAfterShortBufferException() [all …]
|
D | KeyAgreementSpiTest.java | 34 import javax.crypto.ShortBufferException; 66 throws IllegalStateException, ShortBufferException { in engineGenerateSecret() 88 ShortBufferException, NoSuchAlgorithmException, in testKeyAgreementSpi01()
|
D | ExemptionMechanismTest.java | 36 import javax.crypto.ShortBufferException; 180 throws ShortBufferException, ExemptionMechanismException { in engineGenExemptionBlob() 183 throw new ShortBufferException(); in engineGenExemptionBlob() 231 ExemptionMechanismException, ShortBufferException { in test_genExemptionBlob$B() 257 } catch (ShortBufferException e) { in test_genExemptionBlob$B() 271 ExemptionMechanismException, ShortBufferException { in test_genExemptionBlob$BI() 297 } catch (ShortBufferException e) { in test_genExemptionBlob$BI()
|
D | MockKeyAgreementSpi.java | 27 import javax.crypto.ShortBufferException; 69 throws IllegalStateException, ShortBufferException { in engineGenerateSecret()
|
D | CipherOutputStream1Test.java | 46 import javax.crypto.ShortBufferException; 277 int outputOffset) throws ShortBufferException { in engineUpdate() 287 } catch (ShortBufferException e) { in engineDoFinal() 296 throws ShortBufferException, IllegalBlockSizeException, BadPaddingException { in engineDoFinal()
|
D | ExemptionMechanismSpiTest.java | 35 import javax.crypto.ShortBufferException; 56 …nt engineGenExemptionBlob(byte[] output, int outputOffset) throws ShortBufferException, ExemptionM… in engineGenExemptionBlob()
|
D | CipherTest.java | 46 import javax.crypto.ShortBufferException; 500 } catch (ShortBufferException expected) { in testUpdatebyteArrayintintbyteArrayint() 551 } catch (ShortBufferException maybeExpected) { in testDoFinalbyteArrayintintbyteArrayint() 689 } catch (ShortBufferException expected) { in test_doFinalLjava_nio_ByteBufferLjava_nio_ByteBuffer() 894 } catch (ShortBufferException expected) { in test_updateLjava_nio_ByteBufferLjava_nio_ByteBuffer() 995 } catch (ShortBufferException expected) { in test_doFinal$BI() 1115 } catch (ShortBufferException expected) { in test_doFinal$BII$B() 1149 } catch (ShortBufferException expected) { in test_()
|
D | MacTest.java | 39 import javax.crypto.ShortBufferException; 358 } catch (ShortBufferException e) { in testMac09() 384 } catch (ShortBufferException e) { in testMac10() 389 } catch (ShortBufferException e) { in testMac10() 394 } catch (ShortBufferException e) { in testMac10() 399 } catch (ShortBufferException e) { in testMac10() 405 } catch (ShortBufferException e) { in testMac10()
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/serialization/ |
D | ShortBufferExceptionTest.java | 25 import javax.crypto.ShortBufferException; 42 return new Object[] { new ShortBufferException(), in getData() 43 new ShortBufferException(null), new ShortBufferException(msgs[1]) }; in getData()
|
/libcore/ojluni/src/main/java/javax/crypto/ |
D | ShortBufferException.java | 39 public class ShortBufferException extends GeneralSecurityException { class 48 public ShortBufferException() { in ShortBufferException() method in ShortBufferException 58 public ShortBufferException(String msg) { in ShortBufferException() method in ShortBufferException
|
D | CipherSpi.java | 520 throws ShortBufferException; in engineUpdate() 553 throws ShortBufferException { in engineUpdate() 669 throws ShortBufferException, IllegalBlockSizeException, in engineDoFinal() 728 throws ShortBufferException, IllegalBlockSizeException, in engineDoFinal() 745 boolean isUpdate) throws ShortBufferException, in bufferCrypt() 759 throw new ShortBufferException("Need at least " + outLenNeeded in bufferCrypt() 839 } catch (ShortBufferException e) { in bufferCrypt()
|
D | CipherInputStream.java | 134 } catch (ShortBufferException e) { in getMoreData() 145 } catch (ShortBufferException e) { in getMoreData()
|
D | KeyAgreementSpi.java | 176 throws IllegalStateException, ShortBufferException; in engineGenerateSecret()
|
D | ExemptionMechanismSpi.java | 169 throws ShortBufferException, ExemptionMechanismException; in engineGenExemptionBlob()
|
D | ExemptionMechanism.java | 431 throws IllegalStateException, ShortBufferException, in genExemptionBlob() 467 throws IllegalStateException, ShortBufferException, in genExemptionBlob()
|
D | Cipher.java | 1444 throws ShortBufferException { in update() 1502 throws ShortBufferException { in update() 1559 throws ShortBufferException { in update() 1673 throws IllegalBlockSizeException, ShortBufferException, in doFinal() 1857 throws ShortBufferException, IllegalBlockSizeException, in doFinal() 1936 throws ShortBufferException, IllegalBlockSizeException, in doFinal() 2015 throws ShortBufferException, IllegalBlockSizeException, in doFinal()
|
D | Mac.java | 650 throws ShortBufferException, IllegalStateException in doFinal() 658 throw new ShortBufferException in doFinal()
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/support/ |
D | MyCipher.java | 36 import javax.crypto.ShortBufferException; 106 byte[] output, int outputOffset) throws ShortBufferException { in engineUpdate() 118 byte[] output, int outputOffset) throws ShortBufferException, in engineDoFinal()
|
D | MyKeyAgreementSpi.java | 34 import javax.crypto.ShortBufferException; 60 throws IllegalStateException, ShortBufferException { in engineGenerateSecret()
|
D | MyExemptionMechanismSpi.java | 33 import javax.crypto.ShortBufferException; 56 throws ShortBufferException, ExemptionMechanismException { in engineGenExemptionBlob()
|
/libcore/luni/src/test/java/libcore/javax/crypto/ |
D | MockKeyAgreementSpi.java | 27 import javax.crypto.ShortBufferException; 71 throws IllegalStateException, ShortBufferException { in engineGenerateSecret()
|
D | MockCipherSpi.java | 32 import javax.crypto.ShortBufferException; 260 int outputOffset) throws ShortBufferException { in engineUpdate() 272 int outputOffset) throws ShortBufferException, IllegalBlockSizeException, in engineDoFinal()
|
D | MockMacSpi.java | 30 import javax.crypto.ShortBufferException;
|
D | CipherInputStreamTest.java | 37 import javax.crypto.ShortBufferException; 246 int outputOffset) throws ShortBufferException { in engineUpdate() 249 throw new ShortBufferException(); in engineUpdate()
|