[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[iaik-jce] Unknown private key type
I have a problem with the IAIKKeystore. First I create a private RSA key and
store it to a file. To perform this I fetch the modulus and the private
out of the RSAPrivateKey object and write them on disk using an
ObjectOutputStream. Later on I read the modulus and the exponent with an
ObjectInputStream from disk and create a RSAPrivateKey object out of them.
Then I try to save this new RSAPrivateKey in a KeyStore but I always get the
java.security.KeyStoreException: Unknown private key type.
Perhaps anyone can tell me what's going wrong.
Mailinglist-archive at http://jcewww.iaik.at/mailarchive/iaik-jce/jcethreads.html
To unsubscribe send an email to firstname.lastname@example.org with the folowing content: UNSUBSCRIBE iaik-jce