/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/ |
D | KeyStoreProxyImpl.java | 21 import java.security.KeyStore; 34 private final KeyStore mKeyStore; 39 public KeyStoreProxyImpl(KeyStore keyStore) { in KeyStoreProxyImpl() 55 public void setEntry(String alias, KeyStore.Entry entry, KeyStore.ProtectionParameter protParam) in setEntry() 71 public static KeyStore getAndLoadAndroidKeyStore() throws KeyStoreException { in getAndLoadAndroidKeyStore() 72 KeyStore keyStore = KeyStore.getInstance(ANDROID_KEY_STORE_PROVIDER); in getAndLoadAndroidKeyStore()
|
D | KeyStoreProxy.java | 20 import java.security.KeyStore; 41 void setEntry(String alias, KeyStore.Entry entry, KeyStore.ProtectionParameter protParam) in setEntry()
|
D | PlatformKeyManager.java | 36 import java.security.KeyStore; 439 new KeyStore.SecretKeyEntry(secretKey), in generateAndLoadKey() 443 new KeyStore.SecretKeyEntry(secretKey), in generateAndLoadKey() 471 private static KeyStore getAndLoadAndroidKeyStore() throws KeyStoreException { in getAndLoadAndroidKeyStore() 472 KeyStore keyStore = KeyStore.getInstance(KeyStoreProxyImpl.ANDROID_KEY_STORE_PROVIDER); in getAndLoadAndroidKeyStore()
|
/frameworks/base/keystore/java/android/security/ |
D | KeyStore.java | 30 public class KeyStore { class 49 private static final KeyStore KEY_STORE = new KeyStore(); 52 public static KeyStore getInstance() { in getInstance() 62 return KeyStore.State.UNINITIALIZED; in state() 64 return KeyStore.State.UNLOCKED; in state() 66 return KeyStore.State.LOCKED; in state()
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | RebootEscrowKeyStoreManager.java | 29 import java.security.KeyStore; 66 KeyStore keyStore = KeyStore.getInstance(ANDROID_KEY_STORE_PROVIDER); in getKeyStoreEncryptionKeyLocked() 67 KeyStore.LoadStoreParameter loadStoreParameter = null; in getKeyStoreEncryptionKeyLocked() 88 KeyStore keyStore = KeyStore.getInstance(ANDROID_KEY_STORE_PROVIDER); in clearKeyStoreEncryptionKey() 89 KeyStore.LoadStoreParameter loadStoreParameter = null; in clearKeyStoreEncryptionKey()
|
D | SyntheticPasswordCrypto.java | 31 import java.security.KeyStore; 132 KeyStore keyStore = getKeyStore(); in decryptBlobV1() 153 private static KeyStore getKeyStore() in getKeyStore() 155 KeyStore keyStore = KeyStore.getInstance(androidKeystoreProviderName()); in getKeyStore() 162 final KeyStore keyStore = getKeyStore(); in decryptBlob() 185 final KeyStore keyStore = getKeyStore(); in createBlob() 197 new KeyStore.SecretKeyEntry(secretKey), in createBlob() 212 KeyStore keyStore; in destroyBlobKey()
|
D | ManagedProfilePasswordCache.java | 33 import java.security.KeyStore; 69 private final KeyStore mKeyStore; 72 public ManagedProfilePasswordCache(KeyStore keyStore, UserManager userManager) { in ManagedProfilePasswordCache()
|
/frameworks/base/keystore/java/android/security/keystore/ |
D | AndroidKeyStoreProvider.java | 22 import android.security.KeyStore; 87 public static java.security.KeyStore getKeyStoreForUid(int uid) in getKeyStoreForUid() 89 final java.security.KeyStore.LoadStoreParameter loadParameter = in getKeyStoreForUid() 92 java.security.KeyStore result = java.security.KeyStore.getInstance(PROVIDER_NAME); in getKeyStoreForUid()
|
D | AttestationUtils.java | 29 import java.security.KeyStore; 165 KeyStore keyStore = KeyStore.getInstance("AndroidKeyStore"); in attestDeviceIds()
|
D | KeyStoreCryptoOperation.java | 19 import android.security.KeyStore;
|
/frameworks/base/core/tests/coretests/src/android/net/http/ |
D | X509TrustManagerExtensionsTest.java | 19 import java.security.KeyStore; 53 String defaultType = KeyStore.getDefaultType(); in testGoodCast() 54 TrustManagerImpl tmi = new TrustManagerImpl(KeyStore.getInstance(defaultType)); in testGoodCast() 61 String defaultKeystoreType = KeyStore.getDefaultType(); in testNormalUseCase() 62 tmf.init(KeyStore.getInstance(defaultKeystoreType)); in testNormalUseCase()
|
/frameworks/base/core/java/org/apache/http/conn/ssl/ |
D | SSLSocketFactory.java | 48 import java.security.KeyStore; 192 final KeyStore keystore, in SSLSocketFactory() 194 final KeyStore truststore, in SSLSocketFactory() 218 final KeyStore keystore, in SSLSocketFactory() 220 final KeyStore truststore) in SSLSocketFactory() 226 public SSLSocketFactory(final KeyStore keystore, final String keystorePassword) in SSLSocketFactory() 232 public SSLSocketFactory(final KeyStore truststore) in SSLSocketFactory() 266 private static KeyManager[] createKeyManagers(final KeyStore keystore, final String password) in createKeyManagers() 278 private static TrustManager[] createTrustManagers(final KeyStore keystore) in createTrustManagers()
|
/frameworks/base/keystore/java/android/security/keystore2/ |
D | AndroidKeyStoreLoadStoreParameter.java | 21 import java.security.KeyStore; 22 import java.security.KeyStore.ProtectionParameter; 27 public class AndroidKeyStoreLoadStoreParameter implements KeyStore.LoadStoreParameter {
|
D | AndroidKeyStoreKeyFactorySpi.java | 19 import android.security.KeyStore; 42 private final KeyStore mKeyStore = KeyStore.getInstance();
|
D | AndroidKeyStoreSpi.java | 51 import java.security.KeyStore.Entry; 52 import java.security.KeyStore.LoadStoreParameter; 53 import java.security.KeyStore.PrivateKeyEntry; 54 import java.security.KeyStore.ProtectionParameter; 55 import java.security.KeyStore.SecretKeyEntry; 330 java.security.KeyStore.ProtectionParameter param) throws KeyStoreException { in setPrivateKeyEntry() 595 java.security.KeyStore.ProtectionParameter param) in setSecretKeyEntry() 811 java.security.KeyStore.ProtectionParameter param) throws KeyStoreException { in setWrappedKeyEntry() 1159 if (entry instanceof java.security.KeyStore.TrustedCertificateEntry) { in engineSetEntry() 1160 java.security.KeyStore.TrustedCertificateEntry trE = in engineSetEntry() [all …]
|
D | KeyStoreCryptoOperationStreamer.java | 19 import android.security.KeyStore;
|
D | KeyStoreCryptoOperationUtils.java | 23 import android.security.KeyStore; 141 if (e.getErrorCode() == KeyStore.NO_ERROR) { in getExceptionForCipherInit()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
D | LockSettingsServiceTestable.java | 31 import android.security.KeyStore; 46 private KeyStore mKeyStore; 56 public MockInjector(Context context, LockSettingsStorage storage, KeyStore keyStore, in MockInjector() 106 public KeyStore getKeyStore() { in getKeyStore() 159 java.security.KeyStore ks) { in getManagedProfilePasswordCache() 168 LockSettingsStorage storage, FakeGateKeeperService gatekeeper, KeyStore keystore, in LockSettingsServiceTestable()
|
/frameworks/base/core/java/android/security/net/config/ |
D | KeyStoreConfigSource.java | 20 import java.security.KeyStore; 31 public KeyStoreConfigSource(KeyStore ks) { in KeyStoreConfigSource()
|
D | KeyStoreCertificateSource.java | 20 import java.security.KeyStore; 36 private final KeyStore mKeyStore; 40 public KeyStoreCertificateSource(KeyStore ks) { in KeyStoreCertificateSource()
|
D | NetworkSecurityTrustManager.java | 27 import java.security.KeyStore; 58 KeyStore store = KeyStore.getInstance(KeyStore.getDefaultType()); in NetworkSecurityTrustManager()
|
D | RootTrustManagerFactorySpi.java | 22 import java.security.KeyStore; 52 public void engineInit(KeyStore ks) throws KeyStoreException { in engineInit()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/ |
D | RecoverableKeyGeneratorTest.java | 42 import java.security.KeyStore; 88 KeyStore keyStore = KeyStore.getInstance(ANDROID_KEY_STORE_PROVIDER); in tearDown()
|
D | PlatformKeyManagerTest.java | 56 import java.security.KeyStore; 92 @Captor private ArgumentCaptor<KeyStore.ProtectionParameter> mProtectionParameterCaptor; 93 @Captor private ArgumentCaptor<KeyStore.Entry> mEntryArgumentCaptor; 259 List<KeyStore.Entry> entries = mEntryArgumentCaptor.getAllValues(); in init_createsBothKeysWithSameMaterial() 261 ((KeyStore.SecretKeyEntry) entries.get(0)).getSecretKey().getEncoded(), in init_createsBothKeysWithSameMaterial() 262 ((KeyStore.SecretKeyEntry) entries.get(1)).getSecretKey().getEncoded()); in init_createsBothKeysWithSameMaterial()
|
D | WrappedKeyTest.java | 36 import java.security.KeyStore; 61 KeyStore keyStore = KeyStore.getInstance(ANDROID_KEY_STORE_PROVIDER); in tearDown()
|