DeviceAttestationValidationData

data class DeviceAttestationValidationData(val attestationChallenge: ByteString, val iosReleaseBuild: Boolean, val iosAppIdentifier: String?, val androidGmsAttestation: Boolean, val androidVerifiedBootGreen: Boolean, val androidAppSignatureCertificateDigests: List<ByteString>)

Data necessary to validate a DeviceAttestation object.

Constructors

Link copied to clipboard
constructor(attestationChallenge: ByteString, iosReleaseBuild: Boolean, iosAppIdentifier: String?, androidGmsAttestation: Boolean, androidVerifiedBootGreen: Boolean, androidAppSignatureCertificateDigests: List<ByteString>)

Properties

Link copied to clipboard

Allowed list of Android applications. Each element is the bytes of the SHA-256 of a signing certificate, see the Signature class in the Android SDK for details. If empty, allow any app.

Link copied to clipboard

Ensure that the private key in the Android attestation is certified as legitimate using the Google root private key.

Link copied to clipboard

Require Android clients to be in verified boot state "green".

Link copied to clipboard
val attestationChallenge: ByteString

Value of the challange parameter passed to DeviceCheck.generateAttestation method.

Link copied to clipboard

iOS app identifier that consists of a team id followed by a dot and app bundle name. If null, any app identifier is accepted.

Link copied to clipboard

Whether a release build is required on iOS. When false, both debug and release builds are accepted.