Home
last modified time | relevance | path

Searched refs:digests (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/services/core/java/com/android/server/net/watchlist/
DHarmfulDigests.java36 HarmfulDigests(List<byte[]> digests) { in HarmfulDigests() argument
38 final int size = digests.size(); in HarmfulDigests()
40 tmpDigestSet.add(HexDump.toHexString(digests.get(i))); in HarmfulDigests()
/frameworks/base/core/java/android/util/
DPackageUtils.java49 final String[] digests = new String[signatureCount]; in computeSignaturesSha256Digests() local
51 digests[i] = computeSha256Digest(signatures[i].toByteArray()); in computeSignaturesSha256Digests()
53 return digests; in computeSignaturesSha256Digests()
/frameworks/base/core/java/android/content/pm/
DInstantAppResolveInfo.java287 ArrayList<byte[]> digests = new ArrayList<>(); in generateDigest() local
292 digests.add(digest.digest(hostBytes)); in generateDigest()
298 digests.add(digest.digest(hostName.getBytes())); in generateDigest()
302 digests.add(digest.digest(hostBytes)); in generateDigest()
308 digests.add(digest.digest(hostBytes)); in generateDigest()
316 return digests.toArray(new byte[digests.size()][]); in generateDigest()
/frameworks/base/keystore/java/android/security/keystore/
DKeyProperties.java640 public static @DigestEnum String[] allFromKeymaster(@NonNull Collection<Integer> digests) { in allFromKeymaster() argument
641 if (digests.isEmpty()) { in allFromKeymaster()
644 String[] result = new String[digests.size()]; in allFromKeymaster()
646 for (int digest : digests) { in allFromKeymaster()
654 public static int[] allToKeymaster(@Nullable @DigestEnum String[] digests) { in allToKeymaster() argument
655 if ((digests == null) || (digests.length == 0)) { in allToKeymaster()
658 int[] result = new int[digests.length]; in allToKeymaster()
660 for (@DigestEnum String digest : digests) { in allToKeymaster()
DKeyProtection.java244 @KeyProperties.DigestEnum String[] digests, in KeyProtection() argument
265 mDigests = ArrayUtils.cloneIfNotEmpty(digests); in KeyProtection()
694 public Builder setDigests(@KeyProperties.DigestEnum String... digests) { in setDigests() argument
695 mDigests = ArrayUtils.cloneIfNotEmpty(digests); in setDigests()
DParcelableKeyGenParameterSpec.java154 String[] digests = in.createStringArray(); in ParcelableKeyGenParameterSpec() local
155 if (digests != null) { in ParcelableKeyGenParameterSpec()
156 builder.setDigests(digests); in ParcelableKeyGenParameterSpec()
DAndroidKeyStoreSecretKeyFactorySpi.java95 @KeyProperties.DigestEnum String[] digests; in getKeyInfo() local
148 digests = KeyProperties.Digest.allFromKeymaster( in getKeyInfo()
205 digests, in getKeyInfo()
DKeyInfo.java100 @KeyProperties.DigestEnum String[] digests, in KeyInfo() argument
121 mDigests = ArrayUtils.cloneIfNotEmpty(ArrayUtils.nullToEmpty(digests)); in KeyInfo()
DKeyGenParameterSpec.java288 @KeyProperties.DigestEnum String[] digests, in KeyGenParameterSpec() argument
336 mDigests = ArrayUtils.cloneIfNotEmpty(digests); in KeyGenParameterSpec()
977 public Builder setDigests(@KeyProperties.DigestEnum String... digests) { in setDigests() argument
978 mDigests = ArrayUtils.cloneIfNotEmpty(digests); in setDigests()
/frameworks/base/core/java/android/util/apk/
DApkSignatureSchemeV2Verifier.java299 ByteBuffer digests = getLengthPrefixedSlice(signedData); in verifySigner() local
302 while (digests.hasRemaining()) { in verifySigner()
305 ByteBuffer digest = getLengthPrefixedSlice(digests); in verifySigner()
DApkSignatureSchemeV3Verifier.java312 ByteBuffer digests = getLengthPrefixedSlice(signedData); in verifySigner() local
315 while (digests.hasRemaining()) { in verifySigner()
318 ByteBuffer digest = getLengthPrefixedSlice(digests); in verifySigner()
/frameworks/base/config/
Dpreloaded-classes4347 com.android.org.bouncycastle.crypto.digests.AndroidDigestFactory
4348 com.android.org.bouncycastle.crypto.digests.AndroidDigestFactoryBouncyCastle
4349 com.android.org.bouncycastle.crypto.digests.AndroidDigestFactoryInterface
4350 com.android.org.bouncycastle.crypto.digests.AndroidDigestFactoryOpenSSL
4351 com.android.org.bouncycastle.crypto.digests.OpenSSLDigest
4352 com.android.org.bouncycastle.crypto.digests.OpenSSLDigest$MD5
Dboot-image-profile.txt43508 HSPLcom/android/org/bouncycastle/crypto/digests/AndroidDigestFactory;->getMD5()Lcom/android/org/bou…
43509 HSPLcom/android/org/bouncycastle/crypto/digests/AndroidDigestFactory;->getSHA1()Lcom/android/org/bo…
43510 HSPLcom/android/org/bouncycastle/crypto/digests/AndroidDigestFactory;->getSHA256()Lcom/android/org/…
43511 HSPLcom/android/org/bouncycastle/crypto/digests/AndroidDigestFactoryBouncyCastle;-><init>()V
43512 HSPLcom/android/org/bouncycastle/crypto/digests/AndroidDigestFactoryOpenSSL;-><init>()V
43513 HSPLcom/android/org/bouncycastle/crypto/digests/AndroidDigestFactoryOpenSSL;->getMD5()Lcom/android/…
43514 HSPLcom/android/org/bouncycastle/crypto/digests/AndroidDigestFactoryOpenSSL;->getSHA1()Lcom/android…
43515 HSPLcom/android/org/bouncycastle/crypto/digests/AndroidDigestFactoryOpenSSL;->getSHA256()Lcom/andro…
43516 HSPLcom/android/org/bouncycastle/crypto/digests/EncodableDigest;->getEncodedState()[B
43517 HSPLcom/android/org/bouncycastle/crypto/digests/GeneralDigest;->finish()V
[all …]