示例#1
0
 int implGetOutputSize(int inLen) {
   return cipher.getOutputSize(inLen);
 }
示例#2
0
 /**
  * Returns the length in bytes that an output buffer would need to be in order to hold the result
  * of the next <code>update</code> or <code>doFinal</code> operation, given the input length
  * <code>inputLen</code> (in bytes).
  *
  * <p>This call takes into account any unprocessed (buffered) data from a previous <code>update
  * </code> call, and padding.
  *
  * <p>The actual output length of the next <code>update</code> or <code>doFinal</code> call may be
  * smaller than the length returned by this method.
  *
  * @param inputLen the input length (in bytes)
  * @return the required output buffer size (in bytes)
  */
 protected int engineGetOutputSize(int inputLen) {
   return core.getOutputSize(inputLen);
 }