Searched refs:BadPaddingException (Results 1 - 25 of 26) sorted by relevance

12

/libcore/ojluni/src/main/java/javax/crypto/
H A DBadPaddingException.java38 public class BadPaddingException extends GeneralSecurityException { class in inherits:GeneralSecurityException
43 * Constructs a BadPaddingException with no detail
47 public BadPaddingException() { method in class:BadPaddingException
52 * Constructs a BadPaddingException with the specified
57 public BadPaddingException(String msg) { method in class:BadPaddingException
H A DAEADBadTagException.java35 public class AEADBadTagException extends BadPaddingException {
H A DCipherInputStream.java110 catch (BadPaddingException e) {obuffer = null;}
301 catch (BadPaddingException ex) {
H A DCipherSpi.java550 } catch (BadPaddingException e) {
593 * @exception BadPaddingException if this cipher is in decryption mode,
602 throws IllegalBlockSizeException, BadPaddingException;
650 * @exception BadPaddingException if this cipher is in decryption mode,
661 BadPaddingException;
708 * @exception BadPaddingException if this cipher is in decryption mode,
720 BadPaddingException {
737 IllegalBlockSizeException, BadPaddingException {
H A DSealedObject.java174 catch (BadPaddingException ex) {
261 } catch (BadPaddingException bpe) {
284 * @exception BadPaddingException if the given cipher has been
290 BadPaddingException
358 } catch (BadPaddingException bpe) {
367 IllegalBlockSizeException, BadPaddingException
H A DCipherOutputStream.java205 } catch (BadPaddingException e) {
H A DCipher.java1927 * @exception BadPaddingException if this cipher is in decryption mode,
1935 throws IllegalBlockSizeException, BadPaddingException {
1985 * @exception BadPaddingException if this cipher is in decryption mode,
1994 BadPaddingException {
2039 * @exception BadPaddingException if this cipher is in decryption mode,
2047 throws IllegalBlockSizeException, BadPaddingException {
2096 * @exception BadPaddingException if this cipher is in decryption mode,
2104 throws IllegalBlockSizeException, BadPaddingException {
2168 * @exception BadPaddingException if this cipher is in decryption mode,
2178 BadPaddingException {
[all...]
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/serialization/
H A DBadPaddingExceptionTest.java25 import javax.crypto.BadPaddingException;
31 * Test for BadPaddingException serialization
42 return new Object[] { new BadPaddingException(),
43 new BadPaddingException(null), new BadPaddingException(msgs[1]) };
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
H A DBadPaddingExceptionTest.java25 import javax.crypto.BadPaddingException;
31 * Tests for <code>BadPaddingException</code> class constructors and methods.
44 * Test for <code>BadPaddingException()</code> constructor Assertion:
45 * constructs BadPaddingException with no detail message
48 BadPaddingException tE = new BadPaddingException();
54 * Test for <code>BadPaddingException(String)</code> constructor
55 * Assertion: constructs BadPaddingException with detail message msg.
59 BadPaddingException tE;
61 tE = new BadPaddingException(msg
[all...]
H A DCipherSpiTest.java32 import javax.crypto.BadPaddingException;
51 throws IllegalBlockSizeException, BadPaddingException {
58 BadPaddingException {
143 BadPaddingException, ShortBufferException {
264 public void testCipherSpi06() throws BadPaddingException,
378 throws IllegalBlockSizeException, BadPaddingException {
391 IllegalBlockSizeException, BadPaddingException {
411 BadPaddingException {
H A DCipherTest.java41 import javax.crypto.BadPaddingException;
458 } catch (BadPaddingException expected) {
540 } catch (BadPaddingException expected) {
659 } catch (BadPaddingException expected) {
984 } catch (BadPaddingException expected) {
1034 } catch (BadPaddingException expected) {
1071 } catch (BadPaddingException expected) {
1105 } catch (BadPaddingException expected) {
H A DEncryptedPrivateKeyInfoTest.java42 import javax.crypto.BadPaddingException;
1676 } catch (BadPaddingException e) {
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/support/
H A DMyCipher.java32 import javax.crypto.BadPaddingException;
112 throws IllegalBlockSizeException, BadPaddingException {
119 IllegalBlockSizeException, BadPaddingException {
/libcore/ojluni/src/main/java/sun/security/ssl/
H A DEngineInputRecord.java32 import javax.crypto.BadPaddingException;
189 CipherBox box, ByteBuffer bb) throws BadPaddingException {
196 BadPaddingException reservedBPE = null;
203 throw new BadPaddingException(
211 } catch (BadPaddingException bpe) {
235 reservedBPE = new BadPaddingException("bad record");
246 reservedBPE = new BadPaddingException("bad record MAC");
H A DCipherBox.java397 int tagLen) throws BadPaddingException {
428 throw new BadPaddingException("invalid explicit IV");
454 int decrypt(ByteBuffer bb, int tagLen) throws BadPaddingException {
499 throw new BadPaddingException("invalid explicit IV");
669 ProtocolVersion protocolVersion) throws BadPaddingException {
684 throw new BadPaddingException("Invalid Padding length: " + padLen);
692 throw new BadPaddingException("Invalid TLS padding data");
700 throw new BadPaddingException("Invalid SSLv3 padding");
711 ProtocolVersion protocolVersion) throws BadPaddingException {
729 throw new BadPaddingException("Invali
[all...]
H A DInputRecord.java34 import javax.crypto.BadPaddingException;
138 void decrypt(MAC signer, CipherBox box) throws BadPaddingException {
140 BadPaddingException reservedBPE = null;
147 throw new BadPaddingException(
156 } catch (BadPaddingException bpe) {
179 reservedBPE = new BadPaddingException("bad record");
197 reservedBPE = new BadPaddingException("bad record MAC");
H A DSSLEngineImpl.java34 import javax.crypto.BadPaddingException;
954 } catch (BadPaddingException e) {
H A DSSLSocketImpl.java40 import javax.crypto.BadPaddingException;
970 } catch (BadPaddingException e) {
/libcore/luni/src/test/java/libcore/javax/crypto/
H A DMockMacSpi.java27 import javax.crypto.BadPaddingException;
H A DMockCipherSpi.java27 import javax.crypto.BadPaddingException;
266 throws IllegalBlockSizeException, BadPaddingException {
273 BadPaddingException {
H A DCipherTest.java52 import javax.crypto.BadPaddingException;
1609 } catch (BadPaddingException expected) {
1614 } catch (BadPaddingException expected) {
/libcore/support/src/test/java/tests/security/
H A DAlgorithmParameterAsymmetricHelper.java26 import javax.crypto.BadPaddingException;
H A DAlgorithmParameterSymmetricHelper.java25 import javax.crypto.BadPaddingException;
H A DCipherHelper.java22 import javax.crypto.BadPaddingException;
/libcore/ojluni/src/main/java/java/security/
H A DSignature.java43 import javax.crypto.BadPaddingException;
1370 } catch (BadPaddingException e) {
1382 } catch (BadPaddingException e) {

Completed in 1799 milliseconds

12