AttestationApplicationId

data class AttestationApplicationId(val packageInfos: Set<AuthorizationList.AttestationPackageInfo>, val signatureDigests: Set<ByteArray>) : Asn1Encodable<Asn1Element> , AuthorizationList.Tagged.WithTag<Asn1Element> , PrettyPrintable(source)

Attestation application identifier structure.

Schema: https://source.android.com/docs/security/features/keystore/attestation#attestationapplicationid-schema

This contains two independent ASN.1 SETs:

The schema does not define a correspondence between entries of these sets.

Ordering

When decoded, both sets are sorted and deduplicated without hashing. This accepts duplicate values emitted by devices while avoiding attacker-controlled hash-table insertion.

Constructors

Link copied to clipboard
constructor(packageInfos: Set<AuthorizationList.AttestationPackageInfo>, signatureDigests: Set<ByteArray>)

Types

Link copied to clipboard
Link copied to clipboard

Verified Boot state enum (schema-defined).

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun doPrettyPrint(indent: String): String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun encodeToDerSafe(): KmmResult<ByteArray>
Link copied to clipboard
open override fun encodeToTlv(): Asn1Element
Link copied to clipboard
open fun encodeToTlvOrNull(): Asn1Element?
Link copied to clipboard
open fun encodeToTlvSafe(): KmmResult<Asn1Element>
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
open infix fun withImplicitTag(tag: Asn1Element.Tag): Asn1Element
open infix fun withImplicitTag(template: Asn1Element.Tag.Template): Asn1Element
open infix fun withImplicitTag(tagValue: ULong): Asn1Element