Identity Credential: Update docs to mention valid range for ACP identifiers.

Bug: 155100967
Test: atest android.security.identity.cts
Change-Id: I850e667676d3488be786447ed3ad33c80444f5e2
This commit is contained in:
David Zeuthen
2020-04-27 15:19:30 -04:00
parent b9c89bb3fa
commit db91f11f3f
2 changed files with 3 additions and 1 deletions

View File

@@ -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) {

View File

@@ -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