10-02-2009 06:12 PM
I'm getting an invalidKeyException when I'm trying to do this:
ret = new ECPublicKey(cryptoSystem, data);
the weird part is that I've implemented another function exactly the same with:
ret = new ECPrivateKey(cryptoSystem, data);
which throws no errors.
Has someone experienced this or know what's going wrong?
08-31-2012 03:31 PM
Did you manage to get this resolved? I'm trying to the same thing for ECDSA using a public key saved from Crypto++ on Windows. The key is in X.509 format. I've tried using the PublicKeyDecoder, but that fails as well.