/frameworks/base/core/java/android/security/net/config/ |
D | Pin.java | 24 public final byte[] digest; field in Pin 28 public Pin(String digestAlgorithm, byte[] digest) { in Pin() argument 30 this.digest = digest; in Pin() 31 mHashCode = Arrays.hashCode(digest) ^ digestAlgorithm.hashCode(); in Pin() 70 if (!Arrays.equals(digest, other.digest)) { in equals()
|
D | NetworkSecurityTrustManager.java | 141 if (pinSet.pins.contains(new Pin(algorithm, md.digest(encodedSPKI)))) { in checkPins()
|
/frameworks/base/core/java/android/content/pm/ |
D | EphemeralResolveInfo.java | 158 final MessageDigest digest = MessageDigest.getInstance(SHA_ALGORITHM); in generateDigest() local 161 digests.add(digest.digest(hostBytes)); in generateDigest() 167 digests.add(digest.digest(host.getBytes())); in generateDigest() 170 digests.add(digest.digest(hostBytes)); in generateDigest() 175 digests.add(digest.digest(hostBytes)); in generateDigest()
|
/frameworks/base/keystore/java/android/security/keystore/ |
D | KeyProperties.java | 552 public static int toKeymaster(@NonNull @DigestEnum String digest) { in toKeymaster() argument 553 switch (digest.toUpperCase(Locale.US)) { in toKeymaster() 569 throw new IllegalArgumentException("Unsupported digest algorithm: " + digest); in toKeymaster() 574 public static @DigestEnum String fromKeymaster(int digest) { in fromKeymaster() argument 575 switch (digest) { in fromKeymaster() 591 throw new IllegalArgumentException("Unsupported digest algorithm: " + digest); in fromKeymaster() 596 public static @DigestEnum String fromKeymasterToSignatureAlgorithmDigest(int digest) { in fromKeymasterToSignatureAlgorithmDigest() argument 597 switch (digest) { in fromKeymasterToSignatureAlgorithmDigest() 613 throw new IllegalArgumentException("Unsupported digest algorithm: " + digest); in fromKeymasterToSignatureAlgorithmDigest() 624 for (int digest : digests) { in allFromKeymaster() [all …]
|
/frameworks/base/tests/CoreTests/android/core/ |
D | Sha1Test.java | 45 MessageDigest digest = MessageDigest.getInstance("SHA-1"); in testSha1() local 49 digest.update(mTestData[i].input.getBytes()); in testSha1() 50 byte[] hash = digest.digest(); in testSha1()
|
/frameworks/base/obex/javax/obex/ |
D | ObexSession.java | 169 byte[] digest = new byte[challenge.length + password.length + 1]; in handleAuthChall() 170 System.arraycopy(challenge, 0, digest, 0, challenge.length); in handleAuthChall() 172 digest[challenge.length] = (byte)0x3A; in handleAuthChall() 173 System.arraycopy(password, 0, digest, challenge.length + 1, password.length); in handleAuthChall() 179 System.arraycopy(ObexHelper.computeMd5Hash(digest), 0, header.mAuthResp, 2, 16); in handleAuthChall()
|
/frameworks/base/services/core/java/com/android/server/backup/ |
D | BackupUtils.java | 96 MessageDigest digest = MessageDigest.getInstance("SHA-256"); in hashSignature() local 97 digest.update(signature); in hashSignature() 98 return digest.digest(); in hashSignature()
|
/frameworks/base/core/java/android/util/jar/ |
D | StrictJarVerifier.java | 96 private final MessageDigest digest; field in StrictJarVerifier.VerifierEntry 104 VerifierEntry(String name, MessageDigest digest, byte[] hash, in VerifierEntry() argument 107 this.digest = digest; in VerifierEntry() 118 digest.update((byte) value); in write() 126 digest.update(buf, off, nbytes); in write() 141 byte[] d = digest.digest(); in verify() 492 byte[] b = md.digest(); in verify()
|
/frameworks/base/services/core/java/com/android/server/ |
D | PersistentDataBlockService.java | 195 byte[] digest = computeDigestLocked(storedDigest); in enforceChecksumValidity() 196 if (digest == null || !Arrays.equals(storedDigest, digest)) { in enforceChecksumValidity() 207 byte[] digest = computeDigestLocked(null); in computeAndWriteDigestLocked() 208 if (digest != null) { in computeAndWriteDigestLocked() 219 outputStream.write(digest, 0, DIGEST_SIZE_BYTES); in computeAndWriteDigestLocked() 272 return md.digest(); in computeDigestLocked()
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
D | UsbDebuggingManager.java | 309 byte[] digest; in getFingerprints() 311 digest = digester.digest(Base64.decode(base64_data, Base64.DEFAULT)); in getFingerprints() 316 for (int i = 0; i < digest.length; i++) { in getFingerprints() 317 sb.append(hex.charAt((digest[i] >> 4) & 0xf)); in getFingerprints() 318 sb.append(hex.charAt(digest[i] & 0xf)); in getFingerprints() 319 if (i < digest.length - 1) in getFingerprints()
|
/frameworks/base/docs/html-intl/intl/ru/training/articles/ |
D | security-config.jd | 310 <pin digest="SHA-256">7HIpactkIAq2Y49orFOOQKurWxmmSFZhBCoQYcRhJ3Y=</pin> 312 <pin digest="SHA-256">fwza0LRMXouZHRC8Ei+4PyuldPDcf3UKgO/04cDM1oE=</pin> 387 <pin digest="...">...</pin> 724 <pin digest=["SHA-256"]>base64 encoded digest of X.509 736 {@code digest}
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/ |
D | SPVerifier.java | 161 MessageDigest digest = MessageDigest.getInstance(hash.getJCEName()); in verify() local 162 byte[] computed = digest.digest(iconData.getIconData()); in verify()
|
/frameworks/base/core/java/android/net/http/ |
D | SslCertificate.java | 274 byte[] digest = md.digest(bytes); in getDigest() 275 return fingerprint(digest); in getDigest()
|
/frameworks/base/docs/html-intl/intl/zh-cn/training/articles/ |
D | security-config.jd | 311 <pin digest="SHA-256">7HIpactkIAq2Y49orFOOQKurWxmmSFZhBCoQYcRhJ3Y=</pin> 313 <pin digest="SHA-256">fwza0LRMXouZHRC8Ei+4PyuldPDcf3UKgO/04cDM1oE=</pin> 389 <pin digest="...">...</pin> 726 <pin digest=["SHA-256"]>base64 encoded digest of X.509 738 {@code digest}
|
/frameworks/base/core/java/android/util/apk/ |
D | ApkSignatureSchemeV2Verifier.java | 331 ByteBuffer digest = getLengthPrefixedSlice(digests); in verifySigner() local 332 if (digest.remaining() < 8) { in verifySigner() 335 int sigAlgorithm = digest.getInt(); in verifySigner() 338 contentDigest = readLengthPrefixedByteArray(digest); in verifySigner() 527 md.digest( in computeContentDigests() 555 byte[] output = md.digest(input); in computeContentDigests()
|
/frameworks/base/docs/html-intl/intl/ja/training/articles/ |
D | security-config.jd | 311 <pin digest="SHA-256">7HIpactkIAq2Y49orFOOQKurWxmmSFZhBCoQYcRhJ3Y=</pin> 313 <pin digest="SHA-256">fwza0LRMXouZHRC8Ei+4PyuldPDcf3UKgO/04cDM1oE=</pin> 389 <pin digest="...">...</pin> 726 <pin digest=["SHA-256"]>base64 encoded digest of X.509 738 {@code digest}
|
/frameworks/base/docs/html-intl/intl/ko/training/articles/ |
D | security-config.jd | 311 <pin digest="SHA-256">7HIpactkIAq2Y49orFOOQKurWxmmSFZhBCoQYcRhJ3Y=</pin> 313 <pin digest="SHA-256">fwza0LRMXouZHRC8Ei+4PyuldPDcf3UKgO/04cDM1oE=</pin> 389 <pin digest="...">...</pin> 726 <pin digest=["SHA-256"]>base64 encoded digest of X.509 738 {@code digest}
|
/frameworks/base/docs/html-intl/intl/zh-tw/training/articles/ |
D | security-config.jd | 310 <pin digest="SHA-256">7HIpactkIAq2Y49orFOOQKurWxmmSFZhBCoQYcRhJ3Y=</pin> 312 <pin digest="SHA-256">fwza0LRMXouZHRC8Ei+4PyuldPDcf3UKgO/04cDM1oE=</pin> 387 <pin digest="...">...</pin> 724 <pin digest=["SHA-256"]>base64 encoded digest of X.509 736 {@code digest}
|
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/ |
D | Utils.java | 122 return byteArrayToHexString(digester.digest()); in computeNormalizedSha256Fingerprint()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | EphemeralApplicationRegistry.java | 683 final byte[] digest = messageDigest.digest(); in computePackageCertDigest() 684 final int digestLength = digest.length; in computePackageCertDigest() 689 final int byteHex = digest[i] & 0xFF; in computePackageCertDigest()
|
D | ProcessLoggingHandler.java | 110 return md.digest(); in computeHashOfApkFile()
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
D | CustomPrinterIconCache.java | 75 sb.append(String.format("%#040x", new java.math.BigInteger(1, md.digest()))); in getIconFileName()
|
/frameworks/base/docs/html/training/articles/ |
D | security-config.jd | 312 <pin digest="SHA-256">7HIpactkIAq2Y49orFOOQKurWxmmSFZhBCoQYcRhJ3Y=</pin> 314 <pin digest="SHA-256">fwza0LRMXouZHRC8Ei+4PyuldPDcf3UKgO/04cDM1oE=</pin> 390 <pin digest="...">...</pin> 731 <pin digest=["SHA-256"]>base64 encoded digest of X.509 743 {@code digest} 747 The digest algorithm used to generate the pin. Currently, only
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/pps/ |
D | Credential.java | 147 fingerPrint = digester.digest(enterpriseConfig.getClientCertificate().getEncoded()); in Credential() 159 fingerPrint = digester.digest(octets); in Credential()
|
/frameworks/base/docs/html-intl/intl/in/training/articles/ |
D | security-config.jd | 311 <pin digest="SHA-256">7HIpactkIAq2Y49orFOOQKurWxmmSFZhBCoQYcRhJ3Y=</pin> 313 <pin digest="SHA-256">fwza0LRMXouZHRC8Ei+4PyuldPDcf3UKgO/04cDM1oE=</pin> 389 <pin digest="...">...</pin> 726 <pin digest=["SHA-256"]>base64 encoded digest of X.509 738 {@code digest}
|