Home
last modified time | relevance | path

Searched refs:InvalidAlgorithmParameterException (Results 1 – 25 of 114) sorted by relevance

12345

/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DInvalidAlgorithmParameterExceptionTest.java25 import java.security.InvalidAlgorithmParameterException;
49 InvalidAlgorithmParameterException tE = new InvalidAlgorithmParameterException(); in testInvalidAlgorithmParameterException01()
60 InvalidAlgorithmParameterException tE; in testInvalidAlgorithmParameterException02()
62 tE = new InvalidAlgorithmParameterException(msgs[i]); in testInvalidAlgorithmParameterException02()
76 InvalidAlgorithmParameterException tE = new InvalidAlgorithmParameterException( in testInvalidAlgorithmParameterException03()
89 InvalidAlgorithmParameterException tE = new InvalidAlgorithmParameterException( in testInvalidAlgorithmParameterException04()
101 InvalidAlgorithmParameterException tE = new InvalidAlgorithmParameterException( in testInvalidAlgorithmParameterException05()
121 InvalidAlgorithmParameterException tE = new InvalidAlgorithmParameterException( in testInvalidAlgorithmParameterException06()
134 InvalidAlgorithmParameterException tE; in testInvalidAlgorithmParameterException07()
136 tE = new InvalidAlgorithmParameterException(msgs[i], null); in testInvalidAlgorithmParameterException07()
[all …]
DKeyPairGenerator2Test.java25 import java.security.InvalidAlgorithmParameterException;
89 throws InvalidAlgorithmParameterException { in checkResult()
96 } catch (InvalidAlgorithmParameterException e) { in checkResult()
185 InvalidAlgorithmParameterException { in GetInstance01()
224 InvalidAlgorithmParameterException { in GetInstance02()
283 IllegalArgumentException, InvalidAlgorithmParameterException { in GetInstance03()
320 InvalidAlgorithmParameterException { in testGetInstance01()
330 InvalidAlgorithmParameterException { in testGetInstance02()
339 IllegalArgumentException, InvalidAlgorithmParameterException { in testGetInstance03()
348 InvalidAlgorithmParameterException { in testGetInstance04()
[all …]
/libcore/luni/src/test/java/libcore/javax/crypto/
DMockCipherSpi.java20 import java.security.InvalidAlgorithmParameterException;
60 throws InvalidAlgorithmParameterException { in checkAlgorithmParameterSpec()
62 throw new InvalidAlgorithmParameterException("Must be " in checkAlgorithmParameterSpec()
71 throws InvalidAlgorithmParameterException { in checkAlgorithmParameterSpec()
73 throw new InvalidAlgorithmParameterException("Must be " in checkAlgorithmParameterSpec()
82 throws InvalidAlgorithmParameterException { in checkAlgorithmParameters()
84 throw new InvalidAlgorithmParameterException("Must be AES"); in checkAlgorithmParameters()
92 throws InvalidAlgorithmParameterException { in checkAlgorithmParameters()
94 throw new InvalidAlgorithmParameterException("Must be DES"); in checkAlgorithmParameters()
111 … SecureRandom random) throws InvalidKeyException, InvalidAlgorithmParameterException { in engineInit()
[all …]
/libcore/ojluni/src/main/java/java/security/
DInvalidAlgorithmParameterException.java40 public class InvalidAlgorithmParameterException class
52 public InvalidAlgorithmParameterException() { in InvalidAlgorithmParameterException() method in InvalidAlgorithmParameterException
64 public InvalidAlgorithmParameterException(String msg) { in InvalidAlgorithmParameterException() method in InvalidAlgorithmParameterException
79 public InvalidAlgorithmParameterException(String message, Throwable cause) { in InvalidAlgorithmParameterException() method in InvalidAlgorithmParameterException
95 public InvalidAlgorithmParameterException(Throwable cause) { in InvalidAlgorithmParameterException() method in InvalidAlgorithmParameterException
/libcore/luni/src/test/java/tests/security/cert/
DCertStore2Test.java5 import java.security.InvalidAlgorithmParameterException;
50 } catch (InvalidAlgorithmParameterException e) { in testGetInstanceStringCertStoreParameters()
58 } catch (InvalidAlgorithmParameterException e) { in testGetInstanceStringCertStoreParameters()
67 } catch (InvalidAlgorithmParameterException e) { in testGetInstanceStringCertStoreParameters()
77 } catch (InvalidAlgorithmParameterException e) { in testGetInstanceStringCertStoreParameters()
94 } catch (InvalidAlgorithmParameterException e) { in testGetInstanceStringCertStoreParametersString()
109 } catch (InvalidAlgorithmParameterException e) { in testGetInstanceStringCertStoreParametersString()
121 } catch (InvalidAlgorithmParameterException e) { in testGetInstanceStringCertStoreParametersString()
133 } catch (InvalidAlgorithmParameterException e) { in testGetInstanceStringCertStoreParametersString()
144 } catch (InvalidAlgorithmParameterException e) { in testGetInstanceStringCertStoreParametersString()
[all …]
DCertPathValidator2Test.java31 import java.security.InvalidAlgorithmParameterException;
81 InvalidAlgorithmParameterException { in checkResult()
98 } catch (InvalidAlgorithmParameterException e) { in checkResult()
109 InvalidAlgorithmParameterException, CertPathValidatorException { in testGetInstance01()
142 IllegalArgumentException, InvalidAlgorithmParameterException, in testGetInstance02()
200 InvalidAlgorithmParameterException, CertPathValidatorException { in testGetInstance03()
233 public void testValidate() throws InvalidAlgorithmParameterException, NoSuchAlgorithmException { in testValidate()
239 } catch (InvalidAlgorithmParameterException e) { in testValidate()
247 } catch (InvalidAlgorithmParameterException e) { in testValidate()
255 } catch (InvalidAlgorithmParameterException e) { in testValidate()
DCertStore1Test.java31 import java.security.InvalidAlgorithmParameterException;
154 public void testCertStore02() throws InvalidAlgorithmParameterException, CertStoreException { in testCertStore02()
187 public void testCertStore03() throws InvalidAlgorithmParameterException { in testCertStore03()
211 throws InvalidAlgorithmParameterException, NoSuchAlgorithmException { in testCertStore05()
229 throws InvalidAlgorithmParameterException, NoSuchAlgorithmException, in testCertStore06()
254 throws InvalidAlgorithmParameterException, NoSuchAlgorithmException { in testCertStore07()
275 public void testCertStore08() throws InvalidAlgorithmParameterException, in testCertStore08()
301 … throws InvalidAlgorithmParameterException, NoSuchAlgorithmException, NoSuchProviderException { in testCertStore10()
318 public void testCertStore11() throws InvalidAlgorithmParameterException, in testCertStore11()
338 public void testCertStore12() throws InvalidAlgorithmParameterException { in testCertStore12()
[all …]
DCertStoreSpiTest.java30 import java.security.InvalidAlgorithmParameterException;
52 public void testCertStoreSpi01() throws InvalidAlgorithmParameterException, in testCertStoreSpi01()
61 } catch (InvalidAlgorithmParameterException e) { in testCertStoreSpi01()
/libcore/ojluni/src/main/java/sun/security/provider/certpath/
DPKIX.java27 import java.security.InvalidAlgorithmParameterException;
52 throws InvalidAlgorithmParameterException in checkParams()
55 throw new InvalidAlgorithmParameterException("inappropriate " in checkParams()
62 throws InvalidAlgorithmParameterException in checkBuilderParams()
65 throw new InvalidAlgorithmParameterException("inappropriate " in checkBuilderParams()
90 throws InvalidAlgorithmParameterException in ValidatorParams()
94 throw new InvalidAlgorithmParameterException("inappropriate " in ValidatorParams()
101 throws InvalidAlgorithmParameterException in ValidatorParams()
108 throw new InvalidAlgorithmParameterException in ValidatorParams()
200 throws InvalidAlgorithmParameterException in BuilderParams()
[all …]
/libcore/support/src/test/java/org/apache/harmony/xnet/tests/support/
DMyKeyManagerFactorySpi.java20 import java.security.InvalidAlgorithmParameterException;
50 throws InvalidAlgorithmParameterException { in engineInit()
52 throw new InvalidAlgorithmParameterException("Incorrect parameter"); in engineInit()
59 throw new InvalidAlgorithmParameterException(e.toString()); in engineInit()
62 throw new InvalidAlgorithmParameterException("Invalid parameter"); in engineInit()
DMyTrustManagerFactorySpi.java20 import java.security.InvalidAlgorithmParameterException;
42 throws InvalidAlgorithmParameterException { in engineInit()
44 throw new InvalidAlgorithmParameterException("Null parameter"); in engineInit()
53 throw new InvalidAlgorithmParameterException("Invalid parameter"); in engineInit()
DKeyManagerFactorySpiImpl.java20 import java.security.InvalidAlgorithmParameterException;
53 throws InvalidAlgorithmParameterException { in engineInit()
55 throw new InvalidAlgorithmParameterException("Incorrect parameter"); in engineInit()
/libcore/ojluni/src/main/java/java/security/cert/
DCertStore.java29 import java.security.InvalidAlgorithmParameterException;
236 throws InvalidAlgorithmParameterException, in getInstance()
251 InvalidAlgorithmParameterException { in handleException()
253 if (cause instanceof InvalidAlgorithmParameterException) { in handleException()
254 throw (InvalidAlgorithmParameterException)cause; in handleException()
310 throws InvalidAlgorithmParameterException, in getInstance()
368 InvalidAlgorithmParameterException { in getInstance()
DPKIXBuilderParameters.java30 import java.security.InvalidAlgorithmParameterException;
102 targetConstraints) throws InvalidAlgorithmParameterException in PKIXBuilderParameters()
128 throws KeyStoreException, InvalidAlgorithmParameterException in PKIXBuilderParameters()
DCertPathBuilderSpi.java28 import java.security.InvalidAlgorithmParameterException;
74 throws CertPathBuilderException, InvalidAlgorithmParameterException; in engineBuild()
DCertPathValidatorSpi.java28 import java.security.InvalidAlgorithmParameterException;
84 throws CertPathValidatorException, InvalidAlgorithmParameterException; in engineValidate()
DCertStoreSpi.java28 import java.security.InvalidAlgorithmParameterException;
68 throws InvalidAlgorithmParameterException { } in CertStoreSpi()
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/support/
DMyExemptionMechanismSpi.java26 import java.security.InvalidAlgorithmParameterException;
78 throws InvalidKeyException, InvalidAlgorithmParameterException, in engineInit()
87 throw new InvalidAlgorithmParameterException("params is null"); in engineInit()
93 throws InvalidKeyException, InvalidAlgorithmParameterException, in engineInit()
102 throw new InvalidAlgorithmParameterException("params is null"); in engineInit()
DMyKeyGeneratorSpi.java25 import java.security.InvalidAlgorithmParameterException;
47 throws InvalidAlgorithmParameterException { in engineInit()
49 throw new InvalidAlgorithmParameterException("params is null"); in engineInit()
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
DKeyGeneratorSpiTest.java25 import java.security.InvalidAlgorithmParameterException;
54 throws InvalidAlgorithmParameterException { in engineInit()
69 public void testKeyGeneratorSpi01() throws InvalidAlgorithmParameterException { in testKeyGeneratorSpi01()
86 } catch (InvalidAlgorithmParameterException e) { in testKeyGeneratorSpi01()
DMacSpiTest.java26 import java.security.InvalidAlgorithmParameterException;
57 …ey, AlgorithmParameterSpec params) throws InvalidKeyException, InvalidAlgorithmParameterException { in engineInit()
91 …ey, AlgorithmParameterSpec params) throws InvalidKeyException, InvalidAlgorithmParameterException { in engineInit()
130 …ey, AlgorithmParameterSpec params) throws InvalidKeyException, InvalidAlgorithmParameterException { in engineInit()
239 throws InvalidKeyException, InvalidAlgorithmParameterException { in engineInit()
/libcore/ojluni/src/main/java/javax/crypto/
DExemptionMechanismSpi.java31 import java.security.InvalidAlgorithmParameterException;
106 throws InvalidKeyException, InvalidAlgorithmParameterException, in engineInit()
131 throws InvalidKeyException, InvalidAlgorithmParameterException, in engineInit()
DKeyAgreement.java378 throws InvalidKeyException, InvalidAlgorithmParameterException { in implInit()
388 throws InvalidKeyException, InvalidAlgorithmParameterException { in chooseProvider()
430 if (lastException instanceof InvalidAlgorithmParameterException) { in chooseProvider()
431 throw (InvalidAlgorithmParameterException)lastException; in chooseProvider()
506 } catch (InvalidAlgorithmParameterException e) { in init()
545 throws InvalidKeyException, InvalidAlgorithmParameterException in init()
572 throws InvalidKeyException, InvalidAlgorithmParameterException in init()
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/cert/
DMyCertPathValidatorSpi.java25 import java.security.InvalidAlgorithmParameterException;
42 InvalidAlgorithmParameterException { in engineValidate()
51 throw new InvalidAlgorithmParameterException("params null"); in engineValidate()
DMyCertStoreSpi.java25 import java.security.InvalidAlgorithmParameterException;
44 throws InvalidAlgorithmParameterException { in MyCertStoreSpi()
47 throw new InvalidAlgorithmParameterException("Invalid params"); in MyCertStoreSpi()

12345