public static class SigningCertificateLineage.SignerCapabilities
extends java.lang.Object
SigningCertificateLineage provides two conceptual data structures.
1) proof of rotation - Evidence that other parties can trust an APK's current signing
certificate if they trust an older one in this lineage
2) self-trust - certain capabilities may have been granted by an APK to other parties based
on its own signing certificate. When it changes its signing certificate it may want to
allow the other parties to retain those capabilities.
SignerCapabilties provides a representation of the second structure.
Use SigningCertificateLineage.SignerCapabilities.Builder to obtain configuration instances.
| Modifier and Type | Class and Description |
|---|---|
static class |
SigningCertificateLineage.SignerCapabilities.Builder
Builder of
SigningCertificateLineage.SignerCapabilities instances. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(SigningCertificateLineage.SignerCapabilities other)
Returns
true if the capabilities of this object match those of the provided
object. |
boolean |
hasAuth()
Returns
true if this object has the auth capability. |
boolean |
hasInstalledData()
Returns
true if this object has the installed data capability. |
boolean |
hasPermission()
Returns
true if this object has the permission capability. |
boolean |
hasRollback()
Returns
true if this object has the rollback capability. |
boolean |
hasSharedUid()
Returns
true if this object has the shared UID capability. |
public boolean equals(SigningCertificateLineage.SignerCapabilities other)
true if the capabilities of this object match those of the provided
object.public boolean hasInstalledData()
true if this object has the installed data capability.public boolean hasSharedUid()
true if this object has the shared UID capability.public boolean hasPermission()
true if this object has the permission capability.public boolean hasRollback()
true if this object has the rollback capability.public boolean hasAuth()
true if this object has the auth capability.