Home
last modified time | relevance | path

Searched refs:PURPOSE_ENCRYPT (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/keystore/java/android/security/keystore/
DKeyProperties.java43 PURPOSE_ENCRYPT,
54 public static final int PURPOSE_ENCRYPT = 1 << 0; field in KeyProperties
84 case PURPOSE_ENCRYPT: in toKeymaster()
102 return PURPOSE_ENCRYPT; in fromKeymaster()
DAndroidKeyStoreKeyGeneratorSpi.java192 if (((spec.getPurposes() & KeyProperties.PURPOSE_ENCRYPT) != 0) in engineInit()
298 if (((spec.getPurposes() & KeyProperties.PURPOSE_ENCRYPT) != 0) in engineGenerateKey()
DAndroidKeyStoreSpi.java322 KeyProperties.PURPOSE_ENCRYPT in getLegacyKeyProtectionParameter()
503 if (((purposes & KeyProperties.PURPOSE_ENCRYPT) != 0) in setPrivateKeyEntry()
696 if (((purposes & KeyProperties.PURPOSE_ENCRYPT) != 0) in setSecretKeyEntry()
731 if (((purposes & KeyProperties.PURPOSE_ENCRYPT) != 0) in setSecretKeyEntry()
DAndroidKeyStoreKeyPairGeneratorSpi.java239 KeyProperties.PURPOSE_ENCRYPT in initialize()
319 if (((spec.getPurposes() & KeyProperties.PURPOSE_ENCRYPT) != 0) in initialize()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/storage/
DApplicationKeyStorage.java88 KeyProperties.PURPOSE_ENCRYPT | KeyProperties.PURPOSE_DECRYPT) in setSymmetricKeyEntry()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DWifiConfigStoreEncryptionUtil.java161 KeyProperties.PURPOSE_ENCRYPT | KeyProperties.PURPOSE_DECRYPT) in getOrCreateSecretKey()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/
DPlatformKeyManagerTest.java126 assertEquals(KeyProperties.PURPOSE_ENCRYPT, getEncryptKeyProtection().getPurposes()); in init_createsEncryptKeyWithCorrectPurposes()
594 KeyProperties.PURPOSE_ENCRYPT | KeyProperties.PURPOSE_DECRYPT) in generateAndroidKeyStoreKey()
DRecoverableKeyGeneratorTest.java176 WRAPPING_KEY_ALIAS, KeyProperties.PURPOSE_ENCRYPT | KeyProperties.PURPOSE_DECRYPT) in generatePlatformKey()
DWrappedKeyTest.java206 KeyProperties.PURPOSE_ENCRYPT | KeyProperties.PURPOSE_DECRYPT) in generateAndroidKeyStoreKey()
DKeySyncTaskTest.java871 WRAPPING_KEY_ALIAS, KeyProperties.PURPOSE_ENCRYPT | KeyProperties.PURPOSE_DECRYPT) in generateAndroidKeyStoreKey()
DRecoverableKeyStoreManagerTest.java1318 WRAPPING_KEY_ALIAS, KeyProperties.PURPOSE_ENCRYPT | KeyProperties.PURPOSE_DECRYPT) in generateAndroidKeyStoreKey()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/
DPlatformKeyManager.java469 new KeyProtection.Builder(KeyProperties.PURPOSE_ENCRYPT) in generateAndLoadKey()
/frameworks/base/services/core/java/com/android/server/locksettings/
DLockSettingsService.java1602 new KeyProtection.Builder(KeyProperties.PURPOSE_ENCRYPT) in tieProfileLockToParent()
/frameworks/base/non-updatable-api/
Dcurrent.txt41270 field public static final int PURPOSE_ENCRYPT = 1; // 0x1
/frameworks/base/api/
Dcurrent.txt41414 field public static final int PURPOSE_ENCRYPT = 1; // 0x1