Home
last modified time | relevance | path

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

123456

/frameworks/base/keystore/java/android/security/
DCredentials.java180 public static boolean deleteAllTypesForAlias(KeyStore keystore, String alias) { in deleteAllTypesForAlias() argument
181 return deleteAllTypesForAlias(keystore, alias, KeyStore.UID_SELF); in deleteAllTypesForAlias()
189 public static boolean deleteAllTypesForAlias(KeyStore keystore, String alias, int uid) { in deleteAllTypesForAlias() argument
194 return deleteUserKeyTypeForAlias(keystore, alias, uid) in deleteAllTypesForAlias()
195 & deleteCertificateTypesForAlias(keystore, alias, uid); in deleteAllTypesForAlias()
203 public static boolean deleteCertificateTypesForAlias(KeyStore keystore, String alias) { in deleteCertificateTypesForAlias() argument
204 return deleteCertificateTypesForAlias(keystore, alias, KeyStore.UID_SELF); in deleteCertificateTypesForAlias()
212 public static boolean deleteCertificateTypesForAlias(KeyStore keystore, String alias, int uid) { in deleteCertificateTypesForAlias() argument
217 return keystore.delete(Credentials.USER_CERTIFICATE + alias, uid) in deleteCertificateTypesForAlias()
218 & keystore.delete(Credentials.CA_CERTIFICATE + alias, uid); in deleteCertificateTypesForAlias()
[all …]
DKeyStore.java41 import android.security.keystore.IKeystoreService;
42 import android.security.keystore.KeyExpiredException;
43 import android.security.keystore.KeyNotYetValidException;
44 import android.security.keystore.KeyPermanentlyInvalidatedException;
45 import android.security.keystore.KeyProperties;
46 import android.security.keystore.KeystoreResponse;
47 import android.security.keystore.UserNotAuthenticatedException;
184 IKeystoreService keystore = IKeystoreService.Stub.asInterface(ServiceManager in getInstance() local
186 return new KeyStore(keystore); in getInstance()
531 extends android.security.keystore.IKeystoreKeyCharacteristicsCallback.Stub
[all …]
/frameworks/base/core/java/org/apache/http/conn/ssl/
DSSLSocketFactory.java192 final KeyStore keystore, in SSLSocketFactory() argument
204 if (keystore != null) { in SSLSocketFactory()
205 keymanagers = createKeyManagers(keystore, keystorePassword); in SSLSocketFactory()
218 final KeyStore keystore, in SSLSocketFactory() argument
223 this(TLS, keystore, keystorePassword, truststore, null, null); in SSLSocketFactory()
226 public SSLSocketFactory(final KeyStore keystore, final String keystorePassword) in SSLSocketFactory() argument
229 this(TLS, keystore, keystorePassword, null, null, null); in SSLSocketFactory()
266 private static KeyManager[] createKeyManagers(final KeyStore keystore, final String password) in createKeyManagers() argument
268 if (keystore == null) { in createKeyManagers()
273 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/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 …]
DPlatformKeyManager.java24 import android.security.keystore.AndroidKeyStoreSecretKey;
25 import android.security.keystore.KeyPermanentlyInvalidatedException;
26 import android.security.keystore.KeyProperties;
27 import android.security.keystore.KeyProtection;
DTestOnlyInsecureCertificateHelper.java19 import static android.security.keystore.recovery.RecoveryController.ERROR_INVALID_CERTIFICATE;
25 import android.security.keystore.recovery.TrustedRootCertificates;
/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/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/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/opt/net/wifi/service/java/com/android/server/wifi/
DMacAddressUtil.java21 import android.security.keystore.AndroidKeyStoreProvider;
22 import android.security.keystore.KeyGenParameterSpec;
23 import android.security.keystore.KeyProperties;
/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/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/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()
/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 …]
DRecoverableKeyGeneratorTest.java26 import android.security.keystore.AndroidKeyStoreSecretKey;
27 import android.security.keystore.KeyGenParameterSpec;
28 import android.security.keystore.KeyProperties;
DRecoverableKeyStoreManagerTest.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.RecoveryController.ERROR_BAD_CERTIFICATE_FORMAT;
22 import static android.security.keystore.recovery.RecoveryController.ERROR_DOWNGRADE_CERTIFICATE;
23 import static android.security.keystore.recovery.RecoveryController.ERROR_INVALID_CERTIFICATE;
47 import android.security.keystore.AndroidKeyStoreSecretKey;
48 import android.security.keystore.KeyGenParameterSpec;
49 import android.security.keystore.KeyProperties;
50 import android.security.keystore.recovery.KeyChainProtectionParams;
51 import android.security.keystore.recovery.KeyDerivationParams;
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DWifiConfigStoreEncryptionUtil.java23 import android.security.keystore.AndroidKeyStoreProvider;
24 import android.security.keystore.KeyGenParameterSpec;
25 import android.security.keystore.KeyProperties;
/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;
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/storage/
DRecoverySnapshotStorageTest.java11 import android.security.keystore.recovery.KeyChainProtectionParams;
12 import android.security.keystore.recovery.KeyChainSnapshot;
13 import android.security.keystore.recovery.KeyDerivationParams;
14 import android.security.keystore.recovery.WrappedApplicationKey;
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/serialization/
DKeyChainSnapshotSerializerTest.java21 import android.security.keystore.recovery.KeyChainProtectionParams;
22 import android.security.keystore.recovery.KeyChainSnapshot;
23 import android.security.keystore.recovery.KeyDerivationParams;
24 import android.security.keystore.recovery.WrappedApplicationKey;

123456