Uses of Class
javax.crypto.ShortBufferException
Packages that use ShortBufferException
-
Uses of ShortBufferException in javax.crypto
Methods in javax.crypto that throw ShortBufferExceptionModifier and TypeMethodDescriptionfinal intCipher.doFinal(byte[] output, int outputOffset) Finishes a multiple-part encryption or decryption operation, depending on how this cipher was initialized.final 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.final 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.final intCipher.doFinal(ByteBuffer input, ByteBuffer output) Encrypts or decrypts data in a single-part operation, or finishes a multiple-part operation.final 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.final intKeyAgreement.generateSecret(byte[] sharedSecret, int offset) Generates the shared secret, and places it into the buffersharedSecret, beginning atoffsetinclusive.final intExemptionMechanism.genExemptionBlob(byte[] output) Generates the exemption mechanism key blob, and stores the result in theoutputbuffer.final intExemptionMechanism.genExemptionBlob(byte[] output, int outputOffset) Generates the exemption mechanism key blob, and stores the result in theoutputbuffer, starting atoutputOffsetinclusive.final 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.final 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.final 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.