Home
last modified time | relevance | path

Searched refs:messageDigest (Results 1 – 5 of 5) sorted by relevance

/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/mainline/
DModuleDetector.java87 MessageDigest messageDigest = MessageDigest.getInstance("SHA256"); in getSignatureDigest() local
88 messageDigest.update(packageInfo.signingInfo.getApkContentsSigners()[0].toByteArray()); in getSignatureDigest()
90 final byte[] digest = messageDigest.digest(); in getSignatureDigest()
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DPackageUtil.java95 MessageDigest messageDigest = MessageDigest.getInstance("SHA256"); in computePackageSignatureDigest() local
96 messageDigest.update(packageInfo.signatures[0].toByteArray()); in computePackageSignatureDigest()
98 final byte[] digest = messageDigest.digest(); in computePackageSignatureDigest()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DPackageUtil.java127 MessageDigest messageDigest = MessageDigest.getInstance("SHA256"); in computePackageSignatureDigest() local
128 messageDigest.update(packageInfo.signatures[0].toByteArray()); in computePackageSignatureDigest()
130 final byte[] digest = messageDigest.digest(); in computePackageSignatureDigest()
/cts/hostsidetests/appsecurity/test-apps/V3SigningSchemeRotation/src/android/appsecurity/cts/v3rotationtests/
DV3RotationTest.java225 MessageDigest messageDigest = MessageDigest.getInstance("SHA256"); in computeSha256DigestBytes() local
226 messageDigest.update(data); in computeSha256DigestBytes()
227 return messageDigest.digest(); in computeSha256DigestBytes()
/cts/tests/tests/security/src/android/security/cts/
DCertificateTest.java194 MessageDigest messageDigest = MessageDigest.getInstance("SHA1"); in getFingerprint() local
195 messageDigest.update(certificate.getEncoded()); in getFingerprint()
196 byte[] sha1 = messageDigest.digest(); in getFingerprint()