DeviceAttestationValidationData

data class DeviceAttestationValidationData(val attestationChallenge: ByteString, val iosReleaseBuild: Boolean, val iosAppIdentifiers: Set<String>, val androidGmsAttestation: Boolean, val androidVerifiedBootGreen: Boolean, val androidRequiredKeyMintSecurityLevel: AndroidKeystoreSecurityLevel, val androidAppSignatureCertificateDigests: Set<ByteString>, val androidAppPackageNames: Set<String>)

Data necessary to validate a DeviceAttestation object.

Constructors

Link copied to clipboard
constructor(attestationChallenge: ByteString, iosReleaseBuild: Boolean, iosAppIdentifiers: Set<String>, androidGmsAttestation: Boolean, androidVerifiedBootGreen: Boolean, androidRequiredKeyMintSecurityLevel: AndroidKeystoreSecurityLevel, androidAppSignatureCertificateDigests: Set<ByteString>, androidAppPackageNames: Set<String>)

Properties

Link copied to clipboard

Allowed list of Android application package names.

Link copied to clipboard

Allowed list of Android applications signing certificates.

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

Minimally acceptable security level on Android.

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

List of allowed iOS app identifiers.

Link copied to clipboard

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

Functions

Link copied to clipboard