Home
last modified time | relevance | path

Searched refs:keystore (Results 1 – 25 of 140) sorted by relevance

123456

/frameworks/base/keystore/java/android/security/
DCredentials.java172 public static boolean deleteAllTypesForAlias(KeyStore keystore, String alias) { in deleteAllTypesForAlias() argument
173 return deleteAllTypesForAlias(keystore, alias, KeyStore.UID_SELF); in deleteAllTypesForAlias()
181 public static boolean deleteAllTypesForAlias(KeyStore keystore, String alias, int uid) { in deleteAllTypesForAlias() argument
186 return deleteUserKeyTypeForAlias(keystore, alias, uid) in deleteAllTypesForAlias()
187 & deleteCertificateTypesForAlias(keystore, alias, uid); in deleteAllTypesForAlias()
195 public static boolean deleteCertificateTypesForAlias(KeyStore keystore, String alias) { in deleteCertificateTypesForAlias() argument
196 return deleteCertificateTypesForAlias(keystore, alias, KeyStore.UID_SELF); in deleteCertificateTypesForAlias()
204 public static boolean deleteCertificateTypesForAlias(KeyStore keystore, String alias, int uid) { in deleteCertificateTypesForAlias() argument
209 return keystore.delete(Credentials.USER_CERTIFICATE + alias, uid) in deleteCertificateTypesForAlias()
210 & keystore.delete(Credentials.CA_CERTIFICATE + alias, uid); in deleteCertificateTypesForAlias()
[all …]
/frameworks/base/core/java/org/apache/http/conn/ssl/
DSSLSocketFactory.java190 final KeyStore keystore, in SSLSocketFactory() argument
202 if (keystore != null) { in SSLSocketFactory()
203 keymanagers = createKeyManagers(keystore, keystorePassword); in SSLSocketFactory()
216 final KeyStore keystore, in SSLSocketFactory() argument
221 this(TLS, keystore, keystorePassword, truststore, null, null); in SSLSocketFactory()
224 public SSLSocketFactory(final KeyStore keystore, final String keystorePassword) in SSLSocketFactory() argument
227 this(TLS, keystore, keystorePassword, null, null, null); in SSLSocketFactory()
264 private static KeyManager[] createKeyManagers(final KeyStore keystore, final String password) in createKeyManagers() argument
266 if (keystore == null) { in createKeyManagers()
271 kmfactory.init(keystore, password != null ? password.toCharArray(): null); in createKeyManagers()
[all …]
/frameworks/base/keystore/tests/src/android/security/keystore/
DKeyGenParameterSpecTest.java17 package android.security.keystore;
24 import android.security.keystore.KeyGenParameterSpec;
25 import android.security.keystore.KeyProperties;
/frameworks/base/services/backup/java/com/android/server/backup/encryption/keys/
DRecoverableKeyStoreSecondaryKeyManager.java20 import android.security.keystore.recovery.InternalRecoveryServiceException;
21 import android.security.keystore.recovery.LockScreenRequiredException;
22 import android.security.keystore.recovery.RecoveryController;
DRecoverableKeyStoreSecondaryKey.java23 import android.security.keystore.recovery.InternalRecoveryServiceException;
24 import android.security.keystore.recovery.RecoveryController;
/frameworks/base/core/tests/coretests/src/android/security/keystore/recovery/
DTrustedRootCertificatesTest.java17 package android.security.keystore.recovery;
19 import static android.security.keystore.recovery.TrustedRootCertificates.getRootCertificates;
DX509CertificateParsingUtilsTest.java17 package android.security.keystore.recovery;
19 import static android.security.keystore.recovery.X509CertificateParsingUtils.decodeBase64Cert;
/frameworks/base/core/java/com/android/internal/widget/
DILockSettings.aidl22 import android.security.keystore.recovery.WrappedApplicationKey;
23 import android.security.keystore.recovery.KeyChainSnapshot;
24 import android.security.keystore.recovery.KeyChainProtectionParams;
25 import android.security.keystore.recovery.RecoveryCertPath;
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/
DRecoverableKeyStoreManager.java19 import static android.security.keystore.recovery.RecoveryController.ERROR_BAD_CERTIFICATE_FORMAT;
20 import static android.security.keystore.recovery.RecoveryController.ERROR_DECRYPTION_FAILED;
21 import static android.security.keystore.recovery.RecoveryController.ERROR_DOWNGRADE_CERTIFICATE;
22 import static android.security.keystore.recovery.RecoveryController.ERROR_INSECURE_USER;
23 import static android.security.keystore.recovery.RecoveryController.ERROR_INVALID_CERTIFICATE;
24 import static android.security.keystore.recovery.RecoveryController.ERROR_INVALID_KEY_FORMAT;
25 import static android.security.keystore.recovery.RecoveryController.ERROR_NO_SNAPSHOT_PENDING;
26 import static android.security.keystore.recovery.RecoveryController.ERROR_SERVICE_INTERNAL_ERROR;
27 import static android.security.keystore.recovery.RecoveryController.ERROR_SESSION_EXPIRED;
39 import android.security.keystore.recovery.KeyChainProtectionParams;
[all …]
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/storage/
DApplicationKeyStorage.java19 import static android.security.keystore.recovery.RecoveryController.ERROR_SERVICE_INTERNAL_ERROR;
24 import android.security.keystore.KeyProperties;
25 import android.security.keystore.KeyProtection;
/frameworks/base/services/robotests/src/com/android/server/testing/shadows/
DShadowRecoveryController.java20 import android.security.keystore.recovery.InternalRecoveryServiceException;
21 import android.security.keystore.recovery.LockScreenRequiredException;
22 import android.security.keystore.recovery.RecoveryController;
/frameworks/base/core/java/android/security/keystore/recovery/
DTrustedRootCertificates.java17 package android.security.keystore.recovery;
19 import static android.security.keystore.recovery.X509CertificateParsingUtils.decodeBase64Cert;
DRecoveryController.java17 package android.security.keystore.recovery;
30 import android.security.keystore.AndroidKeyStoreProvider;
31 import android.security.keystore.KeyPermanentlyInvalidatedException;
267 private RecoveryController(ILockSettings binder, KeyStore keystore) { in RecoveryController() argument
269 mKeyStore = keystore; in RecoveryController()
DRecoveryCertPath.aidl17 package android.security.keystore.recovery;
DKeyChainProtectionParams.aidl17 package android.security.keystore.recovery;
DWrappedApplicationKey.aidl17 package android.security.keystore.recovery;
DKeyDerivationParams.aidl17 package android.security.keystore.recovery;
DKeyChainSnapshot.aidl17 package android.security.keystore.recovery;
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DLockSettingsServiceTestable.java30 import android.security.keystore.KeyPermanentlyInvalidatedException;
134 LockSettingsStorage storage, FakeGateKeeperService gatekeeper, KeyStore keystore, in LockSettingsServiceTestable() argument
138 super(new MockInjector(context, storage, keystore, mActivityManager, lockPatternUtils, in LockSettingsServiceTestable()
/frameworks/base/keystore/java/android/security/keystore/
DParcelableKeyGenParameterSpec.aidl17 package android.security.keystore;
DKeyStoreCryptoOperation.java17 package android.security.keystore;
DKeyStoreConnectException.java17 package android.security.keystore;
DUserAuthArgs.java17 package android.security.keystore;
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/
DKeySyncTaskTest.java19 import static android.security.keystore.recovery.KeyChainProtectionParams.TYPE_LOCKSCREEN;
20 import static android.security.keystore.recovery.KeyChainProtectionParams.UI_FORMAT_PASSWORD;
21 import static android.security.keystore.recovery.KeyChainProtectionParams.UI_FORMAT_PATTERN;
22 import static android.security.keystore.recovery.KeyChainProtectionParams.UI_FORMAT_PIN;
45 import android.security.keystore.AndroidKeyStoreSecretKey;
46 import android.security.keystore.KeyGenParameterSpec;
47 import android.security.keystore.KeyProperties;
48 import android.security.keystore.recovery.KeyChainSnapshot;
49 import android.security.keystore.recovery.KeyDerivationParams;
50 import android.security.keystore.recovery.RecoveryController;
[all …]
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/serialization/
DKeyChainSnapshotSerializer.java45 import android.security.keystore.recovery.KeyChainProtectionParams;
46 import android.security.keystore.recovery.KeyChainSnapshot;
47 import android.security.keystore.recovery.KeyDerivationParams;
48 import android.security.keystore.recovery.WrappedApplicationKey;

123456