Lines Matching refs:mKeyStore
57 private android.security.KeyStore mKeyStore;
78 if (mKeyStore == null || mSpec == null) {
84 && (mKeyStore.state() != KeyStore.State.UNLOCKED)) {
92 Credentials.deleteAllTypesForAlias(mKeyStore, alias);
98 if (!mKeyStore.generate(privateKeyAlias, KeyStore.UID_SELF, keyType,
111 final byte[] pubKeyBytes = mKeyStore.getPubkey(privateKeyAlias);
136 Credentials.deleteAllTypesForAlias(mKeyStore, alias);
144 Credentials.deleteAllTypesForAlias(mKeyStore, alias);
148 if (!mKeyStore.put(Credentials.USER_CERTIFICATE + alias, certBytes, KeyStore.UID_SELF,
150 Credentials.deleteAllTypesForAlias(mKeyStore, alias);
207 mKeyStore = android.security.KeyStore.getInstance();