Home
last modified time | relevance | path

Searched refs:aps (Results 1 – 11 of 11) sorted by relevance

/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
DKeyGeneratorSpiTest.java82 AlgorithmParameterSpec aps = null; in testKeyGeneratorSpi01() local
84 kgSpi.engineInit(aps, new SecureRandom()); in testKeyGeneratorSpi01()
88 aps = new APSpecSpi(); in testKeyGeneratorSpi01()
89 kgSpi.engineInit(aps, new SecureRandom()); in testKeyGeneratorSpi01()
DKeyGeneratorTest.java390 AlgorithmParameterSpec aps = null; in testInitParams() local
394 kgs[i].init(aps); in testInitParams()
399 kgs[i].init(aps, new SecureRandom()); in testInitParams()
508 IvParameterSpec aps = null; in test_initLjava_security_spec_AlgorithmParameterSpec() local
514 aps = new IvParameterSpec(iv); in test_initLjava_security_spec_AlgorithmParameterSpec()
519 kg.init(aps); in test_initLjava_security_spec_AlgorithmParameterSpec()
DKeyAgreementTest.java398 AlgorithmParameterSpec aps = null; in testInit01() local
423 kAgs[i].init(publKey, aps); in testInit01()
536 AlgorithmParameterSpec aps = new RSAKeyGenParameterSpec(10, new BigInteger("10")); in testInit04() local
573 kAgs[i].init(privKey, aps, random); in testInit04()
/libcore/luni/src/test/java/tests/security/spec/
DPSSParameterSpecTest.java43 AlgorithmParameterSpec aps = new PSSParameterSpec(20); in testPSSParameterSpec0101() local
44 assertTrue(aps instanceof PSSParameterSpec); in testPSSParameterSpec0101()
70 AlgorithmParameterSpec aps = new PSSParameterSpec("SHA-1", "MGF1", in testPSSParameterSpec0201() local
72 assertTrue(aps instanceof PSSParameterSpec); in testPSSParameterSpec0201()
DRSAKeyGenParameterSpecTest.java43 AlgorithmParameterSpec aps = in testRSAKeyGenParameterSpec() local
45 assertTrue(aps instanceof RSAKeyGenParameterSpec); in testRSAKeyGenParameterSpec()
DDSAParameterSpecTest.java41 AlgorithmParameterSpec aps = new DSAParameterSpec( in testDSAParameterSpec() local
46 assertTrue(aps instanceof DSAParameterSpec); in testDSAParameterSpec()
DMGF1ParameterSpecTest.java78 MGF1ParameterSpec aps = new MGF1ParameterSpec(testAlgName); in testGetDigestAlgorithm() local
79 assertTrue(testAlgName.equals(aps.getDigestAlgorithm())); in testGetDigestAlgorithm()
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/spec/
DPBEParameterSpecTest.java110 AlgorithmParameterSpec aps = new IvParameterSpec(new byte[16]); in testGetAlgorithmParameterSpec() local
111 pbeps = new PBEParameterSpec(salt, iterationCount, aps); in testGetAlgorithmParameterSpec()
114 aps, pbeps.getParameterSpec()); in testGetAlgorithmParameterSpec()
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DKeyPairGenerator1Test.java353 AlgorithmParameterSpec aps = null; in testKeyPairGenerator11() local
366 kpg[i].initialize(aps); in testKeyPairGenerator11()
367 kpg[i].initialize(aps, random); in testKeyPairGenerator11()
388 AlgorithmParameterSpec aps; in testKeyPairGenerator12() local
428 aps = new java.security.spec.DSAParameterSpec(bInt, bInt, bInt); in testKeyPairGenerator12()
430 mKPG.initialize(aps, null); in testKeyPairGenerator12()
437 mKPG.initialize(aps, random); in testKeyPairGenerator12()
440 assertEquals("Incorrect params", aps, in testKeyPairGenerator12()
DAlgorithmParameterGenerator1Test.java333 AlgorithmParameterSpec aps = null; in testAlgorithmParameterGenerator12() local
339 apgs[i].init(aps); in testAlgorithmParameterGenerator12()
346 apgs[i].init(aps, random); in testAlgorithmParameterGenerator12()
/libcore/luni/src/test/java/libcore/javax/crypto/
DMockCipherSpi.java59 public void checkAlgorithmParameterSpec(AlgorithmParameterSpec aps) in checkAlgorithmParameterSpec() argument
61 if (!(aps instanceof MockAlgorithmParameterSpec)) { in checkAlgorithmParameterSpec()
70 public void checkAlgorithmParameterSpec(AlgorithmParameterSpec aps) in checkAlgorithmParameterSpec() argument
72 if (!(aps instanceof MockAlgorithmParameterSpec2)) { in checkAlgorithmParameterSpec()
191 public void checkAlgorithmParameterSpec(AlgorithmParameterSpec aps) in checkAlgorithmParameterSpec() argument