Home
last modified time | relevance | path

Searched refs:PURPOSE_ENCRYPT (Results 1 – 14 of 14) 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()
302 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.java240 KeyProperties.PURPOSE_ENCRYPT in initialize()
320 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/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/opt/net/wifi/service/java/com/android/server/wifi/util/
DDataIntegrityChecker.java245 KeyProperties.PURPOSE_ENCRYPT | KeyProperties.PURPOSE_DECRYPT) in getOrCreateSecretKey()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/
DPlatformKeyManager.java462 new KeyProtection.Builder(KeyProperties.PURPOSE_ENCRYPT) in generateAndLoadKey()
/frameworks/base/services/core/java/com/android/server/locksettings/
DLockSettingsService.java1550 new KeyProtection.Builder(KeyProperties.PURPOSE_ENCRYPT) in tieProfileLockToParent()
/frameworks/base/api/
Dcurrent.txt40830 field public static final int PURPOSE_ENCRYPT = 1; // 0x1