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
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
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.