Can you update the existing TimeStampCheck test to use this class? I know that test can simulate some error conditions. Maybe you can add one or more virtual methods in this class so TimeStampCheck can override them.
getDefaultSigAlgo(): Please call AlgorithmId.getDefaultSigAlgForKey() instead. It will be enhanced to support new algorithm. Param: How about making it a JDK 14 record? Thanks, Max > On May 11, 2020, at 9:28 AM, sha.ji...@oracle.com wrote: > > Hi, > This patch introduces a TSA server, which can work with jarsigner. > This server will be used by the following jar signing tests. > > Issue: https://bugs.openjdk.java.net/browse/JDK-8244683 > Webrev: http://cr.openjdk.java.net/~jjiang/8244683/webrev.00/ > > Best regards, > John Jiang >