/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() 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 …]
|
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; 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/ |
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 | ExemptionMechanism.java | 431 throws IllegalStateException, ShortBufferException, in genExemptionBlob() 467 throws IllegalStateException, ShortBufferException, in genExemptionBlob()
|
D | ExemptionMechanismSpi.java | 169 throws ShortBufferException, ExemptionMechanismException; in engineGenExemptionBlob()
|
D | Cipher.java | 1763 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/ |
D | Cipher.annotated.java | 85 …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/ |
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()
|