diff --git a/jetty-core/jetty-siwe/src/test/java/org/eclipse/jetty/security/siwe/util/EthereumCredentials.java b/jetty-core/jetty-siwe/src/test/java/org/eclipse/jetty/security/siwe/util/EthereumCredentials.java index f19d31b9687..b2b07b91e64 100644 --- a/jetty-core/jetty-siwe/src/test/java/org/eclipse/jetty/security/siwe/util/EthereumCredentials.java +++ b/jetty-core/jetty-siwe/src/test/java/org/eclipse/jetty/security/siwe/util/EthereumCredentials.java @@ -33,6 +33,9 @@ import org.eclipse.jetty.security.siwe.internal.EthereumUtil; import static org.eclipse.jetty.security.siwe.internal.EthereumUtil.keccak256; +/** + * Test utility to generate an ethereum address and use it to sign messages. + */ public class EthereumCredentials { private final PrivateKey privateKey; diff --git a/jetty-core/jetty-siwe/src/test/java/org/eclipse/jetty/security/siwe/util/SignInWithEthereumGenerator.java b/jetty-core/jetty-siwe/src/test/java/org/eclipse/jetty/security/siwe/util/SignInWithEthereumGenerator.java index fed54412897..dc52f9121de 100644 --- a/jetty-core/jetty-siwe/src/test/java/org/eclipse/jetty/security/siwe/util/SignInWithEthereumGenerator.java +++ b/jetty-core/jetty-siwe/src/test/java/org/eclipse/jetty/security/siwe/util/SignInWithEthereumGenerator.java @@ -16,6 +16,9 @@ package org.eclipse.jetty.security.siwe.util; import java.time.LocalDateTime; import java.time.format.DateTimeFormatter; +/** + * A utility to generate Sign-In with Ethereum message to be used for testing. + */ public class SignInWithEthereumGenerator { private SignInWithEthereumGenerator()