diff options
author | David Zeuthen <zeuthen@google.com> | 2020-04-27 15:19:30 -0400 |
---|---|---|
committer | David Zeuthen <zeuthen@google.com> | 2020-04-27 15:19:30 -0400 |
commit | db91f11f3fc8b25611accba8c798a5f33fd88ea4 (patch) | |
tree | 54d1d908d899d2131b5c891b967918d0354f8ed5 /identity/java | |
parent | b9c89bb3fa1d184c0a740f7b80ebdf8356fbdf9b (diff) |
Identity Credential: Update docs to mention valid range for ACP identifiers.
Bug: 155100967
Test: atest android.security.identity.cts
Change-Id: I850e667676d3488be786447ed3ad33c80444f5e2
Diffstat (limited to 'identity/java')
-rw-r--r-- | identity/java/android/security/identity/AccessControlProfileId.java | 2 | ||||
-rw-r--r-- | identity/java/android/security/identity/IdentityCredentialStore.java | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/identity/java/android/security/identity/AccessControlProfileId.java b/identity/java/android/security/identity/AccessControlProfileId.java index 3d5945065ad7..6caac0a8a065 100644 --- a/identity/java/android/security/identity/AccessControlProfileId.java +++ b/identity/java/android/security/identity/AccessControlProfileId.java @@ -25,6 +25,8 @@ public class AccessControlProfileId { /** * Constructs a new object holding a numerical identifier. * + * <p>The identifier must be a non-negative number and less than 32. + * * @param id the identifier. */ public AccessControlProfileId(int id) { diff --git a/identity/java/android/security/identity/IdentityCredentialStore.java b/identity/java/android/security/identity/IdentityCredentialStore.java index 4f834d2b87b5..3843d9279900 100644 --- a/identity/java/android/security/identity/IdentityCredentialStore.java +++ b/identity/java/android/security/identity/IdentityCredentialStore.java @@ -46,7 +46,7 @@ import java.lang.annotation.RetentionPolicy; * access control profile IDs. Names are strings and values are typed and can be any * value supported by <a href="http://cbor.io/">CBOR</a>.</li> * - * <li>A set of access control profiles, each with a profile ID and a specification + * <li>A set of access control profiles (up to 32), each with a profile ID and a specification * of the conditions which satisfy the profile's requirements.</li> * * <li>An asymmetric key pair which is used to authenticate the credential to the Issuing |