Home
last modified time | relevance | path

Searched refs:BadPaddingException (Results 1 – 23 of 23) sorted by relevance

/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
DBadPaddingExceptionTest.java25 import javax.crypto.BadPaddingException;
48 BadPaddingException tE = new BadPaddingException(); in testBadPaddingException01()
59 BadPaddingException tE; in testBadPaddingException02()
61 tE = new BadPaddingException(msgs[i]); in testBadPaddingException02()
74 BadPaddingException tE = new BadPaddingException(msg); in testBadPaddingException03()
DCipherSpiTest.java33 import javax.crypto.BadPaddingException;
53 throws IllegalBlockSizeException, BadPaddingException { in engineDoFinal()
60 BadPaddingException { in engineDoFinal()
145 BadPaddingException, ShortBufferException { in testCipherSpiTests01()
266 public void testCipherSpi06() throws BadPaddingException, in testCipherSpi06()
511 throws IllegalBlockSizeException, BadPaddingException { in engineDoFinal()
524 IllegalBlockSizeException, BadPaddingException { in engineDoFinal()
544 BadPaddingException { in engineDoFinal()
DCipherOutputStream1Test.java38 import javax.crypto.BadPaddingException;
283 throws IllegalBlockSizeException, BadPaddingException { in engineDoFinal()
296 throws ShortBufferException, IllegalBlockSizeException, BadPaddingException { in engineDoFinal()
DCipherTest.java41 import javax.crypto.BadPaddingException;
458 } catch (BadPaddingException expected) { in test_doFinal()
540 } catch (BadPaddingException expected) { in testDoFinalbyteArrayintintbyteArrayint()
660 } catch (BadPaddingException expected) { in test_doFinalLjava_nio_ByteBufferLjava_nio_ByteBuffer()
985 } catch (BadPaddingException expected) { in test_doFinal$BI()
1035 } catch (BadPaddingException expected) { in test_doFinal$B()
1072 } catch (BadPaddingException expected) { in test_doFinal$BII()
1106 } catch (BadPaddingException expected) { in test_doFinal$BII$B()
DEncryptedPrivateKeyInfoTest.java42 import javax.crypto.BadPaddingException;
1676 } catch (BadPaddingException e) { in TestDataGenerator()
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/serialization/
DBadPaddingExceptionTest.java25 import javax.crypto.BadPaddingException;
42 return new Object[] { new BadPaddingException(), in getData()
43 new BadPaddingException(null), new BadPaddingException(msgs[1]) }; in getData()
/libcore/ojluni/src/main/java/javax/crypto/
DBadPaddingException.java38 public class BadPaddingException extends GeneralSecurityException { class
47 public BadPaddingException() { in BadPaddingException() method in BadPaddingException
57 public BadPaddingException(String msg) { in BadPaddingException() method in BadPaddingException
DSealedObject.java172 catch (BadPaddingException ex) { in SealedObject()
259 } catch (BadPaddingException bpe) { in getObject()
288 BadPaddingException in getObject()
354 } catch (IllegalBlockSizeException | BadPaddingException ex) { in getObject()
363 IllegalBlockSizeException, BadPaddingException in unseal()
DCipherSpi.java559 } catch (BadPaddingException e) { in engineUpdate()
611 throws IllegalBlockSizeException, BadPaddingException; in engineDoFinal()
670 BadPaddingException; in engineDoFinal()
729 BadPaddingException { in engineDoFinal()
746 IllegalBlockSizeException, BadPaddingException { in bufferCrypt()
DCipherInputStream.java31 import javax.crypto.BadPaddingException;
131 } catch (IllegalBlockSizeException | BadPaddingException e) { in getMoreData()
333 catch (BadPaddingException | IllegalBlockSizeException ex) { in close()
DAEADBadTagException.java35 public class AEADBadTagException extends BadPaddingException {
DCipherOutputStream.java211 } catch (IllegalBlockSizeException | BadPaddingException e) { in close()
DCipher.java1615 throws IllegalBlockSizeException, BadPaddingException { in doFinal()
1674 BadPaddingException { in doFinal()
1727 throws IllegalBlockSizeException, BadPaddingException { in doFinal()
1784 throws IllegalBlockSizeException, BadPaddingException { in doFinal()
1858 BadPaddingException { in doFinal()
1937 BadPaddingException { in doFinal()
2016 BadPaddingException { in doFinal()
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/support/
DMyCipher.java32 import javax.crypto.BadPaddingException;
112 throws IllegalBlockSizeException, BadPaddingException { in engineDoFinal()
119 IllegalBlockSizeException, BadPaddingException { in engineDoFinal()
/libcore/luni/src/test/java/libcore/javax/crypto/
DMockCipherSpi.java27 import javax.crypto.BadPaddingException;
266 throws IllegalBlockSizeException, BadPaddingException { in engineDoFinal()
273 BadPaddingException { in engineDoFinal()
DMockMacSpi.java27 import javax.crypto.BadPaddingException;
DCipherTest.java53 import javax.crypto.BadPaddingException;
1755 } catch (BadPaddingException expected) { in testInputPKCS1Padding()
1763 } catch (BadPaddingException expected) { in testInputPKCS1Padding()
3995 } catch (BadPaddingException maybe) { in checkCipher()
/libcore/support/src/test/java/tests/security/
DCipherHelper.java22 import javax.crypto.BadPaddingException;
DAlgorithmParameterAsymmetricHelper.java26 import javax.crypto.BadPaddingException;
DAlgorithmParameterSymmetricHelper.java25 import javax.crypto.BadPaddingException;
/libcore/ojluni/src/main/java/java/security/
DSignature.java43 import javax.crypto.BadPaddingException;
1479 } catch (BadPaddingException e) { in engineSign()
1491 } catch (BadPaddingException e) { in engineVerify()
/libcore/luni/src/test/java/libcore/javax/net/ssl/
DSSLSocketTest.java72 import javax.crypto.BadPaddingException;
1181 throws IllegalBlockSizeException, BadPaddingException { in engineDoFinal()
1188 throws ShortBufferException, IllegalBlockSizeException, BadPaddingException { in engineDoFinal()
/libcore/
Dopenjdk_java_files.mk1211 ojluni/src/main/java/javax/crypto/BadPaddingException.java \