Home
last modified time | relevance | path

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

/frameworks/base/keystore/java/android/security/keystore/
DKeyProperties.java69 PURPOSE_ENCRYPT,
82 public static final int PURPOSE_ENCRYPT = 1 << 0; field in KeyProperties
133 case PURPOSE_ENCRYPT: in toKeymaster()
155 return PURPOSE_ENCRYPT; in fromKeymaster()
/frameworks/base/services/core/java/com/android/server/locksettings/
DRebootEscrowKeyStoreManager.java112 KeyProperties.PURPOSE_ENCRYPT | KeyProperties.PURPOSE_DECRYPT) in generateKeyStoreEncryptionKeyIfNeeded()
DUnifiedProfilePasswordCache.java93 keyName, KeyProperties.PURPOSE_ENCRYPT | KeyProperties.PURPOSE_DECRYPT) in storePassword()
DLockSettingsService.java2134 new KeyProtection.Builder(KeyProperties.PURPOSE_ENCRYPT) in tieProfileLockToParent()
/frameworks/base/keystore/java/android/security/keystore2/
DAndroidKeyStoreKeyGeneratorSpi.java203 if (((spec.getPurposes() & KeyProperties.PURPOSE_ENCRYPT) != 0) in engineInit()
361 if (((spec.getPurposes() & KeyProperties.PURPOSE_ENCRYPT) != 0) in engineGenerateKey()
DAndroidKeyStoreSpi.java319 KeyProperties.PURPOSE_ENCRYPT in getLegacyKeyProtectionParameter()
518 if (((spec.getPurposes() & KeyProperties.PURPOSE_ENCRYPT) != 0) in setPrivateKeyEntry()
812 if ((params.getPurposes() & KeyProperties.PURPOSE_ENCRYPT) != 0) { in setSecretKeyEntry()
DAndroidKeyStoreKeyPairGeneratorSpi.java323 if (((spec.getPurposes() & KeyProperties.PURPOSE_ENCRYPT) != 0) in initialize()
525 KeyProperties.PURPOSE_ENCRYPT in buildKeyGenParameterSpecFromLegacy()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/storage/
DApplicationKeyStorage.java90 KeyProperties.PURPOSE_ENCRYPT | KeyProperties.PURPOSE_DECRYPT) in setSymmetricKeyEntry()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/
DRecoverableKeyGeneratorTest.java176 WRAPPING_KEY_ALIAS, KeyProperties.PURPOSE_ENCRYPT | KeyProperties.PURPOSE_DECRYPT) in generatePlatformKey()
DWrappedKeyTest.java205 KeyProperties.PURPOSE_ENCRYPT | KeyProperties.PURPOSE_DECRYPT) in generateAndroidKeyStoreKey()
DPlatformKeyManagerTest.java138 assertEquals(KeyProperties.PURPOSE_ENCRYPT, getEncryptKeyProtection().getPurposes()); in init_createsEncryptKeyWithCorrectPurposes()
597 KeyProperties.PURPOSE_ENCRYPT | KeyProperties.PURPOSE_DECRYPT) in generateAndroidKeyStoreKey()
DKeySyncTaskTest.java945 WRAPPING_KEY_ALIAS, KeyProperties.PURPOSE_ENCRYPT | KeyProperties.PURPOSE_DECRYPT) in generateAndroidKeyStoreKey()
DRecoverableKeyStoreManagerTest.java1530 WRAPPING_KEY_ALIAS, KeyProperties.PURPOSE_ENCRYPT | KeyProperties.PURPOSE_DECRYPT) in generateAndroidKeyStoreKey()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/
DPlatformKeyManager.java447 new KeyProtection.Builder(KeyProperties.PURPOSE_ENCRYPT) in generateAndLoadKey()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DPinStorage.java24 import static android.security.keystore.KeyProperties.PURPOSE_ENCRYPT;
1103 new KeyGenParameterSpec.Builder(alias, PURPOSE_ENCRYPT | PURPOSE_DECRYPT) in createSecretKey()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/core/api/
Dcurrent.txt39865 field public static final int PURPOSE_ENCRYPT = 1; // 0x1