public final class EncryptionFingerprintFactory
extends java.lang.Object
EncryptionFingerprintFactory in Android| Modifier and Type | Method and Description |
|---|---|
static EncryptionFingerprint |
create(android.content.Context context,
java.lang.String additionalData)
Creates a new
EncryptionFingerprint including the following data:
Fingerprint of the APK signature
Android ID: a 8 byte random value on SDK 26 and higher,
unique to each combination of app-signing key, user, and device - on SDK 25 and lower only unique
to user and device
Application package name, Brand, model and name of the device
32 byte hardcoded static random value
|
public static EncryptionFingerprint create(android.content.Context context, java.lang.String additionalData)
EncryptionFingerprint including the following data:
It is recommended to provide additional data unique to your domain (e.g. userId, api version, etc).
Note: If the fingerprint changes the data cannot be decrypted anymore.
context - used to gather data from the Android frameworkadditionalData - additional data provided by the caller