add javadoc for test classes

Signed-off-by: Lachlan Roberts <lachlan.p.roberts@gmail.com>
This commit is contained in:
Lachlan Roberts 2024-07-23 17:55:37 +10:00
parent 9ea7431c43
commit 32b7043932
2 changed files with 6 additions and 0 deletions

View File

@ -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;

View File

@ -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()