Home
last modified time | relevance | path

Searched refs:KeyProtection (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/services/core/java/com/android/server/locksettings/
DSyntheticPasswordCrypto.java21 import android.security.keystore.KeyProtection;
208 KeyProtection.Builder builder = new KeyProtection.Builder(KeyProperties.PURPOSE_DECRYPT) in createBlob()
217 final KeyProtection protNonRollbackResistant = builder.build(); in createBlob()
219 final KeyProtection protRollbackResistant = builder.build(); in createBlob()
DLockSettingsService.java114 import android.security.keystore.KeyProtection;
2134 new KeyProtection.Builder(KeyProperties.PURPOSE_ENCRYPT) in tieProfileLockToParent()
2141 new KeyProtection.Builder(KeyProperties.PURPOSE_DECRYPT) in tieProfileLockToParent()
/frameworks/base/keystore/java/android/security/keystore2/
DAndroidKeyStoreSpi.java37 import android.security.keystore.KeyProtection;
299 private static KeyProtection getLegacyKeyProtectionParameter(PrivateKey key) in getLegacyKeyProtectionParameter()
302 KeyProtection.Builder specBuilder; in getLegacyKeyProtectionParameter()
305 new KeyProtection.Builder( in getLegacyKeyProtectionParameter()
318 new KeyProtection.Builder( in getLegacyKeyProtectionParameter()
356 KeyProtection spec; in setPrivateKeyEntry()
362 } else if (param instanceof KeyProtection) { in setPrivateKeyEntry()
363 spec = (KeyProtection) param; in setPrivateKeyEntry()
380 + ". Supported: " + KeyProtection.class.getName() + ", " in setPrivateKeyEntry()
694 if ((param != null) && (!(param instanceof KeyProtection))) { in setSecretKeyEntry()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/
DPlatformKeyManagerTest.java38 import android.security.keystore.KeyProtection;
568 private KeyProtection getEncryptKeyProtection() throws Exception { in getEncryptKeyProtection()
573 return (KeyProtection) mProtectionParameterCaptor.getValue(); in getEncryptKeyProtection()
576 private KeyProtection getDecryptKeyProtection() throws Exception { in getDecryptKeyProtection()
581 return (KeyProtection) mProtectionParameterCaptor.getValue(); in getDecryptKeyProtection()
584 private KeyProtection getDecryptKeyProtectionForPrimaryUser() throws Exception { in getDecryptKeyProtectionForPrimaryUser()
589 return (KeyProtection) mProtectionParameterCaptor.getValue(); in getDecryptKeyProtectionForPrimaryUser()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/
DPlatformKeyManager.java26 import android.security.keystore.KeyProtection;
427 KeyProtection.Builder decryptionKeyProtection = in generateAndLoadKey()
428 new KeyProtection.Builder(KeyProperties.PURPOSE_DECRYPT) in generateAndLoadKey()
447 new KeyProtection.Builder(KeyProperties.PURPOSE_ENCRYPT) in generateAndLoadKey()
/frameworks/base/keystore/java/android/security/keystore/
DKeyProtection.java222 public final class KeyProtection implements ProtectionParameter, UserAuthArgs { class
247 private KeyProtection( in KeyProtection() method in KeyProtection
1239 public KeyProtection build() { in build()
1240 return new KeyProtection( in build()
/frameworks/base/keystore/java/android/security/
DKeyStoreParameter.java22 import android.security.keystore.KeyProtection;
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/storage/
DApplicationKeyStorage.java26 import android.security.keystore.KeyProtection;
89 new KeyProtection.Builder( in setSymmetricKeyEntry()
/frameworks/base/core/api/
Dtest-current.txt2943 public final class KeyProtection implements java.security.KeyStore.ProtectionParameter {
2947 public static final class KeyProtection.Builder {
2948 …method public android.security.keystore.KeyProtection.Builder setBoundToSpecificSecureUserId(long);
Dcurrent.txt39879 public final class KeyProtection implements java.security.KeyStore.ProtectionParameter {
39903 public static final class KeyProtection.Builder {
39904 ctor public KeyProtection.Builder(int);
39905 method @NonNull public android.security.keystore.KeyProtection build();
39906 …method @NonNull public android.security.keystore.KeyProtection.Builder setBlockModes(java.lang.Str…
39907 …method @NonNull public android.security.keystore.KeyProtection.Builder setDigests(java.lang.String…
39908 …method @NonNull public android.security.keystore.KeyProtection.Builder setEncryptionPaddings(java.…
39909 …method @NonNull public android.security.keystore.KeyProtection.Builder setInvalidatedByBiometricEn…
39910 …method @NonNull public android.security.keystore.KeyProtection.Builder setIsStrongBoxBacked(boolea…
39911 …method @NonNull public android.security.keystore.KeyProtection.Builder setKeyValidityEnd(java.util…
[all …]
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt47378 …etLegacyKeyProtectionParameter(Ljava/security/PrivateKey;)Landroid/security/keystore/KeyProtection;
47535 Landroid/security/keystore/KeyProtection$Builder;->mBlockModes:[Ljava/lang/String;
47536 Landroid/security/keystore/KeyProtection$Builder;->mBoundToSecureUserId:J
47537 Landroid/security/keystore/KeyProtection$Builder;->mCriticalToDeviceEncryption:Z
47538 Landroid/security/keystore/KeyProtection$Builder;->mDigests:[Ljava/lang/String;
47539 Landroid/security/keystore/KeyProtection$Builder;->mEncryptionPaddings:[Ljava/lang/String;
47540 Landroid/security/keystore/KeyProtection$Builder;->mInvalidatedByBiometricEnrollment:Z
47541 Landroid/security/keystore/KeyProtection$Builder;->mIsStrongBoxBacked:Z
47542 Landroid/security/keystore/KeyProtection$Builder;->mKeyValidityForConsumptionEnd:Ljava/util/Date;
47543 Landroid/security/keystore/KeyProtection$Builder;->mKeyValidityForOriginationEnd:Ljava/util/Date;
[all …]
/frameworks/base/boot/
Dpreloaded-classes6807 android.security.keystore.KeyProtection$Builder
6808 android.security.keystore.KeyProtection
Dboot-image-profile.txt29208 Landroid/security/keystore/KeyProtection$Builder;
29209 Landroid/security/keystore/KeyProtection;
/frameworks/base/config/
Dpreloaded-classes6811 android.security.keystore.KeyProtection$Builder
6812 android.security.keystore.KeyProtection
Dboot-image-profile.txt39342 Landroid/security/keystore/KeyProtection$Builder;
39343 Landroid/security/keystore/KeyProtection;
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...