Merge "Update documentation regarding auth-bound keys." am: f854451558 am: b4a708506a am: 70949fe837

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2633330

Change-Id: I9f7cb5f9a8e9bb7507b3bf1803bfd8c697c08124
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Eran Messeri
2023-06-26 16:08:06 +00:00
committed by Automerger Merge Worker

View File

@@ -1351,7 +1351,9 @@ public final class KeyGenParameterSpec implements AlgorithmParameterSpec, UserAu
* the key, it is also irreversibly invalidated once a new biometric is enrolled or once\ * the key, it is also irreversibly invalidated once a new biometric is enrolled or once\
* no more biometrics are enrolled, unless {@link * no more biometrics are enrolled, unless {@link
* #setInvalidatedByBiometricEnrollment(boolean)} is used to allow validity after * #setInvalidatedByBiometricEnrollment(boolean)} is used to allow validity after
* enrollment. Attempts to initialize cryptographic operations using such keys will throw * enrollment, or {@code KeyProperties.AUTH_DEVICE_CREDENTIAL} is specified as part of
* the parameters to {@link #setUserAuthenticationParameters}.
* Attempts to initialize cryptographic operations using such keys will throw
* {@link KeyPermanentlyInvalidatedException}.</li> * {@link KeyPermanentlyInvalidatedException}.</li>
* </ul> * </ul>
* *