mirror of
https://github.com/i2p/i2p.i2p.git
synced 2026-11-23 13:21:07 +00:00
Utils: Enhance exception message for ticket #2296
This commit is contained in:
1 parent
34f0d7d7b3
commit
39aa2c597e
1 file changed
+1
-1
@@ -190,7 +190,7 @@ public final class SigUtil {
|
||||
else if (spec.equals(SigType.ECDSA_SHA512_P521.getParams()))
|
||||
type = SigType.ECDSA_SHA512_P521;
|
||||
else
|
||||
throw new IllegalArgumentException("Unknown EC type");
|
||||
throw new IllegalArgumentException("Unknown EC type: " + pk.getClass() + " spec: " + spec.getClass());
|
||||
return fromJavaKey(k, type);
|
||||
}
|
||||
if (pk instanceof EdDSAPrivateKey) {
|
||||
|
||||
Reference in new issue
Block a user