Home
last modified time | relevance | path

Searched refs:ShortBufferException (Results 1 – 25 of 30) 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()
155 BadPaddingException, ShortBufferException { in testCipherSpiTests01()
224 public void testCipherSpi05() throws ShortBufferException { in testCipherSpi05()
255 } catch (ShortBufferException e) { in testCipherSpi05()
277 ShortBufferException, IllegalBlockSizeException { in testCipherSpi06()
306 } catch (ShortBufferException e) { in testCipherSpi06()
428 throws ShortBufferException { in testCrypt_outputSizeUpdatedAfterShortBufferException()
430 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;
367 } catch (ShortBufferException e) { in testMac09()
393 } catch (ShortBufferException e) { in testMac10()
398 } catch (ShortBufferException e) { in testMac10()
403 } catch (ShortBufferException e) { in testMac10()
408 } catch (ShortBufferException e) { in testMac10()
414 } 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()
DExemptionMechanism.java431 throws IllegalStateException, ShortBufferException, in genExemptionBlob()
467 throws IllegalStateException, ShortBufferException, in genExemptionBlob()
DExemptionMechanismSpi.java169 throws ShortBufferException, ExemptionMechanismException; in engineGenExemptionBlob()
DCipher.java1763 throws ShortBufferException { in update()
1821 throws ShortBufferException { in update()
1878 throws ShortBufferException { in update()
1992 throws IllegalBlockSizeException, ShortBufferException, in doFinal()
2176 throws ShortBufferException, IllegalBlockSizeException, in doFinal()
2255 throws ShortBufferException, IllegalBlockSizeException, in doFinal()
2334 throws ShortBufferException, IllegalBlockSizeException, in doFinal()
/libcore/ojluni/annotations/mmodule/javax/crypto/
DCipher.annotated.java85 …int inputOffset, int inputLen, byte[] output) throws javax.crypto.ShortBufferException { throw new… in update()
87 …nt inputLen, byte[] output, int outputOffset) throws javax.crypto.ShortBufferException { throw new… in update()
89 …ByteBuffer input, java.nio.ByteBuffer output) throws javax.crypto.ShortBufferException { throw new… in update()
93 …ngException, javax.crypto.IllegalBlockSizeException, javax.crypto.ShortBufferException { throw new… in doFinal()
99 …ngException, javax.crypto.IllegalBlockSizeException, javax.crypto.ShortBufferException { throw new… in doFinal()
101 …ngException, javax.crypto.IllegalBlockSizeException, javax.crypto.ShortBufferException { throw new… in doFinal()
103 …ngException, javax.crypto.IllegalBlockSizeException, javax.crypto.ShortBufferException { throw new… 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