Home
last modified time | relevance | path

Searched refs:ShortBufferException (Results 1 – 25 of 31) sorted by relevance

12

/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
DShortBufferExceptionTest.java25 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()
DCipherSpiTest.java36 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 …]
DKeyAgreementSpiTest.java34 import javax.crypto.ShortBufferException;
66 throws IllegalStateException, ShortBufferException { in engineGenerateSecret()
88 ShortBufferException, NoSuchAlgorithmException, in testKeyAgreementSpi01()
DExemptionMechanismTest.java36 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()
DMockKeyAgreementSpi.java27 import javax.crypto.ShortBufferException;
69 throws IllegalStateException, ShortBufferException { in engineGenerateSecret()
DCipherOutputStream1Test.java46 import javax.crypto.ShortBufferException;
277 int outputOffset) throws ShortBufferException { in engineUpdate()
287 } catch (ShortBufferException e) { in engineDoFinal()
296 throws ShortBufferException, IllegalBlockSizeException, BadPaddingException { in engineDoFinal()
DExemptionMechanismSpiTest.java35 import javax.crypto.ShortBufferException;
56 …nt engineGenExemptionBlob(byte[] output, int outputOffset) throws ShortBufferException, ExemptionM… in engineGenExemptionBlob()
DCipherTest.java46 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_()
DMacTest.java39 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/
DShortBufferExceptionTest.java25 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/
DShortBufferException.java39 public class ShortBufferException extends GeneralSecurityException { class
48 public ShortBufferException() { in ShortBufferException() method in ShortBufferException
58 public ShortBufferException(String msg) { in ShortBufferException() method in ShortBufferException
DCipherSpi.java520 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()
DCipherInputStream.java134 } catch (ShortBufferException e) { in getMoreData()
145 } catch (ShortBufferException e) { in getMoreData()
DKeyAgreementSpi.java176 throws IllegalStateException, ShortBufferException; in engineGenerateSecret()
DExemptionMechanismSpi.java169 throws ShortBufferException, ExemptionMechanismException; in engineGenExemptionBlob()
DExemptionMechanism.java431 throws IllegalStateException, ShortBufferException, in genExemptionBlob()
467 throws IllegalStateException, ShortBufferException, in genExemptionBlob()
DCipher.java1444 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()
DMac.java650 throws ShortBufferException, IllegalStateException in doFinal()
658 throw new ShortBufferException in doFinal()
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/support/
DMyCipher.java36 import javax.crypto.ShortBufferException;
106 byte[] output, int outputOffset) throws ShortBufferException { in engineUpdate()
118 byte[] output, int outputOffset) throws ShortBufferException, in engineDoFinal()
DMyKeyAgreementSpi.java34 import javax.crypto.ShortBufferException;
60 throws IllegalStateException, ShortBufferException { in engineGenerateSecret()
DMyExemptionMechanismSpi.java33 import javax.crypto.ShortBufferException;
56 throws ShortBufferException, ExemptionMechanismException { in engineGenExemptionBlob()
/libcore/luni/src/test/java/libcore/javax/crypto/
DMockKeyAgreementSpi.java27 import javax.crypto.ShortBufferException;
71 throws IllegalStateException, ShortBufferException { in engineGenerateSecret()
DMockCipherSpi.java32 import javax.crypto.ShortBufferException;
260 int outputOffset) throws ShortBufferException { in engineUpdate()
272 int outputOffset) throws ShortBufferException, IllegalBlockSizeException, in engineDoFinal()
DMockMacSpi.java30 import javax.crypto.ShortBufferException;
DCipherInputStreamTest.java37 import javax.crypto.ShortBufferException;
246 int outputOffset) throws ShortBufferException { in engineUpdate()
249 throw new ShortBufferException(); in engineUpdate()

12