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

# getKeyStore

`fun getKeyStore(): `[`KeyStore`](https://developer.android.com/reference/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#L44)

Retrieves the underlying KeyStore, loading it if necessary.

