File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -305,8 +305,7 @@ private void checkMessageSignature(
305305 builder );
306306 logEntrySpec = builder .build ();
307307 } catch (InvalidProtocolBufferException ipbe ) {
308- throw new KeylessVerificationException (
309- "Could not parse HashedRekordLogEntryV002 from log entry body" );
308+ throw new KeylessVerificationException ("Could not parse hashedrekord from log entry body" );
310309 }
311310
312311 if (!logEntrySpec .getData ().getAlgorithm ().equals (HashAlgorithm .SHA2_256 )) {
@@ -460,8 +459,7 @@ private void checkDsseEnvelope(
460459 builder );
461460 logEntrySpec = builder .build ();
462461 } catch (InvalidProtocolBufferException ipbe ) {
463- throw new KeylessVerificationException (
464- "Could not parse DSSELogEntryV002 from log entry body" , ipbe );
462+ throw new KeylessVerificationException ("Could not parse DSSE from log entry body" , ipbe );
465463 }
466464
467465 if (!logEntrySpec .getPayloadHash ().getAlgorithm ().equals (HashAlgorithm .SHA2_256 )) {
Original file line number Diff line number Diff line change @@ -270,7 +270,7 @@ public void testVerify_mismatchedCertificate_rekorV2() throws Exception {
270270 Bundle .from (new StringReader (modifiedBundleFile )),
271271 VerificationOptions .empty ()));
272272 Assertions .assertEquals (
273- "Could not parse HashedRekordLogEntryV002 from log entry body" , thrown .getMessage ());
273+ "Could not parse hashedrekord from log entry body" , thrown .getMessage ());
274274 }
275275
276276 @ Test
You can’t perform that action at this time.
0 commit comments