Fixed the InvalidKeyException message when initializing EDEC SignatureSpi from public to private when initializing for signing.
@@ -72,7 +72,7 @@ protected void engineInitSign(PrivateKey privateKey)
}
else
{
- throw new InvalidKeyException("cannot identify EdDSA public key");
+ throw new InvalidKeyException("cannot identify EdDSA private key");
}
}
