I am currently developing a Java application on a Mac. I know that there is the keystore from Apple and I want to securely store a password within that keystore.
According to Apple developers I can get the keystore with keyStore = KeyStore.getInstance("KeychainStore", "Apple");
Now my question is: How can I store the password and how can I get the password back again? I have read a lot about keystores but I do not know, how an implementation would look like.
And how can I get the built-in keystore from Windows / Linux?