Drop the "key without version byte" counter

This commit is contained in:
Jon Chambers
2024-02-21 11:52:38 -05:00
committed by Jon Chambers
parent 79c030b138
commit 6ac2460eb0
2 changed files with 1 additions and 13 deletions

View File

@@ -47,8 +47,7 @@ class ECPublicKeyAdapterTest {
return Stream.of(
Arguments.of(String.format(template, "null"), null),
Arguments.of(String.format(template, "\"\""), null),
Arguments.of(String.format(template, "\"" + Base64.getEncoder().encodeToString(EC_PUBLIC_KEY.serialize()) + "\""), EC_PUBLIC_KEY),
Arguments.of(String.format(template, "\"" + Base64.getEncoder().encodeToString(EC_PUBLIC_KEY.getPublicKeyBytes()) + "\""), EC_PUBLIC_KEY)
Arguments.of(String.format(template, "\"" + Base64.getEncoder().encodeToString(EC_PUBLIC_KEY.serialize()) + "\""), EC_PUBLIC_KEY)
);
}
}