/libcore/luni/src/test/java/libcore/java/security/spec/ |
D | AlgorithmParametersPSSTest.java | 20 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/ |
D | AlgorithmParametersTest.java | 27 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/ |
D | AlgorithmParametersTest.java | 18 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()
|
D | AlgorithmParameterGeneratorTest.java | 19 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()
|
D | AlgorithmParameterKeyAgreementHelper.java | 19 import java.security.AlgorithmParameters; 27 public class AlgorithmParameterKeyAgreementHelper extends TestHelper<AlgorithmParameters> { 36 public void test(AlgorithmParameters parameters) throws Exception { in test()
|
D | AlgorithmParameterAsymmetricHelper.java | 19 import java.security.AlgorithmParameters; 32 public class AlgorithmParameterAsymmetricHelper extends TestHelper<AlgorithmParameters> { 42 public void test(AlgorithmParameters parameters) throws Exception { in test()
|
D | AlgorithmParameterSignatureHelper.java | 19 import java.security.AlgorithmParameters; 32 extends TestHelper<AlgorithmParameters> { 44 public void test(AlgorithmParameters parameters) throws Exception { in test()
|
D | AlgorithmParameterSymmetricHelper.java | 19 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/ |
D | AlgorithmParameters.java | 120 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()
|
D | AlgorithmConstraints.java | 70 String algorithm, AlgorithmParameters parameters); in permits() 106 String algorithm, Key key, AlgorithmParameters parameters); in permits()
|
D | AlgorithmParameterGeneratorSpi.java | 85 protected abstract AlgorithmParameters engineGenerateParameters(); in engineGenerateParameters()
|
/libcore/luni/src/test/java/libcore/javax/crypto/ |
D | MockCipherSpi.java | 19 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/ |
D | MyAlgorithmParameterGeneratorSpi.java | 26 import java.security.AlgorithmParameters; 52 public AlgorithmParameters engineGenerateParameters() { in engineGenerateParameters()
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
D | ExemptionMechanismSpiTest.java | 26 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()
|
D | EncryptedPrivateKeyInfoTest.java | 26 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/ |
D | ExemptionMechanismSpi.java | 29 import java.security.AlgorithmParameters; 130 protected abstract void engineInit(Key key, AlgorithmParameters params) in engineInit()
|
D | NullCipherSpi.java | 65 protected AlgorithmParameters engineGetParameters() { in engineGetParameters() 76 AlgorithmParameters params, in engineInit()
|
D | SealedObject.java | 29 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/ |
D | MyCipher.java | 24 import java.security.AlgorithmParameters; 78 protected AlgorithmParameters engineGetParameters() { in engineGetParameters() 94 protected void engineInit(int opmode, Key key, AlgorithmParameters params, in engineInit()
|
D | MyExemptionMechanismSpi.java | 25 import java.security.AlgorithmParameters; 77 protected void engineInit(Key key, AlgorithmParameters params) in engineInit()
|
/libcore/luni/src/test/java/libcore/java/security/ |
D | OldDHTest.java | 19 import java.security.AlgorithmParameters; 40 AlgorithmParameters algorithmparameters = algorithmparametergenerator.generateParameters(); in testDHGen()
|
/libcore/luni/src/test/java/tests/java/security/ |
D | AlgorithmParameterGeneratorSpiTest.java | 25 import java.security.AlgorithmParameters; 48 AlgorithmParameters param = algParGen.engineGenerateParameters(); in testAlgorithmParameterGeneratorSpi01()
|
/libcore/ojluni/src/main/java/sun/security/ssl/ |
D | SSLAlgorithmConstraints.java | 30 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/ |
D | KeyAgreementThread.java | 20 import java.security.AlgorithmParameters; 71 AlgorithmParameters ap = apg.generateParameters(); in test()
|
/libcore/ojluni/src/main/java/sun/security/ec/ |
D | ECParameters.java | 276 static AlgorithmParameters getAlgorithmParameters(ECParameterSpec spec) in getAlgorithmParameters() 279 AlgorithmParameters params = AlgorithmParameters.getInstance in getAlgorithmParameters()
|