150 reputation
126
bio website
location
age
visits member for 2 years, 11 months
seen Jan 21 at 18:08

Dec
3
awarded  Famous Question
Jul
27
awarded  Notable Question
Nov
13
awarded  Popular Question
Oct
9
awarded  Notable Question
May
18
awarded  Popular Question
Dec
9
comment How to use OpenSSL generated keys in Java?
I have another question. My private key has a password, but nowhere in the code I put that password, could it be the problem of the exception?
Dec
9
comment How to use OpenSSL generated keys in Java?
Doing some research. It seems that KeyFactory is the one responsible of this exception, 'cause in fact the key is PKCS#8.
Dec
9
comment How to use OpenSSL generated keys in Java?
Is there a way to give you my key? It was generated just for test purposes so I don't care sharing it !
Dec
9
awarded  Editor
Dec
9
revised How to use OpenSSL generated keys in Java?
Posting code to use a private key
Dec
9
awarded  Supporter
Dec
9
accepted How to use OpenSSL generated keys in Java?
Dec
9
comment How to use OpenSSL generated keys in Java?
Ok. I'll check it and thanks for correcting me. I'm sure they are in PKCS#8 but I did a big mistake saying that DER implies PKCS#8. Anyway I'll try what you said and just to confirm that they are in PKCS#8. Thanks.
Dec
9
comment How to use OpenSSL generated keys in Java?
Thanks. I've done a more deep research and actually the key and cert are in DER format, so they are in pkcs8 arent they? So if I understand well the info you gave me I can use PKCS8EncodedKeySpec, am I right? (The key I posted was actually a PEM one but the original file is in DER, and all the other keys and certs are in DER) Thanks I'll try this out ! thanks !
Dec
9
comment How to use OpenSSL generated keys in Java?
Yep thanks ! And If I don't want to use third party APIs? Is there a native Java API to use private/public RSA keys and certificates? Should I create new keys in PKCS#12 format? How can I check if my keys are in that format?
Dec
8
asked How to use OpenSSL generated keys in Java?
Dec
8
comment What data should I validate when validating X.509 certificates using Java?
Thanks for your info! I think I didn't express my idea correctly. For example, If I have a certificate how can I verify that this is a completely valid one? What I want to avoid is users make use of an old certificate or even a revoked one. So I assumed that verifying dates and verifying CA's signature should be enough (what Paul Ackerman said).
Dec
8
comment What data should I validate when validating X.509 certificates using Java?
The RFID app used X.509 certs. And yes it's not about RFID app. This is a completely new project.
Dec
8
awarded  Scholar
Dec
8
comment What data should I validate when validating X.509 certificates using Java?
Thank you very much !