From 32b70439324befad46ac280b512bb4242d61cec9 Mon Sep 17 00:00:00 2001 From: Lachlan Roberts Date: Tue, 23 Jul 2024 17:55:37 +1000 Subject: [PATCH] add javadoc for test classes Signed-off-by: Lachlan Roberts --- .../eclipse/jetty/security/siwe/util/EthereumCredentials.java | 3 +++ .../jetty/security/siwe/util/SignInWithEthereumGenerator.java | 3 +++ 2 files changed, 6 insertions(+) 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()