Searched refs:getDigestAlgorithm (Results 1 - 13 of 13) sorted by relevance

/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/spec/
H A DMGF1ParameterSpecTest.java73 * Test for <code>getDigestAlgorithm</code> method<br>
79 assertTrue(testAlgName.equals(aps.getDigestAlgorithm()));
83 * Test for public static fields and <code>getDigestAlgorithm</code> method<br>
88 assertEquals("SHA-1", MGF1ParameterSpec.SHA1.getDigestAlgorithm());
89 assertEquals("SHA-256", MGF1ParameterSpec.SHA256.getDigestAlgorithm());
90 assertEquals("SHA-384", MGF1ParameterSpec.SHA384.getDigestAlgorithm());
91 assertEquals("SHA-512", MGF1ParameterSpec.SHA512.getDigestAlgorithm());
H A DPSSParameterSpecTest.java166 * Test for <code>getDigestAlgorithm()</code> method
172 assertEquals("SHA-1", pssps.getDigestAlgorithm());
232 assertEquals("SHA-1", PSSParameterSpec.DEFAULT.getDigestAlgorithm());
/external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/spec/
H A DOAEPParameterSpecTest.java75 OAEPParameterSpec.DEFAULT.getDigestAlgorithm().equals(mdName));
94 * getDigestAlgorithm() method testing.
106 ps.getDigestAlgorithm().equals(mdName));
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/
H A DAlgorithmParametersSpi.java57 DigestFactory.getOID(currentSpec.getDigestAlgorithm()),
65 new AlgorithmIdentifier(DigestFactory.getOID(mgfSpec.getDigestAlgorithm()), DERNull.INSTANCE));
176 DigestFactory.getOID(pssSpec.getDigestAlgorithm()),
184 new AlgorithmIdentifier(DigestFactory.getOID(mgfSpec.getDigestAlgorithm()), DERNull.INSTANCE));
H A DCipherSpi.java85 Digest digest = DigestFactory.getDigest(mgfParams.getDigestAlgorithm());
89 throw new NoSuchPaddingException("no match on OAEP constructor for digest algorithm: "+ mgfParams.getDigestAlgorithm());
296 Digest digest = DigestFactory.getDigest(spec.getDigestAlgorithm());
300 throw new InvalidAlgorithmParameterException("no match on digest algorithm: "+ spec.getDigestAlgorithm());
304 Digest mgfDigest = DigestFactory.getDigest(mgfParams.getDigestAlgorithm());
308 throw new InvalidAlgorithmParameterException("no match on MGF digest algorithm: "+ mgfParams.getDigestAlgorithm());
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/
H A DAttributeCertificateHolder.java135 public AlgorithmIdentifier getDigestAlgorithm() method in class:AttributeCertificateHolder
139 return holder.getObjectDigestInfo().getDigestAlgorithm();
295 DigestCalculator digCalc = digestCalculatorProvider.get(holder.getObjectDigestInfo().getDigestAlgorithm());
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/
H A DAttributeCertificateHolder.java163 public String getDigestAlgorithm() method in class:AttributeCertificateHolder
167 return holder.getObjectDigestInfo().getDigestAlgorithm().getObjectId()
358 md = MessageDigest.getInstance(getDigestAlgorithm(), "BC");
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/
H A DSignerInformation.java91 this.digestAlgorithm = info.getDigestAlgorithm();
480 ContentVerifier contentVerifier = verifier.getContentVerifier(encryptionAlgorithm, info.getDigestAlgorithm());
731 new SignerInfo(sInfo.getSID(), sInfo.getDigestAlgorithm(),
773 new SignerInfo(sInfo.getSID(), sInfo.getDigestAlgorithm(),
H A DCMSSignedData.java238 byte[] hash = (obj instanceof String) ? (byte[])hashes.get(info.getDigestAlgorithm().getAlgorithm().getId()) : (byte[])hashes.get(info.getDigestAlgorithm().getAlgorithm());
H A DSignerInfoGenerator.java134 public AlgorithmIdentifier getDigestAlgorithm() method in class:SignerInfoGenerator
H A DCMSSignedDataGenerator.java703 digestAlgs.add(inf.getDigestAlgorithm());
710 digests.put(inf.getDigestAlgorithm().getAlgorithm().getId(), calcDigest);
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/
H A DObjectDigestInfo.java146 public AlgorithmIdentifier getDigestAlgorithm() method in class:ObjectDigestInfo
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/cms/
H A DSignerInfo.java120 public AlgorithmIdentifier getDigestAlgorithm() method in class:SignerInfo

Completed in 177 milliseconds