Builder

class Builder(packageName: String, signatureDigests: List<ByteArray>)(source)

Builder for more java-friendliness

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

Constructors

Link copied to clipboard
constructor(packageName: String, vararg signatureDigests: ByteArray)

Builder for more java-friendliness

constructor(packageName: String, signatureDigests: List<ByteArray>)

Functions

Link copied to clipboard
fun appVersion(version: Int): <Error class: unknown class>
Link copied to clipboard
Link copied to clipboard
fun overrideAndroidVersion(version: Int): <Error class: unknown class>
Link copied to clipboard
fun overridePatchLevel(level: PatchLevel): <Error class: unknown class>

optional parameter. If set, attestation enforces Security patch level to be greater or equal to this parameter.

Link copied to clipboard
fun overrideRequireRemoteProvisioning(required: Boolean): <Error class: unknown class>

Mandates Remote Key Provisioning (RKP) for attestation checks to pass

Link copied to clipboard
fun overrideTrustAnchors(trustAnchors: Set<PublicKey>): <Error class: unknown class>

optional parameter. If set, all globally configured trust anchors are discarded and only the trust anchors specified here are used to attest this app.