/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
Fingerprint.java | 22 import java.security.MessageDigest; 31 // Instance of the MessageDigest using our specified digest algorithm. 32 private static final MessageDigest DIGESTER; 35 * Name of the digest algorithm we use in {@link java.security.MessageDigest} 51 DIGESTER = MessageDigest.getInstance(DIGEST_MD5);
|
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/ |
LibraryDeviceInfo.java | 27 import java.security.MessageDigest; 114 MessageDigest digest = MessageDigest.getInstance(algorithm);
|
/cts/tests/tests/carrierapi/src/android/carrierapi/cts/ |
CarrierApiTest.java | 33 import java.security.MessageDigest; 78 MessageDigest md = MessageDigest.getInstance("SHA-1");
|
/external/conscrypt/src/main/java/org/conscrypt/ct/ |
CertificateEntry.java | 21 import java.security.MessageDigest; 91 MessageDigest md = MessageDigest.getInstance("SHA-256");
|
CTLogInfo.java | 21 import java.security.MessageDigest; 40 this.logId = MessageDigest.getInstance("SHA-256")
|
/external/guava/guava-tests/test/com/google/common/hash/ |
MessageDigestHashFunctionTest.java | 25 import java.security.MessageDigest; 98 MessageDigest digest = MessageDigest.getInstance(algorithmName);
|
/frameworks/base/core/java/android/content/pm/ |
EphemeralResolveInfo.java | 26 import java.security.MessageDigest; 93 final MessageDigest digest = MessageDigest.getInstance(SHA_ALGORITHM);
|
/frameworks/base/services/core/java/com/android/server/backup/ |
BackupUtils.java | 24 import java.security.MessageDigest; 96 MessageDigest digest = MessageDigest.getInstance("SHA-256");
|
/frameworks/base/services/core/java/com/android/server/pm/ |
ProcessLoggingHandler.java | 30 import java.security.MessageDigest; 102 MessageDigest md = MessageDigest.getInstance("SHA-256");
|
/external/apache-harmony/support/src/test/java/tests/support/ |
Support_ProviderJCE.java | 54 put("MessageDigest.SHA", 56 put("MessageDigest.MD5",
|
Support_ProviderRSA.java | 54 put("MessageDigest.SHA", 56 put("MessageDigest.MD5",
|
Support_ProviderTrust.java | 54 put("MessageDigest.SHA", 56 put("MessageDigest.MD5",
|
/external/conscrypt/src/main/java/org/conscrypt/ |
OpenSSLProvider.java | 68 put("MessageDigest.SHA-1", PREFIX + "OpenSSLMessageDigestJDK$SHA1"); 69 put("Alg.Alias.MessageDigest.SHA1", "SHA-1"); 70 put("Alg.Alias.MessageDigest.SHA", "SHA-1"); 71 put("Alg.Alias.MessageDigest.1.3.14.3.2.26", "SHA-1"); 73 put("MessageDigest.SHA-224", PREFIX + "OpenSSLMessageDigestJDK$SHA224"); 74 put("Alg.Alias.MessageDigest.SHA224", "SHA-224"); 75 put("Alg.Alias.MessageDigest.2.16.840.1.101.3.4.2.4", "SHA-224"); 77 put("MessageDigest.SHA-256", PREFIX + "OpenSSLMessageDigestJDK$SHA256"); 78 put("Alg.Alias.MessageDigest.SHA256", "SHA-256"); 79 put("Alg.Alias.MessageDigest.2.16.840.1.101.3.4.2.1", "SHA-256") [all...] |
/external/webrtc/webrtc/base/ |
sslfingerprint.cc | 17 #include "webrtc/base/messagedigest.h" 53 char value[rtc::MessageDigest::kMaxSize];
|
/libcore/support/src/test/java/tests/support/ |
Support_ProviderTrust.java | 56 put("MessageDigest.SHA", 58 put("MessageDigest.MD5",
|
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/ |
MyMessageDigest2.java | 27 * Tests implementation of MessageDigest
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/digest/ |
SHA1.java | 179 provider.addAlgorithm("MessageDigest.SHA-1", PREFIX + "$Digest"); 180 provider.addAlgorithm("Alg.Alias.MessageDigest.SHA1", "SHA-1"); 181 provider.addAlgorithm("Alg.Alias.MessageDigest.SHA", "SHA-1"); 182 provider.addAlgorithm("Alg.Alias.MessageDigest." + OIWObjectIdentifiers.idSHA1, "SHA-1");
|
/libcore/ojluni/src/main/java/sun/security/util/ |
SignatureFileVerifier.java | 69 /** cache of created MessageDigest objects */ 70 private HashMap<String, MessageDigest> createdDigests; 158 private MessageDigest getDigest(String algorithm) 161 createdDigests = new HashMap<String, MessageDigest>(); 163 MessageDigest digest = createdDigests.get(algorithm); 167 digest = MessageDigest.getInstance(algorithm); 188 // calls Signature.getInstance() and MessageDigest.getInstance() 297 MessageDigest digest = getDigest(algorithm); 311 if (MessageDigest.isEqual(computedHash, 340 MessageDigest digest = getDigest(algorithm) [all...] |
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
MyMessageDigest2.java | 28 * Tests implementation of MessageDigest
|
/libcore/support/src/test/java/tests/security/ |
MessageDigestTest.java | 20 import java.security.MessageDigest; 33 private MessageDigest digest; 42 this.digest = MessageDigest.getInstance(digestAlgorithmName); 51 // This is critical. The MessageDigest tests consume a lot of memory due
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
Security2Test.java | 228 filter.put("MessageDigest.MD2", ""); 233 assertEquals("Filter : <MessageDigest.MD2>,<CertificateFactory.X.509>,<KeyFactory.RSA>", 237 "Filter : <MessageDigest.MD2>,<CertificateFactory.X.509>,<KeyFactory.RSA>", 242 filter.put("MessageDigest.SHA", ""); 246 assertEquals("Filter : <MessageDigest.SHA><CertificateFactory.X.509>", 250 "Filter : <MessageDigest.SHA><CertificateFactory.X.509>",
|
SecurityTest.java | 26 import java.security.MessageDigest; 55 MessageDigest.getInstance("SHA-1"); 273 m.put("MessageDigest.SHA-1", ""); 279 m.put("MessageDigest.SHA-1", ""); 285 m.put("MessageDigest.SHA-1", ""); 360 put("MessageDigest.SHA-1", "SomeClassName");
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
Security2Test.java | 195 filter.put("MessageDigest.SHA-384", ""); 200 assertEquals("Filter : <MessageDigest.SHA-384>,<CertificateFactory.X.509>,<KeyFactory.RSA>", 204 "Filter : <MessageDigest.SHA-384>,<CertificateFactory.X.509>,<KeyFactory.RSA>", 209 filter.put("MessageDigest.SHA1", ""); 213 assertEquals("Filter : <MessageDigest.SHA1><TrustManagerFactory.X509>", 217 "Filter : <MessageDigest.SHA1><TrustManagerFactory.X509>",
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ |
RSA.java | 111 // if (provider.hasAlgorithm("MessageDigest", "MD2")) 116 // if (provider.hasAlgorithm("MessageDigest", "MD4")) 122 if (provider.hasAlgorithm("MessageDigest", "MD5")) 130 if (provider.hasAlgorithm("MessageDigest", "SHA1")) 174 // if (provider.hasAlgorithm("MessageDigest", "RIPEMD128")) 183 // if (provider.hasAlgorithm("MessageDigest", "RIPEMD160")) 194 // if (provider.hasAlgorithm("MessageDigest", "RIPEMD256")) 200 // if (provider.hasAlgorithm("MessageDigest", "WHIRLPOOL"))
|
/frameworks/base/core/java/android/util/jar/ |
StrictJarVerifier.java | 25 import java.security.MessageDigest; 96 private final MessageDigest digest; 104 VerifierEntry(String name, MessageDigest digest, byte[] hash, 142 if (!MessageDigest.isEqual(d, Base64.decode(hash))) { 241 return new VerifierEntry(name, MessageDigest.getInstance(algorithm), hashBytes, 481 MessageDigest md; 483 md = MessageDigest.getInstance(algorithm); 494 return MessageDigest.isEqual(b, Base64.decode(hashBytes));
|