public final class AppIntegrity extends GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Google Play Integrity API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
AppIntegrity() |
| Modifier and Type | Method and Description |
|---|---|
AppIntegrity |
clone() |
String |
getAppRecognitionVerdict()
Required.
|
List<String> |
getCertificateSha256Digest()
The SHA256 hash of the requesting app's signing certificates (base64 web-safe encoded).
|
String |
getPackageName()
Package name of the application under attestation.
|
Long |
getVersionCode()
Version code of the application.
|
AppIntegrity |
set(String fieldName,
Object value) |
AppIntegrity |
setAppRecognitionVerdict(String appRecognitionVerdict)
Required.
|
AppIntegrity |
setCertificateSha256Digest(List<String> certificateSha256Digest)
The SHA256 hash of the requesting app's signing certificates (base64 web-safe encoded).
|
AppIntegrity |
setPackageName(String packageName)
Package name of the application under attestation.
|
AppIntegrity |
setVersionCode(Long versionCode)
Version code of the application.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getAppRecognitionVerdict()
null for nonepublic AppIntegrity setAppRecognitionVerdict(String appRecognitionVerdict)
appRecognitionVerdict - appRecognitionVerdict or null for nonepublic List<String> getCertificateSha256Digest()
null for nonepublic AppIntegrity setCertificateSha256Digest(List<String> certificateSha256Digest)
certificateSha256Digest - certificateSha256Digest or null for nonepublic String getPackageName()
null for nonepublic AppIntegrity setPackageName(String packageName)
packageName - packageName or null for nonepublic Long getVersionCode()
null for nonepublic AppIntegrity setVersionCode(Long versionCode)
versionCode - versionCode or null for nonepublic AppIntegrity set(String fieldName, Object value)
set in class GenericJsonpublic AppIntegrity clone()
clone in class GenericJsonCopyright © 2011–2023 Google. All rights reserved.