Home
last modified time | relevance | path

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

/frameworks/base/keystore/java/android/security/keystore/
DAndroidKeyStoreSpi.java28 import android.security.keystore.KeyProtection;
302 private static KeyProtection getLegacyKeyProtectionParameter(PrivateKey key) in getLegacyKeyProtectionParameter()
305 KeyProtection.Builder specBuilder; in getLegacyKeyProtectionParameter()
308 new KeyProtection.Builder( in getLegacyKeyProtectionParameter()
321 new KeyProtection.Builder( in getLegacyKeyProtectionParameter()
358 KeyProtection spec; in setPrivateKeyEntry()
367 } else if (param instanceof KeyProtection) { in setPrivateKeyEntry()
368 spec = (KeyProtection) param; in setPrivateKeyEntry()
379 + ". Supported: " + KeyProtection.class.getName() + ", " in setPrivateKeyEntry()
591 if ((param != null) && (!(param instanceof KeyProtection))) { in setSecretKeyEntry()
[all …]
DKeyProtection.java217 public final class KeyProtection implements ProtectionParameter, UserAuthArgs { class
238 private KeyProtection( in KeyProtection() method in KeyProtection
993 public KeyProtection build() { in build()
994 return new KeyProtection( in build()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/
DPlatformKeyManager.java27 import android.security.keystore.KeyProtection;
441 KeyProtection.Builder decryptionKeyProtection = in generateAndLoadKey()
442 new KeyProtection.Builder(KeyProperties.PURPOSE_DECRYPT) in generateAndLoadKey()
469 new KeyProtection.Builder(KeyProperties.PURPOSE_ENCRYPT) in generateAndLoadKey()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/storage/
DApplicationKeyStorage.java25 import android.security.keystore.KeyProtection;
87 new KeyProtection.Builder( in setSymmetricKeyEntry()
/frameworks/base/services/core/java/com/android/server/locksettings/
DSyntheticPasswordCrypto.java20 import android.security.keystore.KeyProtection;
163 KeyProtection.Builder builder = new KeyProtection.Builder(KeyProperties.PURPOSE_DECRYPT) in createBlob()
DLockSettingsService.java86 import android.security.keystore.KeyProtection;
1602 new KeyProtection.Builder(KeyProperties.PURPOSE_ENCRYPT) in tieProfileLockToParent()
1609 new KeyProtection.Builder(KeyProperties.PURPOSE_DECRYPT) in tieProfileLockToParent()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/
DPlatformKeyManagerTest.java40 import android.security.keystore.KeyProtection;
573 private KeyProtection getEncryptKeyProtection() throws Exception { in getEncryptKeyProtection()
578 return (KeyProtection) mProtectionParameterCaptor.getValue(); in getEncryptKeyProtection()
581 private KeyProtection getDecryptKeyProtection() throws Exception { in getDecryptKeyProtection()
586 return (KeyProtection) mProtectionParameterCaptor.getValue(); in getDecryptKeyProtection()
/frameworks/base/keystore/java/android/security/
DKeyStoreParameter.java22 import android.security.keystore.KeyProtection;
/frameworks/base/api/
Dtest-current.txt2701 public final class KeyProtection implements java.security.KeyStore.ProtectionParameter {
2705 public static final class KeyProtection.Builder {
2706 …method public android.security.keystore.KeyProtection.Builder setBoundToSpecificSecureUserId(long);
Dtest-lint-baseline.txt1404 MissingNullability: android.security.keystore.KeyProtection.Builder#setBoundToSpecificSecureUserId(…
Dcurrent.txt41422 public final class KeyProtection implements java.security.KeyStore.ProtectionParameter {
41442 public static final class KeyProtection.Builder {
41443 ctor public KeyProtection.Builder(int);
41444 method @NonNull public android.security.keystore.KeyProtection build();
41445 …method @NonNull public android.security.keystore.KeyProtection.Builder setBlockModes(java.lang.Str…
41446 …method @NonNull public android.security.keystore.KeyProtection.Builder setDigests(java.lang.String…
41447 …method @NonNull public android.security.keystore.KeyProtection.Builder setEncryptionPaddings(java.…
41448 …method @NonNull public android.security.keystore.KeyProtection.Builder setInvalidatedByBiometricEn…
41449 …method @NonNull public android.security.keystore.KeyProtection.Builder setKeyValidityEnd(java.util…
41450 …method @NonNull public android.security.keystore.KeyProtection.Builder setKeyValidityForConsumptio…
[all …]
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt61933 …etLegacyKeyProtectionParameter(Ljava/security/PrivateKey;)Landroid/security/keystore/KeyProtection;
62090 Landroid/security/keystore/KeyProtection$Builder;->mBlockModes:[Ljava/lang/String;
62091 Landroid/security/keystore/KeyProtection$Builder;->mBoundToSecureUserId:J
62092 Landroid/security/keystore/KeyProtection$Builder;->mCriticalToDeviceEncryption:Z
62093 Landroid/security/keystore/KeyProtection$Builder;->mDigests:[Ljava/lang/String;
62094 Landroid/security/keystore/KeyProtection$Builder;->mEncryptionPaddings:[Ljava/lang/String;
62095 Landroid/security/keystore/KeyProtection$Builder;->mInvalidatedByBiometricEnrollment:Z
62096 Landroid/security/keystore/KeyProtection$Builder;->mIsStrongBoxBacked:Z
62097 Landroid/security/keystore/KeyProtection$Builder;->mKeyValidityForConsumptionEnd:Ljava/util/Date;
62098 Landroid/security/keystore/KeyProtection$Builder;->mKeyValidityForOriginationEnd:Ljava/util/Date;
[all …]
/frameworks/base/non-updatable-api/
Dcurrent.txt41278 public final class KeyProtection implements java.security.KeyStore.ProtectionParameter {
41298 public static final class KeyProtection.Builder {
41299 ctor public KeyProtection.Builder(int);
41300 method @NonNull public android.security.keystore.KeyProtection build();
41301 …method @NonNull public android.security.keystore.KeyProtection.Builder setBlockModes(java.lang.Str…
41302 …method @NonNull public android.security.keystore.KeyProtection.Builder setDigests(java.lang.String…
41303 …method @NonNull public android.security.keystore.KeyProtection.Builder setEncryptionPaddings(java.…
41304 …method @NonNull public android.security.keystore.KeyProtection.Builder setInvalidatedByBiometricEn…
41305 …method @NonNull public android.security.keystore.KeyProtection.Builder setKeyValidityEnd(java.util…
41306 …method @NonNull public android.security.keystore.KeyProtection.Builder setKeyValidityForConsumptio…
[all …]