JavaTM 2 Platform
Std. Ed. v1.4.2

Uses of Class
javax.crypto.ShortBufferException

Packages that use ShortBufferException
javax.crypto Provides the classes and interfaces for cryptographic operations. 
 

Uses of ShortBufferException in javax.crypto
 

Methods in javax.crypto that throw ShortBufferException
protected abstract  int ExemptionMechanismSpi.engineGenExemptionBlob(byte[] output, int outputOffset)
          Generates the exemption mechanism key blob, and stores the result in the output buffer, starting at outputOffset inclusive.
 void Mac.doFinal(byte[] output, int outOffset)
          Finishes the MAC operation.
protected abstract  int KeyAgreementSpi.engineGenerateSecret(byte[] sharedSecret, int offset)
          Generates the shared secret, and places it into the buffer sharedSecret, beginning at offset inclusive.
 int KeyAgreement.generateSecret(byte[] sharedSecret, int offset)
          Generates the shared secret, and places it into the buffer sharedSecret, beginning at offset inclusive.
 int ExemptionMechanism.genExemptionBlob(byte[] output)
          Generates the exemption mechanism key blob, and stores the result in the output buffer.
 int ExemptionMechanism.genExemptionBlob(byte[] output, int outputOffset)
          Generates the exemption mechanism key blob, and stores the result in the output buffer, starting at outputOffset inclusive.
protected abstract  int CipherSpi.engineUpdate(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset)
          Continues a multiple-part encryption or decryption operation (depending on how this cipher was initialized), processing another data part.
protected abstract  int CipherSpi.engineDoFinal(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset)
          Encrypts or decrypts data in a single-part operation, or finishes a multiple-part operation.
 int Cipher.update(byte[] input, int inputOffset, int inputLen, byte[] output)
          Continues a multiple-part encryption or decryption operation (depending on how this cipher was initialized), processing another data part.
 int Cipher.update(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset)
          Continues a multiple-part encryption or decryption operation (depending on how this cipher was initialized), processing another data part.
 int Cipher.doFinal(byte[] output, int outputOffset)
          Finishes a multiple-part encryption or decryption operation, depending on how this cipher was initialized.
 int Cipher.doFinal(byte[] input, int inputOffset, int inputLen, byte[] output)
          Encrypts or decrypts data in a single-part operation, or finishes a multiple-part operation.
 int Cipher.doFinal(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset)
          Encrypts or decrypts data in a single-part operation, or finishes a multiple-part operation.
 


JavaTM 2 Platform
Std. Ed. v1.4.2

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright © 2003, 2010 Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.