Builder

Builder to construct an AndroidAttestationConfiguration in a java-friendly way

Parameters

applications

applications to be attested

Constructors

Link copied to clipboard

convenience constructor to attest a singleApp

constructor(applications: List<AndroidAttestationConfiguration.AppData>)

Functions

Link copied to clipboard
fun addHardwareAttestationTrustAnchor(anchor: PublicKey): <Error class: unknown class>

adds a single hardware attestation trust anchor

Link copied to clipboard
fun addSoftwareAttestationTrustAnchor(anchor: PublicKey): <Error class: unknown class>

adds a single software attestation trust anchor

Link copied to clipboard
fun allowBootloaderUnlock(): <Error class: unknown class>
Link copied to clipboard
fun androidVersion(version: Int): <Error class: unknown class>

specifies a minimum Android version

Link copied to clipboard
fun attestationStatementValiditySeconds(seconds: Long?): <Error class: unknown class>

Validity of the attestation statement in seconds. This is not the certificate validity! An attestation statement has a creation time. This value indicates how far in the past the creation time might be.

Link copied to clipboard
Link copied to clipboard
fun disableHardwareAttestation(): <Error class: unknown class>
Link copied to clipboard
fun enableNougatAttestation(): <Error class: unknown class>
Link copied to clipboard
fun enableSoftwareAttestation(): <Error class: unknown class>
Link copied to clipboard
fun hardwareAttestationTrustAnchors(anchors: Set<PublicKey>): <Error class: unknown class>
Link copied to clipboard
fun httpProxy(url: String): <Error class: unknown class>
Link copied to clipboard
fun ingoreLeafValidity(): <Error class: unknown class>
Link copied to clipboard
fun patchLevel(lvl: PatchLevel): <Error class: unknown class>
Link copied to clipboard
fun requireRemoteKeyProvisioning(required: Boolean): <Error class: unknown class>
Link copied to clipboard
fun requireRollbackResistance(): <Error class: unknown class>
Link copied to clipboard
fun requireStrongBox(): <Error class: unknown class>
Link copied to clipboard
fun softwareAttestationTrustAnchors(anchors: Set<PublicKey>): <Error class: unknown class>
Link copied to clipboard
fun verificationSecondsOffset(seconds: Long): <Error class: unknown class>