Security is an important topic in Information Technology. When writing code related to security, you should be conscious and fully understand what are you doing. This topic is not a topic which you can code without knowing exactly what you do. You should be careful and not just blindly copy paste code you don’t understand. The system is relying to your code, to feel safe and secure :)
This article does not teach you to understand Java security. This is just a pointer to kickstart your research. I have some reference to good articles from Oracle which will help you to start figuring out.
- Certificates and Certificate Revocation Lists
- Java Cryptography Architecture
- Java PKI Programmer’s Guide
You can start your research to follow those links above according to its order. Happy learning!