Loading api/test-current.txt +8 −0 Original line number Diff line number Diff line Loading @@ -752,6 +752,14 @@ package android.security.keystore { field public static final int ID_TYPE_SERIAL = 1; // 0x1 } public final class KeyProtection implements java.security.KeyStore.ProtectionParameter { method public long getBoundToSpecificSecureUserId(); } public static final class KeyProtection.Builder { method public android.security.keystore.KeyProtection.Builder setBoundToSpecificSecureUserId(long); } } package android.service.autofill { Loading keystore/java/android/security/keystore/KeyGenParameterSpec.java +2 −2 Original line number Diff line number Diff line Loading @@ -673,8 +673,8 @@ public final class KeyGenParameterSpec implements AlgorithmParameterSpec, UserAu } /** * Returns {@code true} if the screen must be unlocked for this key to be used for encryption or * signing. Decryption and signature verification will still be available when the screen is * Returns {@code true} if the screen must be unlocked for this key to be used for decryption or * signing. Encryption and signature verification will still be available when the screen is * locked. * * @see Builder#setUnlockedDeviceRequired(boolean) Loading keystore/java/android/security/keystore/KeyProtection.java +5 −2 Original line number Diff line number Diff line Loading @@ -19,6 +19,7 @@ package android.security.keystore; import android.annotation.IntRange; import android.annotation.NonNull; import android.annotation.Nullable; import android.annotation.TestApi; import android.app.KeyguardManager; import android.hardware.fingerprint.FingerprintManager; import android.security.GateKeeper; Loading Loading @@ -496,6 +497,7 @@ public final class KeyProtection implements ProtectionParameter, UserAuthArgs { * @see KeymasterUtils#addUserAuthArgs * @hide */ @TestApi public long getBoundToSpecificSecureUserId() { return mBoundToSecureUserId; } Loading @@ -511,8 +513,8 @@ public final class KeyProtection implements ProtectionParameter, UserAuthArgs { } /** * Returns {@code true} if the screen must be unlocked for this key to be used for encryption or * signing. Decryption and signature verification will still be available when the screen is * Returns {@code true} if the screen must be unlocked for this key to be used for decryption or * signing. Encryption and signature verification will still be available when the screen is * locked. * * @see Builder#setUnlockedDeviceRequired(boolean) Loading Loading @@ -913,6 +915,7 @@ public final class KeyProtection implements ProtectionParameter, UserAuthArgs { * @see KeyProtection#getBoundToSpecificSecureUserId() * @hide */ @TestApi public Builder setBoundToSpecificSecureUserId(long secureUserId) { mBoundToSecureUserId = secureUserId; return this; Loading Loading
api/test-current.txt +8 −0 Original line number Diff line number Diff line Loading @@ -752,6 +752,14 @@ package android.security.keystore { field public static final int ID_TYPE_SERIAL = 1; // 0x1 } public final class KeyProtection implements java.security.KeyStore.ProtectionParameter { method public long getBoundToSpecificSecureUserId(); } public static final class KeyProtection.Builder { method public android.security.keystore.KeyProtection.Builder setBoundToSpecificSecureUserId(long); } } package android.service.autofill { Loading
keystore/java/android/security/keystore/KeyGenParameterSpec.java +2 −2 Original line number Diff line number Diff line Loading @@ -673,8 +673,8 @@ public final class KeyGenParameterSpec implements AlgorithmParameterSpec, UserAu } /** * Returns {@code true} if the screen must be unlocked for this key to be used for encryption or * signing. Decryption and signature verification will still be available when the screen is * Returns {@code true} if the screen must be unlocked for this key to be used for decryption or * signing. Encryption and signature verification will still be available when the screen is * locked. * * @see Builder#setUnlockedDeviceRequired(boolean) Loading
keystore/java/android/security/keystore/KeyProtection.java +5 −2 Original line number Diff line number Diff line Loading @@ -19,6 +19,7 @@ package android.security.keystore; import android.annotation.IntRange; import android.annotation.NonNull; import android.annotation.Nullable; import android.annotation.TestApi; import android.app.KeyguardManager; import android.hardware.fingerprint.FingerprintManager; import android.security.GateKeeper; Loading Loading @@ -496,6 +497,7 @@ public final class KeyProtection implements ProtectionParameter, UserAuthArgs { * @see KeymasterUtils#addUserAuthArgs * @hide */ @TestApi public long getBoundToSpecificSecureUserId() { return mBoundToSecureUserId; } Loading @@ -511,8 +513,8 @@ public final class KeyProtection implements ProtectionParameter, UserAuthArgs { } /** * Returns {@code true} if the screen must be unlocked for this key to be used for encryption or * signing. Decryption and signature verification will still be available when the screen is * Returns {@code true} if the screen must be unlocked for this key to be used for decryption or * signing. Encryption and signature verification will still be available when the screen is * locked. * * @see Builder#setUnlockedDeviceRequired(boolean) Loading Loading @@ -913,6 +915,7 @@ public final class KeyProtection implements ProtectionParameter, UserAuthArgs { * @see KeyProtection#getBoundToSpecificSecureUserId() * @hide */ @TestApi public Builder setBoundToSpecificSecureUserId(long secureUserId) { mBoundToSecureUserId = secureUserId; return this; Loading