android-components / mozilla.components.lib.dataprotect / KeyStoreWrapper / loadKeyStore

# loadKeyStore

`open fun loadKeyStore(): KeyStore` (source)

Creates and initializes the KeyStore in use.

This method loads a`"AndroidKeyStore"` type KeyStore.

Subclasses override this to load a KeyStore appropriate to the testing environment.

### Exceptions

`KeyStoreException` - if the type of store is not supported

Return
The KeyStore, already initialized