Search code examples
javamacosx509certificatedigital-certificate

How can I access certificates installed in a apple OS X


As in Windows, that we have the really old Capicom, that interfaces the CryptoAPI equivalent for us, is there something that helps getting a certificate in a apple system?

If not, is there some way to access them? By bouncy Castle, Itext, java native...

thanks


Solution

  • You are probably looking for OSX's keychain. Java has an API which interacts with it using the KeyStore. The method of interest to you is probably getCertificate.