Searched refs:ShortBufferException (Results 1 - 25 of 39) sorted by relevance

12

/openjdk7/jdk/src/share/classes/javax/crypto/
H A DShortBufferException.java39 public class ShortBufferException extends GeneralSecurityException { class in inherits:GeneralSecurityException
44 * Constructs a ShortBufferException with no detail
48 public ShortBufferException() { method in class:ShortBufferException
53 * Constructs a ShortBufferException with the specified
58 public ShortBufferException(String msg) { method in class:ShortBufferException
H A DExemptionMechanismSpi.java151 * a <code>ShortBufferException</code> is thrown. In this case, repeat this
162 * @exception ShortBufferException if the given output buffer is too small
169 throws ShortBufferException, ExemptionMechanismException;
H A DKeyAgreementSpi.java153 * result, a <code>ShortBufferException</code> is thrown.
171 * @exception ShortBufferException if the given output buffer is too small
176 throws IllegalStateException, ShortBufferException;
H A DCipherSpi.java493 * a <code>ShortBufferException</code> is thrown.
505 * @exception ShortBufferException if the given output buffer is too small
511 throws ShortBufferException;
527 * hold the result, a <code>ShortBufferException</code> is thrown.
537 * @exception ShortBufferException if there is insufficient space in the
544 throws ShortBufferException {
621 * a <code>ShortBufferException</code> is thrown.
648 * @exception ShortBufferException if the given output buffer is too small
660 throws ShortBufferException, IllegalBlockSizeException,
681 * hold the result, a <code>ShortBufferException</cod
[all...]
H A DExemptionMechanism.java414 * a <code>ShortBufferException</code> is thrown. In this case, repeat this
425 * @exception ShortBufferException if the given output buffer is too small
431 throws IllegalStateException, ShortBufferException,
448 * a <code>ShortBufferException</code> is thrown. In this case, repeat this
461 * @exception ShortBufferException if the given output buffer is too small
467 throws IllegalStateException, ShortBufferException,
/openjdk7/jdk/src/share/classes/com/sun/crypto/provider/
H A DPadding.java28 import javax.crypto.ShortBufferException;
56 * @exception ShortBufferException if <code>in</code> is too small to hold
59 void padWithLen(byte[] in, int off, int len) throws ShortBufferException;
H A DISO10126Padding.java28 import javax.crypto.ShortBufferException;
57 * @exception ShortBufferException if <code>in</code> is too small to hold
61 throws ShortBufferException
67 throw new ShortBufferException("Buffer too small to hold padding");
H A DPKCS5Padding.java28 import javax.crypto.ShortBufferException;
57 * @exception ShortBufferException if <code>in</code> is too small to hold
61 throws ShortBufferException
67 throw new ShortBufferException("Buffer too small to hold padding");
H A DDHKeyAgreement.java40 import javax.crypto.ShortBufferException;
247 } catch (ShortBufferException sbe) {
259 * result, a <code>ShortBufferException</code> is thrown.
277 * @exception ShortBufferException if the given output buffer is too small
281 throws IllegalStateException, ShortBufferException
289 throw new ShortBufferException
296 throw new ShortBufferException
300 // Reset the key agreement after checking for ShortBufferException
H A DARCFOURCipher.java217 byte[] out, int outOfs) throws ShortBufferException {
219 throw new ShortBufferException("Output buffer too small");
234 byte[] out, int outOfs) throws ShortBufferException {
H A DAESCipher.java271 * @exception ShortBufferException if the given output buffer is too small
276 throws ShortBufferException {
346 * @exception ShortBufferException if the given output buffer is too small
354 throws IllegalBlockSizeException, ShortBufferException,
H A DBlowfishCipher.java276 * @exception ShortBufferException if the given output buffer is too small
281 throws ShortBufferException {
352 * @exception ShortBufferException if the given output buffer is too small
360 throws IllegalBlockSizeException, ShortBufferException,
H A DCipherCore.java540 } catch (ShortBufferException e) {
566 * @exception ShortBufferException if the given output buffer is too small
570 int outputOffset) throws ShortBufferException {
582 throw new ShortBufferException("Output buffer must be "
684 } catch (ShortBufferException e) {
720 * @exception ShortBufferException if the given output buffer is too small
728 throws IllegalBlockSizeException, ShortBufferException,
764 throw new ShortBufferException("Output buffer is null");
770 throw new ShortBufferException("Output buffer too short: "
798 // case of ShortBufferException
[all...]
H A DDESCipher.java271 * @exception ShortBufferException if the given output buffer is too small
276 throws ShortBufferException {
347 * @exception ShortBufferException if the given output buffer is too small
355 throws IllegalBlockSizeException, ShortBufferException,
H A DDESedeCipher.java251 * @exception ShortBufferException if the given output buffer is too small
256 throws ShortBufferException {
327 * @exception ShortBufferException if the given output buffer is too small
335 throws IllegalBlockSizeException, ShortBufferException,
H A DPBEWithMD5AndDESCipher.java273 * @exception ShortBufferException if the given output buffer is too small
278 throws ShortBufferException
349 * @exception ShortBufferException if the given output buffer is too small
356 throws ShortBufferException, IllegalBlockSizeException,
H A DPBEWithMD5AndTripleDESCipher.java283 * @exception ShortBufferException if the given output buffer is too small
288 throws ShortBufferException
359 * @exception ShortBufferException if the given output buffer is too small
366 throws ShortBufferException, IllegalBlockSizeException,
H A DRC2Cipher.java119 byte[] out, int outOfs) throws ShortBufferException {
130 ShortBufferException, BadPaddingException {
H A DPKCS12PBECipherCore.java349 throws ShortBufferException {
359 throws ShortBufferException, IllegalBlockSizeException,
391 throws ShortBufferException, IllegalBlockSizeException,
446 throws ShortBufferException {
466 throws ShortBufferException, IllegalBlockSizeException,
521 throws ShortBufferException {
/openjdk7/jdk/src/share/classes/sun/security/pkcs11/
H A DP11Cipher.java486 } catch (ShortBufferException e) {
494 int outOfs) throws ShortBufferException {
502 throws ShortBufferException {
513 } catch (ShortBufferException e) {
521 int outOfs) throws ShortBufferException, IllegalBlockSizeException,
535 throws ShortBufferException, IllegalBlockSizeException,
543 byte[] out, int outOfs, int outLen) throws ShortBufferException {
545 throw new ShortBufferException();
595 throw (ShortBufferException)
596 (new ShortBufferException()
[all...]
H A DP11ECDHKeyAgreement.java153 offset) throws IllegalStateException, ShortBufferException {
155 throw new ShortBufferException("Need " + secretLen
/openjdk7/jdk/test/javax/crypto/Cipher/
H A DByteBuffersNull.java41 import javax.crypto.ShortBufferException;
170 throws ShortBufferException {
181 throws ShortBufferException, IllegalBlockSizeException,
202 throws ShortBufferException, IllegalBlockSizeException,
208 throws ShortBufferException {
/openjdk7/jdk/src/share/classes/sun/security/ec/
H A DECDHKeyAgreement.java139 offset) throws IllegalStateException, ShortBufferException {
141 throw new ShortBufferException("Need " + secretLen
/openjdk7/jdk/test/com/sun/crypto/provider/Cipher/AES/
H A DTestShortBuffer.java28 * when ShortBufferException is thrown.
120 throw new Exception("Should throw ShortBufferException!");
121 } catch (ShortBufferException sbe) {
142 throw new Exception("Should throw ShortBufferException!");
143 } catch (ShortBufferException sbe) {
160 throw new Exception("Should throw ShortBufferException!");
161 } catch (ShortBufferException sbe) {
182 throw new Exception("Should throw ShortBufferException!");
183 } catch (ShortBufferException sbe) {
H A DTest4517355.java69 } catch (ShortBufferException ex) {

Completed in 321 milliseconds

12