AppData

data class AppData @JvmOverloads constructor(val packageName: String, val signatureDigests: List<ByteArray>, val appVersion: Int? = null, val androidVersionOverride: Int? = null, patchLevelOverride: PatchLevel? = null)

Specifies a to-be attested app

Parameters

packageName

Android app package name (e.g. at.asitplus.demo)

signatureDigests

SHA-256 digests of signature certificates used to sign the APK. This is a Google cloud signing certificate for production play store releases. Being able to specify multiple digests makes it easy to use development builds and production builds in parallel.

appVersion

optional parameter. If set, attestation enforces application version to be greater or equal to this parameter

Constructors

Link copied to clipboard
constructor(packageName: String, signatureDigests: List<ByteArray>, appVersion: Int? = null, androidVersionOverride: Int? = null, patchLevelOverride: PatchLevel? = null)

Types

Link copied to clipboard
class Builder(packageName: String, signatureDigests: List<ByteArray>)

Builder for more java-friendliness

Properties

Link copied to clipboard

optional parameter. If set, attestation enforces Android version to be greater or equal to this parameter. Caution: Major Android versions increment in steps of ten-thousands. I.e. Android 11 is specified as 110000

Link copied to clipboard
val appVersion: Int? = null

optional parameter. If set, attestation enforces application version to be greater or equal to this parameter

Link copied to clipboard

Internal representation of the patch level as previously contained in the com.google.android.attestation.ParsedAttestationRecord

Link copied to clipboard

Android app package name (e.g. at.asitplus.demo)

Link copied to clipboard

SHA-256 digests of signature certificates used to sign the APK. This is a Google cloud signing certificate for production play store releases. Being able to specify multiple digests makes it easy to use development builds and production builds in parallel