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 int
Cipher.doFinal
(byte[] output, int outputOffset) Finishes a multiple-part encryption or decryption operation, depending on how thisCipher
object was initialized.final 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.final 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.final int
Cipher.doFinal
(ByteBuffer input, ByteBuffer output) Encrypts or decrypts data in a single-part operation, or finishes a multiple-part operation.final void
Mac.doFinal
(byte[] output, int outOffset) Finishes the MAC operation.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.protected int
CipherSpi.engineDoFinal
(ByteBuffer input, ByteBuffer output) Encrypts or decrypts data in a single-part operation, or finishes a multiple-part operation.protected abstract int
KeyAgreementSpi.engineGenerateSecret
(byte[] sharedSecret, int offset) Generates the shared secret, and places it into the buffersharedSecret
, beginning atoffset
inclusive.protected abstract int
ExemptionMechanismSpi.engineGenExemptionBlob
(byte[] output, int outputOffset) Generates the exemption mechanism key blob, and stores the result in theoutput
buffer, starting atoutputOffset
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 thisCipherSpi
object was initialized), processing another data part.protected int
CipherSpi.engineUpdate
(ByteBuffer input, ByteBuffer output) Continues a multiple-part encryption or decryption operation (depending on how thisCipherSpi
object was initialized), processing another data part.final int
KeyAgreement.generateSecret
(byte[] sharedSecret, int offset) Generates the shared secret, and places it into the buffersharedSecret
, beginning atoffset
inclusive.final int
ExemptionMechanism.genExemptionBlob
(byte[] output) Generates the exemption mechanism key blob, and stores the result in theoutput
buffer.final int
ExemptionMechanism.genExemptionBlob
(byte[] output, int outputOffset) Generates the exemption mechanism key blob, and stores the result in theoutput
buffer, starting atoutputOffset
inclusive.final int
Cipher.update
(byte[] input, int inputOffset, int inputLen, byte[] output) Continues a multiple-part encryption or decryption operation (depending on how thisCipher
object was initialized), processing another data part.final int
Cipher.update
(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset) Continues a multiple-part encryption or decryption operation (depending on how thisCipher
object was initialized), processing another data part.final int
Cipher.update
(ByteBuffer input, ByteBuffer output) Continues a multiple-part encryption or decryption operation (depending on how thisCipher
object was initialized), processing another data part.