/frameworks/base/keystore/java/android/security/ |
D | Credentials.java | 180 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 …]
|
D | KeyStore.java | 41 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/ |
D | SSLSocketFactory.java | 192 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/ |
D | KeyGenParameterSpecTest.java | 17 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/ |
D | RecoverableKeyStoreManager.java | 19 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 …]
|
D | PlatformKeyManager.java | 24 import android.security.keystore.AndroidKeyStoreSecretKey; 25 import android.security.keystore.KeyPermanentlyInvalidatedException; 26 import android.security.keystore.KeyProperties; 27 import android.security.keystore.KeyProtection;
|
D | TestOnlyInsecureCertificateHelper.java | 19 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/ |
D | RecoverableKeyStoreSecondaryKeyManager.java | 20 import android.security.keystore.recovery.InternalRecoveryServiceException; 21 import android.security.keystore.recovery.LockScreenRequiredException; 22 import android.security.keystore.recovery.RecoveryController;
|
D | RecoverableKeyStoreSecondaryKey.java | 23 import android.security.keystore.recovery.InternalRecoveryServiceException; 24 import android.security.keystore.recovery.RecoveryController;
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | ILockSettings.aidl | 22 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/ |
D | TrustedRootCertificatesTest.java | 17 package android.security.keystore.recovery; 19 import static android.security.keystore.recovery.TrustedRootCertificates.getRootCertificates;
|
D | X509CertificateParsingUtilsTest.java | 17 package android.security.keystore.recovery; 19 import static android.security.keystore.recovery.X509CertificateParsingUtils.decodeBase64Cert;
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | MacAddressUtil.java | 21 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/ |
D | ApplicationKeyStorage.java | 19 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/ |
D | ShadowRecoveryController.java | 20 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/ |
D | LockSettingsServiceTestable.java | 30 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/ |
D | TrustedRootCertificates.java | 17 package android.security.keystore.recovery; 19 import static android.security.keystore.recovery.X509CertificateParsingUtils.decodeBase64Cert;
|
D | RecoveryController.java | 17 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/ |
D | KeySyncTaskTest.java | 19 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 …]
|
D | RecoverableKeyGeneratorTest.java | 26 import android.security.keystore.AndroidKeyStoreSecretKey; 27 import android.security.keystore.KeyGenParameterSpec; 28 import android.security.keystore.KeyProperties;
|
D | RecoverableKeyStoreManagerTest.java | 19 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/ |
D | WifiConfigStoreEncryptionUtil.java | 23 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/ |
D | KeyChainSnapshotSerializer.java | 45 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/ |
D | RecoverySnapshotStorageTest.java | 11 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/ |
D | KeyChainSnapshotSerializerTest.java | 21 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;
|