Home
last modified time | relevance | path

Searched refs:digester (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/
DUtils.java115 MessageDigest digester; in computeNormalizedSha256Fingerprint() local
117 digester = MessageDigest.getInstance("SHA-256"); in computeNormalizedSha256Fingerprint()
121 digester.update(signature); in computeNormalizedSha256Fingerprint()
122 return byteArrayToHexString(digester.digest()); in computeNormalizedSha256Fingerprint()
/frameworks/base/packages/Osu/src/com/android/configparse/
DConfigBuilder.java142 MessageDigest digester = MessageDigest.getInstance("SHA-256"); in buildTLSConfig() local
144 digester.reset(); in buildTLSConfig()
145 byte[] fingerprint = digester.digest(certificate.getEncoded()); in buildTLSConfig()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/pps/
DCredential.java146 MessageDigest digester = MessageDigest.getInstance("SHA-256"); in Credential() local
147 fingerPrint = digester.digest(enterpriseConfig.getClientCertificate().getEncoded()); in Credential()
158 MessageDigest digester = MessageDigest.getInstance("SHA-256"); in Credential() local
159 fingerPrint = digester.digest(octets); in Credential()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbDebuggingManager.java295 MessageDigest digester; in getFingerprints() local
302 digester = MessageDigest.getInstance("MD5"); in getFingerprints()
311 digest = digester.digest(Base64.decode(base64_data, Base64.DEFAULT)); in getFingerprints()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/configparse/
DConfigBuilder.java280 MessageDigest digester = MessageDigest.getInstance("SHA-256"); in buildTLSConfig() local
282 digester.reset(); in buildTLSConfig()
283 byte[] fingerprint = digester.digest(certificate.getEncoded()); in buildTLSConfig()
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java2353 MessageDigest digester; in calculatePackageSignatureDigest() local
2355 digester = MessageDigest.getInstance("SHA-256"); in calculatePackageSignatureDigest()
2359 digester.update(sig.toByteArray()); in calculatePackageSignatureDigest()
2363 digester = null; in calculatePackageSignatureDigest()
2366 digester = null; in calculatePackageSignatureDigest()
2368 return (digester == null) ? null : digester.digest(); in calculatePackageSignatureDigest()