/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/spec/ |
H A D | MGF1ParameterSpecTest.java | 73 * 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 D | PSSParameterSpecTest.java | 166 * 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 D | OAEPParameterSpecTest.java | 75 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 D | AlgorithmParametersSpi.java | 57 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 D | CipherSpi.java | 85 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 D | AttributeCertificateHolder.java | 135 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 D | AttributeCertificateHolder.java | 163 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 D | SignerInformation.java | 91 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 D | CMSSignedData.java | 238 byte[] hash = (obj instanceof String) ? (byte[])hashes.get(info.getDigestAlgorithm().getAlgorithm().getId()) : (byte[])hashes.get(info.getDigestAlgorithm().getAlgorithm());
|
H A D | SignerInfoGenerator.java | 134 public AlgorithmIdentifier getDigestAlgorithm() method in class:SignerInfoGenerator
|
H A D | CMSSignedDataGenerator.java | 703 digestAlgs.add(inf.getDigestAlgorithm()); 710 digests.put(inf.getDigestAlgorithm().getAlgorithm().getId(), calcDigest);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/ |
H A D | ObjectDigestInfo.java | 146 public AlgorithmIdentifier getDigestAlgorithm() method in class:ObjectDigestInfo
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/cms/ |
H A D | SignerInfo.java | 120 public AlgorithmIdentifier getDigestAlgorithm() method in class:SignerInfo
|