OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:mKeyStore
(Results
1 - 8
of
8
) sorted by null
/frameworks/base/keystore/tests/src/android/security/
KeyStoreTest.java
47
private KeyStore
mKeyStore
= null;
55
mKeyStore
= KeyStore.getInstance();
56
if (
mKeyStore
.state() != KeyStore.State.UNINITIALIZED) {
57
mKeyStore
.reset();
59
assertEquals(KeyStore.State.UNINITIALIZED,
mKeyStore
.state());
65
mKeyStore
.reset();
70
assertEquals(KeyStore.State.UNINITIALIZED,
mKeyStore
.state());
74
assertTrue(
mKeyStore
.password(TEST_PASSWD));
75
assertEquals(KeyStore.State.UNLOCKED,
mKeyStore
.state());
79
assertNull(
mKeyStore
.get(TEST_KEYNAME))
[
all
...]
/packages/apps/KeyChain/support/src/com/android/keychain/tests/support/
KeyChainServiceTestSupport.java
30
private final KeyStore
mKeyStore
= KeyStore.getInstance();
36
return
mKeyStore
.reset();
40
return
mKeyStore
.password(password);
44
return
mKeyStore
.put(key, value);
/packages/apps/Settings/src/com/android/settings/
CredentialStorage.java
91
private final KeyStore
mKeyStore
= KeyStore.getInstance();
133
switch (
mKeyStore
.state()) {
192
if (value != null && !
mKeyStore
.put(key, value)) {
242
mKeyStore
.reset();
332
mKeyStore
.password(password);
407
mKeyStore
.unlock(mOldPassword.getText().toString());
408
int error =
mKeyStore
.getLastError();
ChooseLockGeneric.java
65
private KeyStore
mKeyStore
;
73
mKeyStore
= KeyStore.getInstance();
218
if (!
mKeyStore
.isEmpty()) {
/packages/apps/Settings/src/com/android/settings/vpn2/
VpnDialog.java
42
private final KeyStore
mKeyStore
= KeyStore.getInstance();
304
String[] certificates =
mKeyStore
.saw(prefix);
VpnSettings.java
59
private final KeyStore
mKeyStore
= KeyStore.getInstance();
104
if (
mKeyStore
.state() != KeyStore.State.UNLOCKED) {
126
String[] keys =
mKeyStore
.saw(Credentials.VPN);
132
mKeyStore
.get(Credentials.VPN + key));
135
mKeyStore
.delete(Credentials.VPN + key);
189
mKeyStore
.put(Credentials.VPN + profile.key, profile.encode());
256
mKeyStore
.delete(Credentials.VPN + mSelectedKey);
359
byte[] value =
mKeyStore
.get(Credentials.USER_PRIVATE_KEY + profile.ipsecUserCert);
361
value =
mKeyStore
.get(Credentials.USER_CERTIFICATE + profile.ipsecUserCert);
365
byte[] value =
mKeyStore
.get(Credentials.CA_CERTIFICATE + profile.ipsecCaCert)
[
all
...]
/packages/apps/CertInstaller/src/com/android/certinstaller/
CertInstaller.java
66
private final KeyStore
mKeyStore
= KeyStore.getInstance();
128
&& (
mKeyStore
.state() != KeyStore.State.UNLOCKED));
263
if (!
mKeyStore
.delete(PKEY_MAP_KEY)) {
269
if (!
mKeyStore
.put(PKEY_MAP_KEY, bytes)) {
275
byte[] bytes =
mKeyStore
.get(PKEY_MAP_KEY);
/packages/apps/KeyChain/src/com/android/keychain/
KeyChainActivity.java
74
private KeyStore
mKeyStore
= KeyStore.getInstance();
79
return
mKeyStore
.state() == KeyStore.State.UNLOCKED;
143
String[] aliasArray =
mKeyStore
.saw(Credentials.USER_PRIVATE_KEY);
323
byte[] bytes =
mKeyStore
.get(Credentials.USER_CERTIFICATE + alias);
Completed in 231 milliseconds