Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit db91f11f authored by David Zeuthen's avatar David Zeuthen
Browse files

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

Bug: 155100967
Test: atest android.security.identity.cts
Change-Id: I850e667676d3488be786447ed3ad33c80444f5e2
parent b9c89bb3
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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) {
+1 −1
Original line number Diff line number Diff line
@@ -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