Searched refs:digester (Results 1 – 6 of 6) sorted by relevance
115 MessageDigest digester; in computeNormalizedSha256Fingerprint() local117 digester = MessageDigest.getInstance("SHA-256"); in computeNormalizedSha256Fingerprint()121 digester.update(signature); in computeNormalizedSha256Fingerprint()122 return byteArrayToHexString(digester.digest()); in computeNormalizedSha256Fingerprint()
142 MessageDigest digester = MessageDigest.getInstance("SHA-256"); in buildTLSConfig() local144 digester.reset(); in buildTLSConfig()145 byte[] fingerprint = digester.digest(certificate.getEncoded()); in buildTLSConfig()
146 MessageDigest digester = MessageDigest.getInstance("SHA-256"); in Credential() local147 fingerPrint = digester.digest(enterpriseConfig.getClientCertificate().getEncoded()); in Credential()158 MessageDigest digester = MessageDigest.getInstance("SHA-256"); in Credential() local159 fingerPrint = digester.digest(octets); in Credential()
295 MessageDigest digester; in getFingerprints() local302 digester = MessageDigest.getInstance("MD5"); in getFingerprints()311 digest = digester.digest(Base64.decode(base64_data, Base64.DEFAULT)); in getFingerprints()
280 MessageDigest digester = MessageDigest.getInstance("SHA-256"); in buildTLSConfig() local282 digester.reset(); in buildTLSConfig()283 byte[] fingerprint = digester.digest(certificate.getEncoded()); in buildTLSConfig()
2353 MessageDigest digester; in calculatePackageSignatureDigest() local2355 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()