Drop the "key without version byte" counter

This commit is contained in:
Jon Chambers authored and Jon Chambers committed 2024-02-21 15:32:25 -05:00
1 parent 79c030b138
commit 6ac2460eb0
2 files changed
+1 -13

No files matched your search

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