Uses of Class
javax.crypto.ShortBufferException
| Package | Description |
|---|---|
| javax.crypto |
Provides the classes and interfaces for cryptographic
operations.
|
-
Uses of ShortBufferException in javax.crypto
Methods in javax.crypto that throw ShortBufferException Modifier and Type Method Description intCipher. doFinal(byte[] output, int outputOffset)Finishes a multiple-part encryption or decryption operation, depending on how this cipher was initialized.intCipher. doFinal(byte[] input, int inputOffset, int inputLen, byte[] output)Encrypts or decrypts data in a single-part operation, or finishes a multiple-part operation.intCipher. 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.intCipher. doFinal(ByteBuffer input, ByteBuffer output)Encrypts or decrypts data in a single-part operation, or finishes a multiple-part operation.voidMac. doFinal(byte[] output, int outOffset)Finishes the MAC operation.protected abstract intCipherSpi. 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.protected intCipherSpi. engineDoFinal(ByteBuffer input, ByteBuffer output)Encrypts or decrypts data in a single-part operation, or finishes a multiple-part operation.protected abstract intKeyAgreementSpi. engineGenerateSecret(byte[] sharedSecret, int offset)Generates the shared secret, and places it into the buffersharedSecret, beginning atoffsetinclusive.protected abstract intExemptionMechanismSpi. engineGenExemptionBlob(byte[] output, int outputOffset)Generates the exemption mechanism key blob, and stores the result in theoutputbuffer, starting atoutputOffsetinclusive.protected abstract intCipherSpi. 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 intCipherSpi. engineUpdate(ByteBuffer input, ByteBuffer output)Continues a multiple-part encryption or decryption operation (depending on how this cipher was initialized), processing another data part.intKeyAgreement. generateSecret(byte[] sharedSecret, int offset)Generates the shared secret, and places it into the buffersharedSecret, beginning atoffsetinclusive.intExemptionMechanism. genExemptionBlob(byte[] output)Generates the exemption mechanism key blob, and stores the result in theoutputbuffer.intExemptionMechanism. genExemptionBlob(byte[] output, int outputOffset)Generates the exemption mechanism key blob, and stores the result in theoutputbuffer, starting atoutputOffsetinclusive.intCipher. 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.intCipher. 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.intCipher. update(ByteBuffer input, ByteBuffer output)Continues a multiple-part encryption or decryption operation (depending on how this cipher was initialized), processing another data part.