TagOrderConstraint

@Immutable
sealed class TagOrderConstraint : Constraint

Configuration for validating the ordering of the attributes in the AuthorizationList sequence in an Android attestation certificate.

Inheritors

Types

Link copied to clipboard
@Immutable
data object STRICT : TagOrderConstraint

Checks that the attributes in the AuthorizationList sequence appear in the order specified by https://source.android.com/docs/security/features/keystore/attestation#schema.

Properties

Link copied to clipboard
open override val label: String

Fixed label, suitable for logging or metrics.

Functions

Link copied to clipboard
abstract fun check(description: KeyDescription): Constraint.Result

Verifies that description satisfies this Constraint.