7

I'm quite confused between the three, and a Google search didn't come up with much. Can someone please explain?

Anders
  • 64,406
  • 24
  • 178
  • 215
user1118764
  • 401
  • 5
  • 12
  • 1
    I can't believe no-one has upvoted this. I too am wondering if keystore and keychain are the same thing. I guess everyone except us falls in 2 categories: 1) don't know, don't care 2) so simple it doesn't warrant discussion. – Sridhar Sarnobat Jul 20 '18 at 02:38

1 Answers1

4

Look to:

  • Truststore vs. Keystore - Trust store contains the public parts from others and the keystore contains the personal certificate (and key).
  • Keychain - the Apple password manager.

[edit]

Now that it has been clarified that the KeyChain in question is the Android API, that would best be described as: see

[...] regulates application access to the system key store and allows users to grant application access to the credentials stored there. Additionally, this API enables applications to initiate installation of credentials from X.509 certificates and PKCS#12 key stores.

So it is a way to access the truststores and keystores.

RLFP
  • 617
  • 5
  • 15
  • 2
    Android also has KeyChain - https://developer.android.com/reference/android/security/KeyChain.html According to the docs, "The KeyChain class provides access to private keys and their corresponding certificate chains in credential storage". Doesn't KeyStore/TrustStore also provide access to private keys and their corresponding certificates? – user1118764 Aug 23 '16 at 08:35
  • Thanks. So, it's just another way to access KeyStores, in addition to using the Java KeyStore APIs? – user1118764 Aug 23 '16 at 08:59
  • From what I can tell - yes. I is a bit more seamless, so probably easier to adopt. – RLFP Aug 23 '16 at 09:01
  • Was the term keychain used before Apple started using it? I feel like that term is more universally accepted than the Apple world. – Sridhar Sarnobat Jul 20 '18 at 02:39