[android-components](../../index.md) / [mozilla.components.lib.dataprotect](../index.md) / [KeyStoreWrapper](index.md) / [getKeyStore](./get-key-store.md)

# getKeyStore

`fun getKeyStore(): `[`KeyStore`](http://docs.oracle.com/javase/7/docs/api/java/security/KeyStore.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/lib/dataprotect/src/main/java/mozilla/components/lib/dataprotect/Keystore.kt#L47)

Retrieves the underlying KeyStore, loading it if necessary.

