Private key reading
Hello.
I have been trying ro read a damn private key for weeks without success?
It's a RSA pkcs8 private key in DER format that goverment provided to sign documents.
It's a password encrypted .key file.
I have read the book, test many examples and it doesn't works.
I have tried to read it as a keystore file (pcks12) but I don't know the tag name.
I have tried to read it with PKCS8EncodedKeySpec class and unwrap the key with Cipher, but I don't know which method goverment used to encrypt it.
Please, please, please... help.
Thank you in advance.
|