Lines Matching refs:output

63  * output. A transformation always includes the name of a cryptographic
919 * Returns the length in bytes that an output buffer would need to be in
927 * <p>The actual output length of the next <code>update</code> or
933 * @return the required output buffer size (in bytes)
1764 * and the result is stored in the <code>output</code> buffer.
1766 * <p>If the <code>output</code> buffer is too small to hold the result,
1768 * call with a larger output buffer. Use
1770 * the output buffer should be.
1776 * <code>input</code> and <code>output</code> buffers can reference
1778 * when the result is copied into the output buffer.
1784 * @param output the buffer for the result
1786 * @return the number of bytes stored in <code>output</code>
1790 * @exception ShortBufferException if the given output buffer is too small
1794 byte[] output)
1809 output, 0);
1819 * and the result is stored in the <code>output</code> buffer, starting at
1822 * <p>If the <code>output</code> buffer is too small to hold the result,
1824 * call with a larger output buffer. Use
1826 * the output buffer should be.
1832 * <code>input</code> and <code>output</code> buffers can reference
1834 * when the result is copied into the output buffer.
1840 * @param output the buffer for the result
1841 * @param outputOffset the offset in <code>output</code> where the result
1844 * @return the number of bytes stored in <code>output</code>
1848 * @exception ShortBufferException if the given output buffer is too small
1852 byte[] output, int outputOffset)
1868 output, outputOffset);
1878 * in the output buffer.
1880 * to its limit; its limit will not have changed. The output buffer's
1882 * by this method; the output buffer's limit will not have changed.
1884 * <p>If <code>output.remaining()</code> bytes are insufficient to
1886 * In this case, repeat this call with a larger output buffer. Use
1888 * the output buffer should be.
1891 * <code>input</code> and <code>output</code> buffers can reference
1893 * when the result is copied into the output buffer.
1896 * @param output the output ByteByffer
1898 * @return the number of bytes stored in <code>output</code>
1902 * @exception IllegalArgumentException if input and output are the
1904 * @exception ReadOnlyBufferException if the output buffer is read-only
1906 * output buffer
1909 public final int update(ByteBuffer input, ByteBuffer output)
1913 if ((input == null) || (output == null)) {
1916 if (input == output) {
1917 throw new IllegalArgumentException("Input and output buffers must "
1920 if (output.isReadOnly()) {
1925 return spi.engineUpdate(input, output);
1983 * The result is stored in the <code>output</code> buffer, starting at
1986 * <p>If the <code>output</code> buffer is too small to hold the result,
1988 * call with a larger output buffer. Use
1990 * the output buffer should be.
2001 * @param output the buffer for the result
2002 * @param outputOffset the offset in <code>output</code> where the result
2005 * @return the number of bytes stored in <code>output</code>
2014 * @exception ShortBufferException if the given output buffer is too small
2023 public final int doFinal(byte[] output, int outputOffset)
2029 if ((output == null) || (outputOffset < 0)) {
2034 return spi.engineDoFinal(null, 0, 0, output, outputOffset);
2160 * The result is stored in the <code>output</code> buffer.
2162 * <p>If the <code>output</code> buffer is too small to hold the result,
2164 * call with a larger output buffer. Use
2166 * the output buffer should be.
2178 * <code>input</code> and <code>output</code> buffers can reference
2180 * when the result is copied into the output buffer.
2186 * @param output the buffer for the result
2188 * @return the number of bytes stored in <code>output</code>
2197 * @exception ShortBufferException if the given output buffer is too small
2207 byte[] output)
2220 output, 0);
2236 * The result is stored in the <code>output</code> buffer, starting at
2239 * <p>If the <code>output</code> buffer is too small to hold the result,
2241 * call with a larger output buffer. Use
2243 * the output buffer should be.
2255 * <code>input</code> and <code>output</code> buffers can reference
2257 * when the result is copied into the output buffer.
2263 * @param output the buffer for the result
2264 * @param outputOffset the offset in <code>output</code> where the result
2267 * @return the number of bytes stored in <code>output</code>
2276 * @exception ShortBufferException if the given output buffer is too small
2286 byte[] output, int outputOffset)
2300 output, outputOffset);
2313 * The result is stored in the output buffer.
2315 * to its limit; its limit will not have changed. The output buffer's
2317 * by this method; the output buffer's limit will not have changed.
2319 * <p>If <code>output.remaining()</code> bytes are insufficient to
2321 * In this case, repeat this call with a larger output buffer. Use
2323 * the output buffer should be.
2335 * <code>input</code> and <code>output</code> buffers can reference
2337 * when the result is copied into the output buffer.
2340 * @param output the output ByteBuffer
2342 * @return the number of bytes stored in <code>output</code>
2346 * @exception IllegalArgumentException if input and output are the
2348 * @exception ReadOnlyBufferException if the output buffer is read-only
2355 * output buffer
2365 public final int doFinal(ByteBuffer input, ByteBuffer output)
2370 if ((input == null) || (output == null)) {
2373 if (input == output) {
2374 throw new IllegalArgumentException("Input and output buffers must "
2377 if (output.isReadOnly()) {
2382 return spi.engineDoFinal(input, output);