From fe0609dc9c32b1de457f19bb3cf2b87584c4634d Mon Sep 17 00:00:00 2001 From: Alex Klyubin Date: Tue, 26 May 2015 18:10:57 -0700 Subject: Fix typo in Javadocs of KeyGenParameterSpec. Bug: 18088752 Change-Id: I76daca80a8066ab55a0104ae113fd2c3a7993af3 --- keystore/java/android/security/keystore/KeyGenParameterSpec.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/keystore/java/android/security/keystore/KeyGenParameterSpec.java b/keystore/java/android/security/keystore/KeyGenParameterSpec.java index 1d4c188..d861302 100644 --- a/keystore/java/android/security/keystore/KeyGenParameterSpec.java +++ b/keystore/java/android/security/keystore/KeyGenParameterSpec.java @@ -743,7 +743,7 @@ public final class KeyGenParameterSpec implements AlgorithmParameterSpec { *

This restriction applies only to private key operations. Public key operations are not * restricted. * - *

NOTE: This has currently no effect. + *

NOTE: This has currently no effect on asymmetric key pairs. * * @see #setUserAuthenticationValidityDurationSeconds(int) */ @@ -759,7 +759,7 @@ public final class KeyGenParameterSpec implements AlgorithmParameterSpec { * *

By default, the user needs to authenticate for every use of the key. * - *

NOTE: This has currently no effect. + *

NOTE: This has currently no effect on asymmetric key pairs. * * @param seconds duration in seconds or {@code -1} if the user needs to authenticate for * every use of the key. -- cgit v1.1