Skip to content

Commit

Permalink
Fix javadoc description (java-native-access#674)
Browse files Browse the repository at this point in the history
  • Loading branch information
simonatan authored Feb 17, 2024
1 parent aa35869 commit 3579b30
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,7 @@ interface BoringSSLPrivateKeyMethod {
* @param ssl the SSL instance
* @param signatureAlgorithm the algorithm to use for signing
* @param input the input itself
* @return the sign
* @throws Exception thrown if an error accours while signing.
* @param callback the callback provides the signed bytes and an error if such occurs while signing
*/
void sign(long ssl, int signatureAlgorithm, byte[] input, BiConsumer<byte[], Throwable> callback);

Expand All @@ -51,8 +50,7 @@ interface BoringSSLPrivateKeyMethod {
*
* @param ssl the SSL instance
* @param input the input which should be decrypted
* @return the decrypted data
* @throws Exception thrown if an error accours while decrypting.
* @param callback the callback provides the decrypted bytes and an error if such occurs while decrypting
*/
void decrypt(long ssl, byte[] input, BiConsumer<byte[], Throwable> callback);
}
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ public interface QuicResetTokenGenerator {

/**
* Generate a reset token to use for the given connection id. The returned token MUST be of length 16.
* @param cid
* @return
* @param cid the connection id
* @return a newly generated reset token
*/
ByteBuffer newResetToken(ByteBuffer cid);

Expand Down

0 comments on commit 3579b30

Please sign in to comment.