Home
last modified time | relevance | path

Searched refs:AlgorithmParameters (Results 1 – 25 of 49) sorted by relevance

12

/libcore/luni/src/test/java/libcore/java/security/spec/
DAlgorithmParametersPSSTest.java20 import java.security.AlgorithmParameters;
69 AlgorithmParameters params = AlgorithmParameters.getInstance("PSS"); in testGetInstance()
74 AlgorithmParameters params = AlgorithmParameters.getInstance("PSS"); in testGetAlgorithm()
79 AlgorithmParameters params = AlgorithmParameters.getInstance("PSS"); in testGetProvider()
85 AlgorithmParameters params = AlgorithmParameters.getInstance("PSS"); in testInitFailsWhenAlreadyInitialized()
102 AlgorithmParameters params = AlgorithmParameters.getInstance("PSS"); in testInitWithPSSParameterSpec()
115 AlgorithmParameters params = AlgorithmParameters.getInstance("PSS"); in assertInitWithDerEncoded()
119 params = AlgorithmParameters.getInstance("PSS"); in assertInitWithDerEncoded()
125 AlgorithmParameters params = AlgorithmParameters.getInstance("PSS"); in testGetEncodedThrowsWhenNotInitialized()
143 AlgorithmParameters params = AlgorithmParameters.getInstance("PSS"); in assertGetEncoded()
[all …]
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DAlgorithmParametersTest.java27 import java.security.AlgorithmParameters;
77 AlgorithmParameters ap = new DummyAlgorithmParameters(null, p, null); in test_getAlgorithm()
98 AlgorithmParameters params = new DummyAlgorithmParameters(paramSpi, p, in test_getEncoded()
134 AlgorithmParameters params = new DummyAlgorithmParameters(paramSpi, p, in test_getEncodedLjava_lang_String()
175 AlgorithmParameters ap = AlgorithmParameters.getInstance("ABC"); in test_getInstanceLjava_lang_String()
185 AlgorithmParameters ap = AlgorithmParameters.getInstance(str[i]); in test_getInstanceLjava_lang_String()
201 AlgorithmParameters ap = AlgorithmParameters.getInstance("ABC", "MyProvider"); in test_getInstanceLjava_lang_StringLjava_lang_String()
211 AlgorithmParameters ap = AlgorithmParameters.getInstance(alg[i], "MyProvider"); in test_getInstanceLjava_lang_StringLjava_lang_String()
222 AlgorithmParameters ap = AlgorithmParameters.getInstance("ABC", prv[i]); in test_getInstanceLjava_lang_StringLjava_lang_String()
233 AlgorithmParameters ap = AlgorithmParameters.getInstance("ABC", prv1[i]); in test_getInstanceLjava_lang_StringLjava_lang_String()
[all …]
/libcore/support/src/test/java/tests/security/
DAlgorithmParametersTest.java18 import java.security.AlgorithmParameters;
27 private final TestHelper<AlgorithmParameters> helper;
31 TestHelper<AlgorithmParameters> helper, AlgorithmParameterSpec parameterData) { in AlgorithmParametersTest()
38 AlgorithmParameters algorithmParameters = AlgorithmParameters.getInstance(algorithmName); in testAlgorithmParameters()
DAlgorithmParameterGeneratorTest.java19 import java.security.AlgorithmParameters;
26 private final TestHelper<AlgorithmParameters> helper;
28 …protected AlgorithmParameterGeneratorTest(String algorithmName, TestHelper<AlgorithmParameters> he… in AlgorithmParameterGeneratorTest()
37 AlgorithmParameters parameters = generator.generateParameters(); in testAlgorithmParameterGenerator()
DAlgorithmParameterKeyAgreementHelper.java19 import java.security.AlgorithmParameters;
27 public class AlgorithmParameterKeyAgreementHelper extends TestHelper<AlgorithmParameters> {
36 public void test(AlgorithmParameters parameters) throws Exception { in test()
DAlgorithmParameterAsymmetricHelper.java19 import java.security.AlgorithmParameters;
32 public class AlgorithmParameterAsymmetricHelper extends TestHelper<AlgorithmParameters> {
42 public void test(AlgorithmParameters parameters) throws Exception { in test()
DAlgorithmParameterSignatureHelper.java19 import java.security.AlgorithmParameters;
32 extends TestHelper<AlgorithmParameters> {
44 public void test(AlgorithmParameters parameters) throws Exception { in test()
DAlgorithmParameterSymmetricHelper.java19 import java.security.AlgorithmParameters;
32 public class AlgorithmParameterSymmetricHelper extends TestHelper<AlgorithmParameters> {
50 public void test(AlgorithmParameters parameters) throws Exception { in test()
/libcore/ojluni/src/main/java/java/security/
DAlgorithmParameters.java120 public class AlgorithmParameters { class
141 protected AlgorithmParameters(AlgorithmParametersSpi paramSpi, in AlgorithmParameters() method in AlgorithmParameters
188 public static AlgorithmParameters getInstance(String algorithm) in getInstance()
193 return new AlgorithmParameters((AlgorithmParametersSpi)objs[0], in getInstance()
238 public static AlgorithmParameters getInstance(String algorithm, in getInstance()
246 return new AlgorithmParameters((AlgorithmParametersSpi)objs[0], in getInstance()
283 public static AlgorithmParameters getInstance(String algorithm, in getInstance()
291 return new AlgorithmParameters((AlgorithmParametersSpi)objs[0], in getInstance()
DAlgorithmConstraints.java70 String algorithm, AlgorithmParameters parameters); in permits()
106 String algorithm, Key key, AlgorithmParameters parameters); in permits()
DAlgorithmParameterGeneratorSpi.java85 protected abstract AlgorithmParameters engineGenerateParameters(); in engineGenerateParameters()
/libcore/luni/src/test/java/libcore/javax/crypto/
DMockCipherSpi.java19 import java.security.AlgorithmParameters;
81 public void checkAlgorithmParameters(AlgorithmParameters ap) in checkAlgorithmParameters()
91 public void checkAlgorithmParameters(AlgorithmParameters ap) in checkAlgorithmParameters()
116 protected void engineInit(int opmode, Key key, AlgorithmParameters params, in engineInit()
136 protected void engineInit(int opmode, Key key, AlgorithmParameters params, in engineInit()
156 protected void engineInit(int opmode, Key key, AlgorithmParameters params, in engineInit()
180 protected void engineInit(int opmode, Key key, AlgorithmParameters params, in engineInit()
195 public void checkAlgorithmParameters(AlgorithmParameters ap) in checkAlgorithmParameters()
230 protected AlgorithmParameters engineGetParameters() { in engineGetParameters()
247 protected void engineInit(int opmode, Key key, AlgorithmParameters params, SecureRandom random) in engineInit()
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
DMyAlgorithmParameterGeneratorSpi.java26 import java.security.AlgorithmParameters;
52 public AlgorithmParameters engineGenerateParameters() { in engineGenerateParameters()
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
DExemptionMechanismSpiTest.java26 import java.security.AlgorithmParameters;
78 …protected void engineInit(Key key, AlgorithmParameters params) throws InvalidKeyException, Invalid… in engineInit()
99 AlgorithmParameters params = null; in testExemptionMechanismSpi01()
134 emSpi.engineInit(key, AlgorithmParameters.getInstance("DH")); in testExemptionMechanismSpi01()
DEncryptedPrivateKeyInfoTest.java26 import java.security.AlgorithmParameters;
532 class Mock_AlgorithmParameters extends AlgorithmParameters {
552 AlgorithmParameters ap = null; in testEncryptedPrivateKeyInfoAlgorithmParametersbyteArray1()
557 ap = AlgorithmParameters in testEncryptedPrivateKeyInfoAlgorithmParametersbyteArray1()
601 new EncryptedPrivateKeyInfo((AlgorithmParameters) null, in testEncryptedPrivateKeyInfoAlgorithmParametersbyteArray2()
609 AlgorithmParameters ap = AlgorithmParameters.getInstance("DSA"); in testEncryptedPrivateKeyInfoAlgorithmParametersbyteArray2()
634 AlgorithmParameters ap = AlgorithmParameters.getInstance("DSA"); in testEncryptedPrivateKeyInfoAlgorithmParametersbyteArray3()
659 AlgorithmParameters ap = AlgorithmParameters.getInstance("DSA"); in testEncryptedPrivateKeyInfoAlgorithmParametersbyteArray4()
695 AlgorithmParameters apar = epki.getAlgParameters(); in testGetAlgParameters01()
801 AlgorithmParameters ap = AlgorithmParameters in testGetAlgParameters04()
[all …]
/libcore/ojluni/src/main/java/javax/crypto/
DExemptionMechanismSpi.java29 import java.security.AlgorithmParameters;
130 protected abstract void engineInit(Key key, AlgorithmParameters params) in engineInit()
DNullCipherSpi.java65 protected AlgorithmParameters engineGetParameters() { in engineGetParameters()
76 AlgorithmParameters params, in engineInit()
DSealedObject.java29 import java.security.AlgorithmParameters;
372 AlgorithmParameters params = null; in unseal()
376 params = AlgorithmParameters.getInstance(this.paramsAlg, in unseal()
379 params = AlgorithmParameters.getInstance(this.paramsAlg); in unseal()
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/support/
DMyCipher.java24 import java.security.AlgorithmParameters;
78 protected AlgorithmParameters engineGetParameters() { in engineGetParameters()
94 protected void engineInit(int opmode, Key key, AlgorithmParameters params, in engineInit()
DMyExemptionMechanismSpi.java25 import java.security.AlgorithmParameters;
77 protected void engineInit(Key key, AlgorithmParameters params) in engineInit()
/libcore/luni/src/test/java/libcore/java/security/
DOldDHTest.java19 import java.security.AlgorithmParameters;
40 AlgorithmParameters algorithmparameters = algorithmparametergenerator.generateParameters(); in testDHGen()
/libcore/luni/src/test/java/tests/java/security/
DAlgorithmParameterGeneratorSpiTest.java25 import java.security.AlgorithmParameters;
48 AlgorithmParameters param = algParGen.engineGenerateParameters(); in testAlgorithmParameterGeneratorSpi01()
/libcore/ojluni/src/main/java/sun/security/ssl/
DSSLAlgorithmConstraints.java30 import java.security.AlgorithmParameters;
115 String algorithm, AlgorithmParameters parameters) { in permits()
166 String algorithm, Key key, AlgorithmParameters parameters) { in permits()
208 String algorithm, AlgorithmParameters parameters) { in permits()
245 String algorithm, Key key, AlgorithmParameters parameters) { in permits()
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/
DKeyAgreementThread.java20 import java.security.AlgorithmParameters;
71 AlgorithmParameters ap = apg.generateParameters(); in test()
/libcore/ojluni/src/main/java/sun/security/ec/
DECParameters.java276 static AlgorithmParameters getAlgorithmParameters(ECParameterSpec spec) in getAlgorithmParameters()
279 AlgorithmParameters params = AlgorithmParameters.getInstance in getAlgorithmParameters()

12