RootOfTrust

data class RootOfTrust : Asn1Encodable<Asn1Sequence> , AuthorizationList.Tagged.WithTag<Asn1Sequence> , PrettyPrintable(source)

Root of trust structure.

This structure is known to appear in non-DER encodings (e.g., the boolean may not be encoded canonically), so the implementation preserves the original boolean content for round-trip encoding.

Constructors

Link copied to clipboard
constructor(verifiedBootKeyDigest: ByteArray, deviceLocked: Boolean, verifiedBootState: AuthorizationList.RootOfTrust.VerifiedBootState, verifiedBootHash: ByteArray?)

Types

Link copied to clipboard
object Tag : AuthorizationList.Tagged, Asn1Decodable<Asn1Sequence, AuthorizationList.RootOfTrust>
Link copied to clipboard

Verified Boot state as defined by the attestation schema.

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
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(): Asn1Sequence
Link copied to clipboard
open fun encodeToTlvOrNull(): Asn1Sequence?
Link copied to clipboard
open fun encodeToTlvSafe(): KmmResult<Asn1Sequence>
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