Searched refs:digests (Results 1 – 8 of 8) sorted by relevance
166 ArrayList<byte[]> digests = new ArrayList<>(); in generateDigest() local171 digests.add(digest.digest(hostBytes)); in generateDigest()177 digests.add(digest.digest(hostName.getBytes())); in generateDigest()181 digests.add(digest.digest(hostBytes)); in generateDigest()187 digests.add(digest.digest(hostBytes)); in generateDigest()195 return digests.toArray(new byte[digests.size()][]); in generateDigest()
618 public static @DigestEnum String[] allFromKeymaster(@NonNull Collection<Integer> digests) { in allFromKeymaster() argument619 if (digests.isEmpty()) { in allFromKeymaster()622 String[] result = new String[digests.size()]; in allFromKeymaster()624 for (int digest : digests) { in allFromKeymaster()632 public static int[] allToKeymaster(@Nullable @DigestEnum String[] digests) { in allToKeymaster() argument633 if ((digests == null) || (digests.length == 0)) { in allToKeymaster()636 int[] result = new int[digests.length]; in allToKeymaster()638 for (@DigestEnum String digest : digests) { in allToKeymaster()
239 @KeyProperties.DigestEnum String[] digests, in KeyProtection() argument256 mDigests = ArrayUtils.cloneIfNotEmpty(digests); in KeyProtection()620 public Builder setDigests(@KeyProperties.DigestEnum String... digests) { in setDigests() argument621 mDigests = ArrayUtils.cloneIfNotEmpty(digests); in setDigests()
282 @KeyProperties.DigestEnum String[] digests, in KeyGenParameterSpec() argument326 mDigests = ArrayUtils.cloneIfNotEmpty(digests); in KeyGenParameterSpec()863 public Builder setDigests(@KeyProperties.DigestEnum String... digests) { in setDigests() argument864 mDigests = ArrayUtils.cloneIfNotEmpty(digests); in setDigests()
92 @KeyProperties.DigestEnum String[] digests; in getKeyInfo() local145 digests = KeyProperties.Digest.allFromKeymaster( in getKeyInfo()197 digests, in getKeyInfo()
98 @KeyProperties.DigestEnum String[] digests, in KeyInfo() argument117 mDigests = ArrayUtils.cloneIfNotEmpty(ArrayUtils.nullToEmpty(digests)); in KeyInfo()
325 ByteBuffer digests = getLengthPrefixedSlice(signedData); in verifySigner() local328 while (digests.hasRemaining()) { in verifySigner()331 ByteBuffer digest = getLengthPrefixedSlice(digests); in verifySigner()
6143 com.android.org.bouncycastle.crypto.digests.AndroidDigestFactory6144 com.android.org.bouncycastle.crypto.digests.AndroidDigestFactoryInterface6145 com.android.org.bouncycastle.crypto.digests.AndroidDigestFactoryOpenSSL6146 com.android.org.bouncycastle.crypto.digests.EncodableDigest6147 com.android.org.bouncycastle.crypto.digests.GeneralDigest6148 com.android.org.bouncycastle.crypto.digests.OpenSSLDigest6149 com.android.org.bouncycastle.crypto.digests.OpenSSLDigest$SHA16150 com.android.org.bouncycastle.crypto.digests.SHA1Digest