Home
last modified time | relevance | path

Searched refs:algorithmName (Results 1 – 24 of 24) sorted by relevance

/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
DDigestInputStreamTest.java44 private static final String algorithmName[] = { field in DigestInputStreamTest
88 for (int i = 0; i < algorithmName.length; i++) { in testDigestInputStream01()
90 MessageDigest md = MessageDigest.getInstance(algorithmName[i]); in testDigestInputStream01()
121 for (int ii = 0; ii < algorithmName.length; ii++) { in testRead01()
123 MessageDigest md = MessageDigest.getInstance(algorithmName[ii]); in testRead01()
134 MDGoldenData.getDigest(algorithmName[ii]))); in testRead01()
154 for (int ii = 0; ii < algorithmName.length; ii++) { in testRead02()
156 MessageDigest md = MessageDigest.getInstance(algorithmName[ii]); in testRead02()
169 MDGoldenData.getDigest(algorithmName[ii]))); in testRead02()
189 for (int ii = 0; ii < algorithmName.length; ii++) { in testRead03()
[all …]
DDigestOutputStreamTest.java44 private static final String algorithmName[] = { field in DigestOutputStreamTest
146 for (int k = 0; k < algorithmName.length; k++) { in testWriteint01()
148 MessageDigest md = MessageDigest.getInstance(algorithmName[k]); in testWriteint01()
159 MDGoldenData.getDigest(algorithmName[k]))); in testWriteint01()
179 for (int k = 0; k < algorithmName.length; k++) { in testWriteint02()
181 MessageDigest md = MessageDigest.getInstance(algorithmName[k]); in testWriteint02()
197 MDGoldenData.getDigest(algorithmName[k] + "_NU"))); in testWriteint02()
214 for (int k = 0; k < algorithmName.length; k++) { in testWriteint03()
216 MessageDigest md = MessageDigest.getInstance(algorithmName[k]); in testWriteint03()
289 for (int k = 0; k < algorithmName.length; k++) { in testWritebyteArrayintint01()
[all …]
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/
DTestKeyPair.java41 private final String algorithmName; field in TestKeyPair
578 public TestKeyPair(String algorithmName) throws in TestKeyPair() argument
580 this.algorithmName = algorithmName; in TestKeyPair()
581 if (!privateKeyEncoding.containsKey(this.algorithmName)) { in TestKeyPair()
583 this.algorithmName); in TestKeyPair()
585 kf = KeyFactory.getInstance(this.algorithmName); in TestKeyPair()
592 (byte[]) publicKeyEncoding.get(algorithmName))); in getPublic()
599 (byte[]) privateKeyEncoding.get(algorithmName))); in getPrivate()
/external/guava/guava/src/com/google/common/hash/
DMessageDigestHashFunction.java39 MessageDigestHashFunction(String algorithmName, String toString) { in MessageDigestHashFunction() argument
40 this.prototype = getMessageDigest(algorithmName); in MessageDigestHashFunction()
46 MessageDigestHashFunction(String algorithmName, int bytes, String toString) { in MessageDigestHashFunction() argument
48 this.prototype = getMessageDigest(algorithmName); in MessageDigestHashFunction()
73 private static MessageDigest getMessageDigest(String algorithmName) { in getMessageDigest() argument
75 return MessageDigest.getInstance(algorithmName); in getMessageDigest()
93 private final String algorithmName; field in MessageDigestHashFunction.SerializedForm
97 private SerializedForm(String algorithmName, int bytes, String toString) { in SerializedForm() argument
98 this.algorithmName = algorithmName; in SerializedForm()
104 return new MessageDigestHashFunction(algorithmName, bytes, toString); in readResolve()
/external/guava/guava-tests/test/com/google/common/hash/
DMessageDigestHashFunctionTest.java96 private static void assertMessageDigestHashing(byte[] input, String algorithmName) { in assertMessageDigestHashing() argument
98 MessageDigest digest = MessageDigest.getInstance(algorithmName); in assertMessageDigestHashing()
101 ALGORITHMS.get(algorithmName).hashBytes(input)); in assertMessageDigestHashing()
105 new MessageDigestHashFunction(algorithmName, bytes, algorithmName).hashBytes(input)); in assertMessageDigestHashing()
109 new MessageDigestHashFunction(algorithmName, maxSize + 1, algorithmName); in assertMessageDigestHashing()
/external/guava/guava-tests/benchmark/com/google/common/hash/
DMessageDigestAlgorithmBenchmark.java69 private final String algorithmName; field in MessageDigestAlgorithmBenchmark.Algorithm
71 Algorithm(String algorithmName, HashFunction hashFn) { in Algorithm() argument
72 this.algorithmName = algorithmName; in Algorithm()
77 return MessageDigest.getInstance(algorithmName); in getMessageDigest()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/
DX509Util.java152 String algorithmName) in getAlgorithmOID() argument
154 algorithmName = Strings.toUpperCase(algorithmName); in getAlgorithmOID()
156 if (algorithms.containsKey(algorithmName)) in getAlgorithmOID()
158 return (ASN1ObjectIdentifier)algorithms.get(algorithmName); in getAlgorithmOID()
161 return new ASN1ObjectIdentifier(algorithmName); in getAlgorithmOID()
166 String algorithmName) in getSigAlgID() argument
173 algorithmName = Strings.toUpperCase(algorithmName); in getSigAlgID()
175 if (params.containsKey(algorithmName)) in getSigAlgID()
177 return new AlgorithmIdentifier(sigOid, (ASN1Encodable)params.get(algorithmName)); in getSigAlgID()
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/
DDefaultCMSSignatureAlgorithmNameGenerator.java157 …protected void setSigningEncryptionAlgorithmMapping(ASN1ObjectIdentifier oid, String algorithmName) in setSigningEncryptionAlgorithmMapping() argument
159 encryptionAlgs.put(oid, algorithmName); in setSigningEncryptionAlgorithmMapping()
169 protected void setSigningDigestAlgorithmMapping(ASN1ObjectIdentifier oid, String algorithmName) in setSigningDigestAlgorithmMapping() argument
171 digestAlgs.put(oid, algorithmName); in setSigningDigestAlgorithmMapping()
DCMSSignedHelper.java156 void setSigningEncryptionAlgorithmMapping(ASN1ObjectIdentifier oid, String algorithmName) in setSigningEncryptionAlgorithmMapping() argument
158 encryptionAlgs.put(oid.getId(), algorithmName); in setSigningEncryptionAlgorithmMapping() local
161 void setSigningDigestAlgorithmMapping(ASN1ObjectIdentifier oid, String algorithmName) in setSigningDigestAlgorithmMapping() argument
163 digestAlgs.put(oid.getId(), algorithmName); in setSigningDigestAlgorithmMapping() local
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/operator/
DDefaultSignatureAlgorithmIdentifierFinder.java188 String algorithmName = Strings.toUpperCase(signatureAlgorithm); in generate() local
189 ASN1ObjectIdentifier sigOID = (ASN1ObjectIdentifier)algorithms.get(algorithmName); in generate()
192 … throw new IllegalArgumentException("Unknown signature type requested: " + algorithmName); in generate()
199 else if (params.containsKey(algorithmName)) in generate()
201 sigAlgId = new AlgorithmIdentifier(sigOID, (ASN1Encodable)params.get(algorithmName)); in generate()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/
DKeyPairGeneratorSpi.java20 String algorithmName) in KeyPairGeneratorSpi() argument
22 super(algorithmName); in KeyPairGeneratorSpi()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/
DPKCS10CertificationRequest.java325 String algorithmName = Strings.toUpperCase(signatureAlgorithm); in PKCS10CertificationRequest() local
326 ASN1ObjectIdentifier sigOID = (ASN1ObjectIdentifier)algorithms.get(algorithmName); in PKCS10CertificationRequest()
332 sigOID = new ASN1ObjectIdentifier(algorithmName); in PKCS10CertificationRequest()
354 else if (params.containsKey(algorithmName)) in PKCS10CertificationRequest()
356 … this.sigAlgId = new AlgorithmIdentifier(sigOID, (ASN1Encodable)params.get(algorithmName)); in PKCS10CertificationRequest()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ec/
DKeyPairGeneratorSpi.java34 public KeyPairGeneratorSpi(String algorithmName) in KeyPairGeneratorSpi() argument
36 super(algorithmName); in KeyPairGeneratorSpi()
/external/opencv3/modules/calib3d/test/
Dtest_stereomatching.cpp402 string algorithmName = name; in run() local
403 assert( !algorithmName.empty() ); in run()
418 …FileStorage runParamsFS( dataPath + ALGORITHMS_DIR + algorithmName + RUN_PARAMS_FILE, FileStorage:… in run()
426 string fullResultFilename = dataPath + ALGORITHMS_DIR + algorithmName + RESULT_FILE; in run()
/external/guice/lib/
Dguava-16.0.1.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
/external/owasp/sanitizer/distrib/lib/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/external/owasp/sanitizer/lib/guava-libraries/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/external/dagger2/lib/
Dgoogle-java-format-0.1-20151017.042846-2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/external/robolectric/v3/runtime/
Dandroid-all-4.4_r1-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dandroid-all-4.3_r2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-5.1.1_r9-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dandroid-all-5.0.0_r2-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dandroid-all-4.1.2_r1-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-4.2.2_r1.2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...