AndroidAttestationIssuer
The runtime counterpart of IssuerSpec: a root, an attestation CA chain, and the keys to sign with.
All crypto material lives here and nowhere else; spec is the configuration that produced it, with a generated root filled back in, so GeneratorConfig(issuer.spec, …) reproduces this issuer exactly.
Every issue call mints a fresh attestation key and a fresh attested leaf key, as real devices do.
Properties
Functions
Link copied to clipboard
fun configuration(attestations: List<AttestationSpec> = listOf(AttestationSpec()), outputDirectory: String = "generator-output"): GeneratorConfig
The configuration reproducing this issuer, together with the attestations to create from it.
Link copied to clipboard
Builds the statement with the type-safe DSL instead of passing a prepared AttestationSpec.