GeneratorConfig

@Serializable
data class GeneratorConfig(val issuer: IssuerSpec = IssuerSpec(), val attestations: List<AttestationSpec> = listOf(AttestationSpec()), val outputDirectory: String = "generator-output")(source)

Everything needed to reproduce a set of fake Android key attestations, and the only model in this module. It is serializable as-is, the DSL builds it directly, and AndroidAttestationIssuer consumes it — there is no second representation to keep in sync.

Configuration only: no keys, no certificates, nothing that has to be generated at runtime. The crypto material lives in AndroidAttestationIssuer and IssuedAttestation.

Constructors

Link copied to clipboard
constructor(issuer: IssuerSpec = IssuerSpec(), attestations: List<AttestationSpec> = listOf(AttestationSpec()), outputDirectory: String = "generator-output")

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun toJson(): String