Home
last modified time | relevance | path

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

/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.java109 MessageDigest messageDigest = MessageDigest.getInstance("SHA256"); in computePackageSignatureDigest() local
110 messageDigest.update(packageInfo.signatures[0].toByteArray()); in computePackageSignatureDigest()
112 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()