Home
last modified time | relevance | path

Searched refs:getParameterSpec (Results 1 – 12 of 12) sorted by relevance

/libcore/luni/src/test/java/libcore/javax/crypto/spec/
DAlgorithmParametersTestPBES2.java187 PBEParameterSpec encodedSpec = ap2.getParameterSpec(PBEParameterSpec.class); in test_encodeAndDecode()
191 assertTrue(encodedSpec.getParameterSpec() instanceof IvParameterSpec); in test_encodeAndDecode()
194 ((IvParameterSpec) TEST_PBE_PARAMETER_SPEC.getParameterSpec()).getIV()), in test_encodeAndDecode()
195 Arrays.toString(((IvParameterSpec) encodedSpec.getParameterSpec()).getIV())); in test_encodeAndDecode()
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/spec/
DPBEParameterSpecTest.java107 pbeps.getParameterSpec()); in testGetAlgorithmParameterSpec()
114 aps, pbeps.getParameterSpec()); in testGetAlgorithmParameterSpec()
/libcore/ojluni/src/main/java/javax/crypto/spec/
DPBEParameterSpec.java106 public AlgorithmParameterSpec getParameterSpec() { in getParameterSpec() method in PBEParameterSpec
/libcore/luni/src/test/java/libcore/java/security/spec/
DAlgorithmParametersPSSTest.java104 assertPSSParameterSpecEquals(WEIRD_SPEC, params.getParameterSpec(PSSParameterSpec.class)); in testInitWithPSSParameterSpec()
117 assertPSSParameterSpecEquals(expected, params.getParameterSpec(PSSParameterSpec.class)); in assertInitWithDerEncoded()
121 assertPSSParameterSpecEquals(expected, params.getParameterSpec(PSSParameterSpec.class)); in assertInitWithDerEncoded()
/libcore/luni/src/test/java/libcore/java/security/
DOldDHTest.java41 … DHParameterSpec dhparameterspec = algorithmparameters.getParameterSpec(DHParameterSpec.class); in testDHGen()
DSignatureTest.java3377 PSSParameterSpec actualSpec = actual.getParameterSpec(PSSParameterSpec.class); in assertPSSAlgorithmParametersEquals()
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DAlgorithmParametersTest.java264 params.getParameterSpec(null); in test_getParameterSpecLjava_lang_Class()
270 params.getParameterSpec(MyAlgorithmParameterSpec.class); in test_getParameterSpecLjava_lang_Class()
281 .getParameterSpec(MyAlgorithmParameterSpec.class)); in test_getParameterSpecLjava_lang_Class()
298 assertNull(params.getParameterSpec(null)); in test_getParameterSpecLjava_lang_Class()
609 DSAParameterSpec spec = params.getParameterSpec(DSAParameterSpec.class); in testDSAProvider()
/libcore/support/src/test/java/tests/security/
DAlgorithmParameterSignatureHelper.java46 T parameterSpec = parameters.getParameterSpec(parameterSpecClass); in test()
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/
DKeyAgreementThread.java72 DHParameterSpec ps = ap.getParameterSpec(DHParameterSpec.class); in test()
/libcore/ojluni/src/main/java/java/security/
DAlgorithmParameters.java427 T getParameterSpec(Class<T> paramSpec) in getParameterSpec() method in AlgorithmParameters
/libcore/ojluni/src/main/java/javax/crypto/
DCipher.java2136 return params.getParameterSpec(RC2ParameterSpec.class); in getAlgorithmParameterSpec()
2140 return params.getParameterSpec(RC5ParameterSpec.class); in getAlgorithmParameterSpec()
2144 return params.getParameterSpec(PBEParameterSpec.class); in getAlgorithmParameterSpec()
2148 return params.getParameterSpec(IvParameterSpec.class); in getAlgorithmParameterSpec()
/libcore/luni/src/test/java/libcore/javax/crypto/
DCipherTest.java1440 assertNotNull(c.getParameters().getParameterSpec(PBEParameterSpec.class)); in test_Cipher()
1605 .getParameterSpec(GCMParameterSpec.class); in assertCorrectAlgorithmParameters()
1612 .getParameterSpec(IvParameterSpec.class); in assertCorrectAlgorithmParameters()
1623 params.getParameterSpec(OAEPParameterSpec.class)); in assertCorrectAlgorithmParameters()