@@ -318,6 +318,8 @@ private boolean x_engineVerify(byte[] sigBytes) throws SignatureException {
318318 * sig = sign()
319319 *</pre>
320320 *
321+ * @param data the message to be signed
322+ * @return the signature
321323 * @throws SignatureException if update() already called
322324 * @see #ONE_SHOT_MODE
323325 */
@@ -336,6 +338,10 @@ public byte[] signOneShot(byte[] data) throws SignatureException {
336338 * sig = sign()
337339 *</pre>
338340 *
341+ * @param data byte array containing the message to be signed
342+ * @param off the start of the message inside data
343+ * @param len the length of the message
344+ * @return the signature
339345 * @throws SignatureException if update() already called
340346 * @see #ONE_SHOT_MODE
341347 */
@@ -356,6 +362,9 @@ public byte[] signOneShot(byte[] data, int off, int len) throws SignatureExcepti
356362 * ok = verify(signature)
357363 *</pre>
358364 *
365+ * @param data the message that was signed
366+ * @param signature of the message
367+ * @return true if the signature is valid, false otherwise
359368 * @throws SignatureException if update() already called
360369 * @see #ONE_SHOT_MODE
361370 */
@@ -374,6 +383,11 @@ public boolean verifyOneShot(byte[] data, byte[] signature) throws SignatureExce
374383 * ok = verify(signature)
375384 *</pre>
376385 *
386+ * @param data byte array containing the message that was signed
387+ * @param off the start of the message inside data
388+ * @param len the length of the message
389+ * @param signature of the message
390+ * @return true if the signature is valid, false otherwise
377391 * @throws SignatureException if update() already called
378392 * @see #ONE_SHOT_MODE
379393 */
@@ -392,6 +406,11 @@ public boolean verifyOneShot(byte[] data, int off, int len, byte[] signature) th
392406 * ok = verify(signature, sigoff, siglen)
393407 *</pre>
394408 *
409+ * @param data the message that was signed
410+ * @param signature byte array containing the signature
411+ * @param sigoff the start of the signature
412+ * @param siglen the length of the signature
413+ * @return true if the signature is valid, false otherwise
395414 * @throws SignatureException if update() already called
396415 * @see #ONE_SHOT_MODE
397416 */
@@ -410,6 +429,13 @@ public boolean verifyOneShot(byte[] data, byte[] signature, int sigoff, int sigl
410429 * ok = verify(signature, sigoff, siglen)
411430 *</pre>
412431 *
432+ * @param data byte array containing the message that was signed
433+ * @param off the start of the message inside data
434+ * @param len the length of the message
435+ * @param signature byte array containing the signature
436+ * @param sigoff the start of the signature
437+ * @param siglen the length of the signature
438+ * @return true if the signature is valid, false otherwise
413439 * @throws SignatureException if update() already called
414440 * @see #ONE_SHOT_MODE
415441 */
0 commit comments