Uses of Class javax.crypto.ShortBufferException

Uses in package javax.crypto

Methods which throw type javax.crypto.ShortBufferException

int
Cipher.doFinal(byte[] output, int outputOffset)
Finishes a multi-part transformation and stores the transformed bytes into the given array.
void
Mac.doFinal(byte[] output, int outOffset)
Finishes the computation of a MAC and places the result into the given array.
int
Cipher.doFinal(byte[] input, int inputOffset, int inputLength, byte[] output)
int
Cipher.doFinal(byte[] input, int inputOffset, int inputLength, byte[] output, int outputOffset)
Finishes a multi-part transformation or transforms a portion of a byte array, and stores the result in the given byte array.
int
Finishes a multi-part transformation with, or completely transforms, a byte buffer, and stores the result into the output buffer.
int
CipherSpi.engineDoFinal(byte[] input, int inputOffset, int inputLength, byte[] output, int outputOffset)
Finishes a multi-part transformation or transforms a portion of a byte array, and stores the transformed bytes in the supplied array.
int
int
ExemptionMechanismSpi.engineGenExemptionBlob(byte[] output, int outputOffset)
Generate a key blob for the key that this mechanism was initialized with, storing it into the given byte array.
int
KeyAgreementSpi.engineGenerateSecret(byte[] sharedSecret, int offset)
Generate the shared secret, storing it into the specified array.
int
CipherSpi.engineUpdate(byte[] input, int inputOffset, int inputLength, byte[] output, int outputOffset)
Continue with a multi-part transformation, storing the transformed bytes into the specified array.
int
int
int
ExemptionMechanism.genExemptionBlob(byte[] output, int outputOffset)
int
KeyAgreement.generateSecret(byte[] sharedSecret, int offset)
Generate the shared secret and store it into the supplied array.
int
Cipher.update(byte[] input, int inputOffset, int inputLength, byte[] output)
Continue a multi-part transformation on part of a byte array, placing the transformed bytes into the given array.
int
Cipher.update(byte[] input, int inputOffset, int inputLength, byte[] output, int outputOffset)
Continue a multi-part transformation on part of a byte array, placing the transformed bytes into the given array.
int
Continue a multi-part transformation on a byte buffer, storing the transformed bytes into another buffer.