Home
last modified time | relevance | path

Searched defs:digest (Results 1 – 17 of 17) sorted by relevance

/libcore/benchmarks/src/benchmarks/regression/
DMessageDigestBenchmark.java66 MessageDigest digest = MessageDigest.getInstance(algorithm.toString(), in time() local
75 MessageDigest digest = MessageDigest.getInstance(algorithm.toString(), in timeLargeArray() local
84 MessageDigest digest = MessageDigest.getInstance(algorithm.toString(), in timeSmallChunkOfLargeArray() local
93 MessageDigest digest = MessageDigest.getInstance(algorithm.toString(), in timeSmallByteBuffer() local
104 MessageDigest digest = MessageDigest.getInstance(algorithm.toString(), in timeSmallDirectByteBuffer() local
115 MessageDigest digest = MessageDigest.getInstance(algorithm.toString(), in timeLargeByteBuffer() local
126 MessageDigest digest = MessageDigest.getInstance(algorithm.toString(), in timeLargeDirectByteBuffer() local
137 MessageDigest digest = MessageDigest.getInstance(algorithm.toString(), in timeSmallChunkOfLargeByteBuffer() local
148 MessageDigest digest = MessageDigest.getInstance(algorithm.toString(), in timeSmallChunkOfLargeDirectByteBuffer() local
/libcore/ojluni/src/main/java/java/security/
DDigestOutputStream.java62 protected MessageDigest digest; field in DigestOutputStream
72 public DigestOutputStream(OutputStream stream, MessageDigest digest) { in DigestOutputStream()
93 public void setMessageDigest(MessageDigest digest) { in setMessageDigest()
DDigestInputStream.java74 protected MessageDigest digest; field in DigestInputStream
84 public DigestInputStream(InputStream stream, MessageDigest digest) { in DigestInputStream()
105 public void setMessageDigest(MessageDigest digest) { in setMessageDigest()
DMessageDigest.java400 public byte[] digest() { in digest() method in MessageDigest
421 public int digest(byte[] buf, int offset, int len) throws DigestException { in digest() method in MessageDigest
446 public byte[] digest(byte[] input) { in digest() method in MessageDigest
DSecureRandom.java681 private MessageDigest digest = null; field in SecureRandom
/libcore/luni/src/test/java/tests/targets/security/
DMessageDigestTestMD2.java28 MessageDigest digest = MessageDigest.getInstance("MD2"); in testMessageDigest1() local
35 MessageDigest digest = MessageDigest.getInstance( in testMessageDigest1() local
49 MessageDigest digest = MessageDigest.getInstance("MD2"); in testMessageDigest2() local
DMessageDigestTest.java32 private MessageDigest digest; field in MessageDigestTest
/libcore/ojluni/annotations/sdk/nullability/java/security/
DMessageDigest.annotated.java55 public byte @libcore.util.NonNull [] digest() { throw new RuntimeException("Stub!"); } in digest() method in MessageDigest
57 public int digest(byte @libcore.util.NonNull [] buf, int offset, int len) throws java.security.Dige… in digest() method in MessageDigest
59 public byte @libcore.util.NonNull [] digest(byte @libcore.util.NonNull [] input) { throw new Runtim… in digest() method in MessageDigest
/libcore/ojluni/src/main/java/sun/security/util/
DManifestEntryVerifier.java130 MessageDigest digest = createdDigests.get(algorithm); in setEntry() local
205 MessageDigest digest = digests.get(i); in verify() local
DSignatureFileVerifier.java238 MessageDigest digest = createdDigests.get(algorithm); in getDigest() local
370 MessageDigest digest = getDigest(algorithm); in verifyManifestHash() local
412 MessageDigest digest = getDigest(algorithm); in verifyManifestMainAttrs() local
487 MessageDigest digest = getDigest(algorithm); in verifySection() local
DManifestDigester.java210 public byte[] digest(MessageDigest md) in digest() method in ManifestDigester.Entry
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DDigestOutputStreamTest.java105 MessageDigest digest = new MyMessageDigest1(); in test_getMessageDigest() local
122 MessageDigest digest = new MyMessageDigest1(); in test_setMessageDigestLjava_security_MessageDigest() local
666 public MyDigestOutputStream(OutputStream out, MessageDigest digest) { in MyDigestOutputStream()
DMessageDigest2Test.java247 MessageDigest digest = MessageDigest.getInstance(algorithm, e.getKey().getName()); in test_digest$B() local
260 MessageDigest digest = MessageDigest.getInstance(algorithm, e.getKey().getName()); in test_digest$BII() local
DDigestInputStream2Test.java33 MessageDigest digest; field in DigestInputStream2Test
DMessageDigest1Test.java188 MessageDigest digest = MessageDigest.getInstance("TestDigest", new TestProvider()); in test_digestLB$LILI() local
/libcore/ojluni/annotations/hiddenapi/sun/security/util/
DManifestDigester.java70 public byte[] digest(java.security.MessageDigest md) { in digest() method in ManifestDigester.Entry
/libcore/luni/src/test/java/tests/com/android/org/bouncycastle/jce/provider/
DCertBlacklistTest.java178 MessageDigest digest = MessageDigest.getInstance("SHA1"); in getHash() local