AndroidDebugAttestationStatement

@Serializable
class AndroidDebugAttestationStatement(val version: String, val kind: AndroidDebugAttestationStatement.Type, val configuration: AndroidAttestationConfiguration, val verificationTime: Date, val challenge: ByteArray, val attestationStatement: List<@Serializable(with = CertPemSerializer::class) X509Certificate>, val revocationLists: List<ConfigWithList>) : DebugStatement<ParsedAttestationRecord> (source)

Constructors

Link copied to clipboard
constructor(version: String, kind: AndroidDebugAttestationStatement.Type, configuration: AndroidAttestationConfiguration, verificationTime: Date, challenge: ByteArray, attestationStatement: List<@Serializable(with = CertPemSerializer::class) X509Certificate>, revocationLists: List<ConfigWithList>)

Types

Properties

Link copied to clipboard
Link copied to clipboard
@Serializable(with = ByteArrayBase64UrlSerializer::class)
val challenge: ByteArray
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val version: String

Holds the exact release version string of the Warden release used to create this debug statement. Used to ensure compatibility and traceability between different versions.

Functions

Link copied to clipboard
Link copied to clipboard
open suspend override fun replay(): ParsedAttestationRecord

Replays the debug statement, reconstructing or reprocessing it as per the underlying attestation verifier's logic. This method is typically used to regenerate or analyse the statement for debugging or auditing purposes.

Link copied to clipboard

Replays the debug statement, reconstructing or reprocessing it as per the underlying attestation verifier's logic. This method is typically used to regenerate or analyse the statement for debugging or auditing purposes.

Link copied to clipboard
open override fun serialize(): String

Serializes and pretty-prints this debug statement

Link copied to clipboard
open override fun serializeCompact(): String

serializes and multibase-encodes this debug info

Link copied to clipboard
open override fun toJsonElement(): JsonObject

Converts the debug statement into a JSON representation.