Home
last modified time | relevance | path

Searched refs:getDigestAlgorithm (Results 1 – 23 of 23) sorted by relevance

/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/spec/
DMGF1ParameterSpecTest.java79 assertTrue(testAlgName.equals(aps.getDigestAlgorithm())); in testGetDigestAlgorithm()
88 assertEquals("SHA-1", MGF1ParameterSpec.SHA1.getDigestAlgorithm()); in testFieldsGetDigestAlgorithm()
89 assertEquals("SHA-256", MGF1ParameterSpec.SHA256.getDigestAlgorithm()); in testFieldsGetDigestAlgorithm()
90 assertEquals("SHA-384", MGF1ParameterSpec.SHA384.getDigestAlgorithm()); in testFieldsGetDigestAlgorithm()
91 assertEquals("SHA-512", MGF1ParameterSpec.SHA512.getDigestAlgorithm()); in testFieldsGetDigestAlgorithm()
DPSSParameterSpecTest.java170 assertEquals("SHA-1", pssps.getDigestAlgorithm()); in testGetDigestAlgorithm()
230 assertEquals("SHA-1", PSSParameterSpec.DEFAULT.getDigestAlgorithm()); in testDEFAULTmdName()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/
DCipherSpi.java88 Digest digest = DigestFactory.getDigest(mgfParams.getDigestAlgorithm()); in initFromSpec()
92 …ngException("no match on OAEP constructor for digest algorithm: "+ mgfParams.getDigestAlgorithm()); in initFromSpec()
297 Digest digest = DigestFactory.getDigest(spec.getDigestAlgorithm()); in engineInit()
301 …ew InvalidAlgorithmParameterException("no match on digest algorithm: "+ spec.getDigestAlgorithm()); in engineInit()
305 Digest mgfDigest = DigestFactory.getDigest(mgfParams.getDigestAlgorithm()); in engineInit()
309 …dAlgorithmParameterException("no match on MGF digest algorithm: "+ mgfParams.getDigestAlgorithm()); in engineInit()
DAlgorithmParametersSpi.java57 … DigestFactory.getOID(currentSpec.getDigestAlgorithm()), in engineGetEncoded()
62 … new AlgorithmIdentifier(DigestFactory.getOID(mgfSpec.getDigestAlgorithm()), DERNull.INSTANCE)); in engineGetEncoded()
172 DigestFactory.getOID(pssSpec.getDigestAlgorithm()), in engineGetEncoded()
177 … new AlgorithmIdentifier(DigestFactory.getOID(mgfSpec.getDigestAlgorithm()), DERNull.INSTANCE)); in engineGetEncoded()
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/
DSignerInformation.java84 this.digestAlgorithm = info.getDigestAlgorithm(); in SignerInformation()
107 this.digestAlgorithm = info.getDigestAlgorithm(); in SignerInformation()
344 … contentVerifier = verifier.getContentVerifier(encryptionAlgorithm, info.getDigestAlgorithm()); in doVerify()
482 … if (!CMSUtils.isEquivalent(algorithmProtection.getDigestAlgorithm(), info.getDigestAlgorithm())) in doVerify()
697 new SignerInfo(sInfo.getSID(), sInfo.getDigestAlgorithm(), in replaceUnsignedAttributes()
739 new SignerInfo(sInfo.getSID(), sInfo.getDigestAlgorithm(), in addCounterSigners()
DCMSSignedDataGenerator.java179 digestAlgs.add(inf.getDigestAlgorithm()); in generate()
186 digests.put(inf.getDigestAlgorithm().getAlgorithm().getId(), calcDigest); in generate()
DCMSSignedData.java258 …ring) ? (byte[])hashes.get(info.getDigestAlgorithm().getAlgorithm().getId()) : (byte[])hashes.get(… in getSignerInfos()
DSignerInfoGenerator.java144 public AlgorithmIdentifier getDigestAlgorithm() in getDigestAlgorithm() method in SignerInfoGenerator
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/
DAttributeCertificateHolder.java151 public AlgorithmIdentifier getDigestAlgorithm() in getDigestAlgorithm() method in AttributeCertificateHolder
155 return holder.getObjectDigestInfo().getDigestAlgorithm(); in getDigestAlgorithm()
311 …lculator digCalc = digestCalculatorProvider.get(holder.getObjectDigestInfo().getDigestAlgorithm()); in match()
/external/conscrypt/src/main/java/org/conscrypt/
DOpenSSLSignature.java398 String specContentDigest = getJcaDigestAlgorithmStandardName(spec.getDigestAlgorithm()); in engineSetParameter()
401 "Unsupported content digest algorithm: " + spec.getDigestAlgorithm()); in engineSetParameter()
424 getJcaDigestAlgorithmStandardName(specMgf1Spec.getDigestAlgorithm()); in engineSetParameter()
427 "Unsupported MGF1 digest algorithm: " + specMgf1Spec.getDigestAlgorithm()); in engineSetParameter()
/external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/spec/
DOAEPParameterSpecTest.java75 OAEPParameterSpec.DEFAULT.getDigestAlgorithm().equals(mdName)); in testOAEPParameterSpec()
106 ps.getDigestAlgorithm().equals(mdName)); in testGetDigestAlgorithm()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/
DAttributeCertificateHolder.java163 public String getDigestAlgorithm() in getDigestAlgorithm() method in AttributeCertificateHolder
167 return holder.getObjectDigestInfo().getDigestAlgorithm().getAlgorithm() in getDigestAlgorithm()
358 md = MessageDigest.getInstance(getDigestAlgorithm(), "BC"); in match()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/
DObjectDigestInfo.java145 public AlgorithmIdentifier getDigestAlgorithm() in getDigestAlgorithm() method in ObjectDigestInfo
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/cms/
DCMSAlgorithmProtection.java105 public AlgorithmIdentifier getDigestAlgorithm() in getDigestAlgorithm() method in CMSAlgorithmProtection
DSignerInfo.java236 public AlgorithmIdentifier getDigestAlgorithm() in getDigestAlgorithm() method in SignerInfo
/external/google-tv-pairing-protocol/java/jar/
Dbcprov-jdk15-143.jarMETA-INF/MANIFEST.MF META-INF/BCKEY.SF META-INF/BCKEY ...
/external/robolectric/v1/lib/main/
Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/ ...
/external/robolectric/v3/runtime/
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/ ...
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.4_r1-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...