/libcore/luni/src/test/java/libcore/java/security/spec/ |
D | AlgorithmParametersPSSTest.java | 20 import java.security.AlgorithmParameters; 62 AlgorithmParameters params = AlgorithmParameters.getInstance("PSS"); in testGetInstance() 67 AlgorithmParameters params = AlgorithmParameters.getInstance("PSS"); in testGetAlgorithm() 72 AlgorithmParameters params = AlgorithmParameters.getInstance("PSS"); in testGetProvider() 78 AlgorithmParameters params = AlgorithmParameters.getInstance("PSS"); in testInitFailsWhenAlreadyInitialized() 95 AlgorithmParameters params = AlgorithmParameters.getInstance("PSS"); in testInitWithPSSParameterSpec() 107 AlgorithmParameters params = AlgorithmParameters.getInstance("PSS"); in assertInitWithDerEncoded() 111 params = AlgorithmParameters.getInstance("PSS"); in assertInitWithDerEncoded() 117 AlgorithmParameters params = AlgorithmParameters.getInstance("PSS"); in testGetEncodedThrowsWhenNotInitialized() 134 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 FakeAlgorithmParameters(null, p, null); in test_getAlgorithm() 98 AlgorithmParameters params = new FakeAlgorithmParameters(paramSpi, p, in test_getEncoded() 134 AlgorithmParameters params = new FakeAlgorithmParameters(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/luni/src/test/java/libcore/javax/crypto/spec/ |
D | AlgorithmParametersTestPBES2.java | 18 import java.security.AlgorithmParameters; 169 AlgorithmParameters ap = AlgorithmParameters.getInstance( in testGetEncoded_knownAnswers() 181 AlgorithmParameters ap = AlgorithmParameters.getInstance( in test_encodeAndDecode() 184 AlgorithmParameters ap2 = AlgorithmParameters.getInstance( in test_encodeAndDecode() 206 AlgorithmParameters ap = AlgorithmParameters.getInstance(algorithmName, "BC"); in test_encryptWithAlgorithmParameters() 231 AlgorithmParameters ap = AlgorithmParameters.getInstance(algorithmName, "BC"); in test_correctNames()
|
/libcore/ojluni/src/main/java/java/security/ |
D | AlgorithmParameters.java | 170 public class AlgorithmParameters { class 191 protected AlgorithmParameters(AlgorithmParametersSpi paramSpi, in AlgorithmParameters() method in AlgorithmParameters 238 public static AlgorithmParameters getInstance(String algorithm) in getInstance() 243 return new AlgorithmParameters((AlgorithmParametersSpi)objs[0], in getInstance() 288 public static AlgorithmParameters getInstance(String algorithm, in getInstance() 298 return new AlgorithmParameters((AlgorithmParametersSpi)objs[0], in getInstance() 335 public static AlgorithmParameters getInstance(String algorithm, in getInstance() 345 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()
|
D | CipherTest.java | 19 import java.security.AlgorithmParameters; 323 c.init(Cipher.ENCRYPT_MODE, new MockKey(), AlgorithmParameters.getInstance("AES")); in testCipher_init_CallsInitWithParams_AlgorithmParameters() 350 c.init(Cipher.ENCRYPT_MODE, new MockKey(), AlgorithmParameters.getInstance("AES")); in testCipher_init_CallsInitIgnoresRuntimeException() 377 c.init(Cipher.DECRYPT_MODE, new MockKey(), AlgorithmParameters.getInstance("AES")); in testCipher_init_CallsInitWithMode() 383 c.init(Cipher.ENCRYPT_MODE, new MockKey(), AlgorithmParameters.getInstance("AES")); in testCipher_init_CallsInitWithMode() 558 AlgorithmParameters.getInstance("AES")); in test_init_onAlgorithmParametersChange_reInitCipher() 563 AlgorithmParameters.getInstance("DES")); in test_init_onAlgorithmParametersChange_reInitCipher()
|
/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 …]
|
D | ExemptionMechanismTest.java | 21 import java.security.AlgorithmParameters; 467 em.init(key, AlgorithmParameters.getInstance("DES")); in test_initLjava_security_KeyLjava_security_AlgorithmParameters() 470 em.init(key, (AlgorithmParameters)null); in test_initLjava_security_KeyLjava_security_AlgorithmParameters() 481 em.init(null, AlgorithmParameters.getInstance("DES")); in test_initLjava_security_KeyLjava_security_AlgorithmParameters() 488 em.init(key, AlgorithmParameters.getInstance("DES")); in test_initLjava_security_KeyLjava_security_AlgorithmParameters()
|
D | CipherSpiTest.java | 32 import java.security.AlgorithmParameters; 80 protected AlgorithmParameters engineGetParameters() { in engineGetParameters() 97 protected void engineInit(int opmode, Key key, AlgorithmParameters params, in engineInit() 505 protected AlgorithmParameters engineGetParameters() { in engineGetParameters() 518 protected void engineInit(int opmode, Key key, AlgorithmParameters params, 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/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/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; 368 AlgorithmParameters params = null; in unseal() 372 params = AlgorithmParameters.getInstance(this.paramsAlg, in unseal() 375 params = AlgorithmParameters.getInstance(this.paramsAlg); in unseal()
|
D | CipherSpi.java | 30 import java.security.AlgorithmParameters; 304 protected abstract AlgorithmParameters engineGetParameters(); in engineGetParameters() 466 AlgorithmParameters params, in engineInit()
|
D | ExemptionMechanism.java | 28 import java.security.AlgorithmParameters; 377 public final void init(Key key, AlgorithmParameters params) in init()
|
/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/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/ |
D | KeyAgreementThread.java | 19 import java.security.AlgorithmParameters; 71 AlgorithmParameters ap = apg.generateParameters(); in test()
|
/libcore/ojluni/src/main/java/sun/security/util/ |
D | DisabledAlgorithmConstraints.java | 29 import java.security.AlgorithmParameters; 97 String algorithm, AlgorithmParameters parameters) { in permits() 122 String algorithm, Key key, AlgorithmParameters parameters) { in permits() 165 String algorithm, Key key, AlgorithmParameters parameters) { in checkConstraints()
|
/libcore/ojluni/annotations/hiddenapi/sun/security/x509/ |
D | AlgorithmId.java | 47 sun.security.util.ObjectIdentifier oid, java.security.AlgorithmParameters algparams) { in AlgorithmId() 86 public java.security.AlgorithmParameters getParameters() { in getParameters() 139 public static sun.security.x509.AlgorithmId get(java.security.AlgorithmParameters algparams) in get() 312 private java.security.AlgorithmParameters algParams;
|