CallingAppInfo

class CallingAppInfo


Information pertaining to the calling application.

The packageCertificates will either return a single byte-array corresponding to the oldest available signature for pre-P devices; for P+ devices, it will return the full rotation history (including the signature used to sign the package) or an empty list. The empty list means the package was not found or the package does not have any trust-worthy signatures.

Summary

Public constructors

CallingAppInfo(
    packageName: String,
    packageCertificates: List<ByteArray>,
    origin: String?
)

constructs an instance of CallingAppInfo

Public properties

String?

the calling origin

List<ByteArray>

a list of byte arrays, one for each rotated signature in raw bytes

String

the calling app package name

Public constructors

CallingAppInfo

CallingAppInfo(
    packageName: String,
    packageCertificates: List<ByteArray>,
    origin: String?
)

constructs an instance of CallingAppInfo

Parameters
packageName: String

the calling app package name

packageCertificates: List<ByteArray>

a list of byte arrays, one for each rotated signature in raw bytes

origin: String?

the calling origin

Public properties

origin

val originString?

the calling origin

packageCertificates

val packageCertificatesList<ByteArray>

a list of byte arrays, one for each rotated signature in raw bytes

packageName

val packageNameString

the calling app package name