Home
last modified time | relevance | path

Searched refs:digester (Results 1 – 5 of 5) 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/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.java294 MessageDigest digester; in getFingerprints() local
301 digester = MessageDigest.getInstance("MD5"); in getFingerprints()
310 digest = digester.digest(Base64.decode(base64_data, Base64.DEFAULT)); in getFingerprints()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/configparse/
DConfigBuilder.java278 MessageDigest digester = MessageDigest.getInstance("SHA-256"); in buildTLSConfig() local
280 digester.reset(); in buildTLSConfig()
281 byte[] fingerprint = digester.digest(certificate.getEncoded()); in buildTLSConfig()
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java2017 MessageDigest digester; in calculatePackageSignatureDigest() local
2019 digester = MessageDigest.getInstance("SHA-256"); in calculatePackageSignatureDigest()
2023 digester.update(sig.toByteArray()); in calculatePackageSignatureDigest()
2027 digester = null; in calculatePackageSignatureDigest()
2030 digester = null; in calculatePackageSignatureDigest()
2032 return (digester == null) ? null : digester.digest(); in calculatePackageSignatureDigest()