Searched refs:signatures (Results 1 – 12 of 12) sorted by relevance
106 assertNotNull("Failed to get signatures in PackageInfo of " + PKG, pi.signatures); in testGetSignaturesShowsOld()108 1, pi.signatures.length); in testGetSignaturesShowsOld()110 pi.signatures[0].toCharsString(), FIRST_CERT_HEX); in testGetSignaturesShowsOld()
59 for (Signature signature : packageInfo.signatures) { in testPackageSignatures()172 int numSignatures = packageInfo.signatures.length; in writeSignature()175 Signature signature = packageInfo.signatures[i]; in writeSignature()
86 checkSignatureInfo(expected.signatures, actual.signatures); in checkPkgInfoSame()
579 pkgInfo.signatures); in testGetPackageArchiveInfo()988 assertThat(packageInfo.signatures) in assertShimApexInfoIsCorrect()
96 messageDigest.update(packageInfo.signatures[0].toByteArray()); in computePackageSignatureDigest()
128 messageDigest.update(packageInfo.signatures[0].toByteArray()); in computePackageSignatureDigest()
60 for (Signature signature : packageInfo.signatures) { in AttestationApplicationId()
69 for (Signature sig : info.signatures) {
227 final byte[] certHash = md.digest(pkgInfo.signatures[0].toByteArray()); in getCertHashForThisPackage()
461 Signature[] signatures = {new Signature("1234"), in testReadValue() local466 p.writeValue(signatures); in testReadValue()469 for (int i = 0; i < signatures.length; i++) { in testReadValue()470 assertEquals(signatures[i], signatures2[i]); in testReadValue()
220 return bytesToHexString(md.digest(pInfo.signatures[0].toByteArray())); in getCertHash()
264 return IccUtils.bytesToHexString(md.digest(pInfo.signatures[0].toByteArray())); in getCertHash()