Home
last modified time | relevance | path

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

1234567

/frameworks/base/keystore/java/android/security/
DCredentials.java186 public static boolean deleteAllTypesForAlias(KeyStore keystore, String alias) { in deleteAllTypesForAlias() argument
187 return deleteAllTypesForAlias(keystore, alias, KeyStore.UID_SELF); in deleteAllTypesForAlias()
195 public static boolean deleteAllTypesForAlias(KeyStore keystore, String alias, int uid) { in deleteAllTypesForAlias() argument
200 return deleteUserKeyTypeForAlias(keystore, alias, uid) in deleteAllTypesForAlias()
201 & deleteCertificateTypesForAlias(keystore, alias, uid); in deleteAllTypesForAlias()
209 public static boolean deleteCertificateTypesForAlias(KeyStore keystore, String alias) { in deleteCertificateTypesForAlias() argument
210 return deleteCertificateTypesForAlias(keystore, alias, KeyStore.UID_SELF); in deleteCertificateTypesForAlias()
218 public static boolean deleteCertificateTypesForAlias(KeyStore keystore, String alias, int uid) { in deleteCertificateTypesForAlias() argument
223 return keystore.delete(Credentials.USER_CERTIFICATE + alias, uid) in deleteCertificateTypesForAlias()
224 & keystore.delete(Credentials.CA_CERTIFICATE + alias, uid); in deleteCertificateTypesForAlias()
[all …]
DKeyStore.java39 import android.security.keystore.IKeystoreService;
40 import android.security.keystore.KeyExpiredException;
41 import android.security.keystore.KeyNotYetValidException;
42 import android.security.keystore.KeyPermanentlyInvalidatedException;
43 import android.security.keystore.KeyProperties;
44 import android.security.keystore.KeystoreResponse;
45 import android.security.keystore.UserNotAuthenticatedException;
182 IKeystoreService keystore = IKeystoreService.Stub.asInterface(ServiceManager in getInstance() local
184 return new KeyStore(keystore); in getInstance()
529 extends android.security.keystore.IKeystoreKeyCharacteristicsCallback.Stub
[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/packages/BackupEncryption/src/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.java21 import android.security.keystore.recovery.InternalRecoveryServiceException;
22 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/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_INVALID_CERTIFICATE;
23 import static android.security.keystore.recovery.RecoveryController.ERROR_INVALID_KEY_FORMAT;
24 import static android.security.keystore.recovery.RecoveryController.ERROR_NO_SNAPSHOT_PENDING;
25 import static android.security.keystore.recovery.RecoveryController.ERROR_SERVICE_INTERNAL_ERROR;
26 import static android.security.keystore.recovery.RecoveryController.ERROR_SESSION_EXPIRED;
38 import android.security.keystore.recovery.KeyChainProtectionParams;
39 import android.security.keystore.recovery.KeyChainSnapshot;
[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;
/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/services/core/java/com/android/server/locksettings/
DManagedProfilePasswordCache.java23 import android.security.keystore.AndroidKeyStoreSpi;
24 import android.security.keystore.KeyGenParameterSpec;
25 import android.security.keystore.KeyProperties;
26 import android.security.keystore.UserNotAuthenticatedException;
/frameworks/base/packages/BackupEncryption/src/com/android/server/backup/encryption/tasks/
DInitializeRecoverableSecondaryKeyTask.java20 import android.security.keystore.recovery.InternalRecoveryServiceException;
21 import android.security.keystore.recovery.LockScreenRequiredException;
22 import android.security.keystore.recovery.RecoveryController;
DStartSecondaryKeyRotationTask.java19 import android.security.keystore.recovery.InternalRecoveryServiceException;
20 import android.security.keystore.recovery.LockScreenRequiredException;
/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/packages/BackupEncryption/test/robolectric/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/opt/net/wifi/service/java/com/android/server/wifi/
DMacAddressUtil.java20 import android.security.keystore.AndroidKeyStoreProvider;
21 import android.security.keystore.KeyGenParameterSpec;
22 import android.security.keystore.KeyProperties;
/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/packages/BackupEncryption/src/com/android/server/backup/encryption/
DEncryptionKeyHelper.java20 import android.security.keystore.recovery.InternalRecoveryServiceException;
21 import android.security.keystore.recovery.RecoveryController;
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DLockSettingsServiceTestable.java33 import android.security.keystore.KeyPermanentlyInvalidatedException;
167 LockSettingsStorage storage, FakeGateKeeperService gatekeeper, KeyStore keystore, in LockSettingsServiceTestable() argument
173 super(new MockInjector(context, storage, keystore, mActivityManager, in LockSettingsServiceTestable()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DWifiConfigStoreEncryptionUtil.java22 import android.security.keystore.AndroidKeyStoreProvider;
23 import android.security.keystore.KeyGenParameterSpec;
24 import android.security.keystore.KeyProperties;
/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;
/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;
/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;

1234567