Package com.castlabs.android.drm
Class MemoryKeyStore
java.lang.Object
com.castlabs.android.drm.KeyStore
com.castlabs.android.drm.MemoryKeyStore
Simple implementation of
KeyStore that stores all keys in memory.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
MemoryKeyStore
public MemoryKeyStore()Creates a new instance of MemoryKeyStore. This implementation stores DRM keys in memory using a HashMap.
-
-
Method Details
-
getLicenseKeysCount
public int getLicenseKeysCount()Description copied from class:KeyStoreGet count of stored license keys- Specified by:
getLicenseKeysCountin classKeyStore- Returns:
- count of stored keys
-