Home
last modified time | relevance | path

Searched refs:InvalidParameterException (Results 1 – 25 of 35) sorted by relevance

12

/libcore/support/src/test/java/org/apache/harmony/security/tests/support/interfaces/
DDSAKeyPairGeneratorImpl.java24 import java.security.InvalidParameterException;
47 throws InvalidParameterException { in initialize()
49 throw new InvalidParameterException("Incorrect random"); in initialize()
52 throw new InvalidParameterException("Incorrect params"); in initialize()
60 throws InvalidParameterException { in initialize()
69 throw new InvalidParameterException("Incorrect modlen"); in initialize()
74 throw new InvalidParameterException("Incorrect modlen"); in initialize()
77 throw new InvalidParameterException("Incorrect random"); in initialize()
80 throw new InvalidParameterException("there are not precomputed parameters"); in initialize()
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DInvalidParameterExceptionTest.java25 import java.security.InvalidParameterException;
48 InvalidParameterException tE = new InvalidParameterException(); in testInvalidParameterException01()
59 InvalidParameterException tE; in testInvalidParameterException02()
61 tE = new InvalidParameterException(msgs[i]); in testInvalidParameterException02()
75 InvalidParameterException tE = new InvalidParameterException(msg); in testInvalidParameterException03()
DKeyPairGenerator1Test.java27 import java.security.InvalidParameterException;
361 } catch (InvalidParameterException e) { in testKeyPairGenerator11()
401 } catch (InvalidParameterException e) { in testKeyPairGenerator12()
407 } catch (InvalidParameterException e) { in testKeyPairGenerator12()
413 } catch (InvalidParameterException e) { in testKeyPairGenerator12()
432 } catch (InvalidParameterException e) { in testKeyPairGenerator12()
474 } catch (InvalidParameterException e) { in testKeyPairGenerator13()
480 } catch (InvalidParameterException e) { in testKeyPairGenerator13()
485 } catch (InvalidParameterException e) { in testKeyPairGenerator13()
490 } catch (InvalidParameterException e) { in testKeyPairGenerator13()
DSignatureTest.java27 import java.security.InvalidParameterException;
482 } catch (InvalidParameterException e) { in testSetParameterStringObject()
518 } catch (InvalidParameterException e) { in testGetParameter()
590 throws InvalidParameterException { in engineGetParameter()
591 throw new InvalidParameterException(); in engineGetParameter()
608 throws InvalidParameterException { in engineSetParameter()
609 throw new InvalidParameterException(); in engineSetParameter()
650 throws InvalidParameterException { in engineGetParameter()
651 throw new InvalidParameterException(); in engineGetParameter()
668 throws InvalidParameterException { in engineSetParameter()
[all …]
DKeyPairGeneratorSpiTest.java26 import java.security.InvalidParameterException;
48 InvalidParameterException { in testKeyPairGeneratorSpi01()
DSecurity2Test.java20 import java.security.InvalidParameterException;
82 } catch (InvalidParameterException e) { in test_getProvidersLjava_lang_String()
91 } catch (InvalidParameterException e) { in test_getProvidersLjava_lang_String()
245 } catch (InvalidParameterException e) { in test_getProvidersLjava_util_Map()
255 } catch (InvalidParameterException e) { in test_getProvidersLjava_util_Map()
DSignatureSpiTest.java9 import java.security.InvalidParameterException;
96 throws InvalidParameterException { in testEngineGetParameters()
114 throws InvalidParameterException { in testEngineGetParameters()
224 throws InvalidParameterException { in engineGetParameter()
244 throws InvalidParameterException { in engineSetParameter()
DKeyPairGenerator2Test.java26 import java.security.InvalidParameterException;
102 } catch (InvalidParameterException e) { in checkResult()
109 } catch (InvalidParameterException e) { in checkResult()
126 } catch (InvalidParameterException e) { in checkResult()
158 } catch (InvalidParameterException e) { in checkResult()
163 } catch (InvalidParameterException e) { in checkResult()
DSignerTest.java26 import java.security.InvalidParameterException;
161 } catch (InvalidParameterException e) { in test_setKeyPairLjava_security_KeyPair()
/libcore/ojluni/src/main/java/java/security/
DInvalidParameterException.java36 public class InvalidParameterException extends IllegalArgumentException { class
45 public InvalidParameterException() { in InvalidParameterException() method in InvalidParameterException
56 public InvalidParameterException(String msg) { in InvalidParameterException() method in InvalidParameterException
DSigner.java133 throws InvalidParameterException, KeyException { in setKeyPair()
139 throw new InvalidParameterException(); in setKeyPair()
DSignatureSpi.java308 throws InvalidParameterException; in engineSetParameter()
375 throws InvalidParameterException; in engineGetParameter()
DSignature.java1011 throws InvalidParameterException { in setParameter()
1075 throws InvalidParameterException { in getParameter()
1440 throws InvalidParameterException { in engineSetParameter()
1452 throws InvalidParameterException { in engineGetParameter()
1553 throws InvalidParameterException { in engineSetParameter()
1554 throw new InvalidParameterException("Parameters not supported"); in engineSetParameter()
1558 throws InvalidParameterException { in engineGetParameter()
1559 throw new InvalidParameterException("Parameters not supported"); in engineGetParameter()
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
DMyKeyPairGenerator1.java26 import java.security.InvalidParameterException;
64 throw new InvalidParameterException("Incorrect keysize parameter"); in initialize()
67 throw new InvalidParameterException("Incorrect random"); in initialize()
85 throw new InvalidParameterException("Incorrect random"); in initialize()
DMyKeyPairGenerator2.java25 import java.security.InvalidParameterException;
58 throw new InvalidParameterException("Incorrect keysize parameter"); in initialize()
DMyKeyPairGeneratorSpi.java26 import java.security.InvalidParameterException;
41 throw new InvalidParameterException( in initialize()
/libcore/luni/src/test/java/tests/security/interfaces/
DDSAKeyPairGeneratorTest.java26 import java.security.InvalidParameterException;
66 } catch (InvalidParameterException ipe) { in test_DSAKeyPairGenerator01()
74 } catch (InvalidParameterException ipe) { in test_DSAKeyPairGenerator01()
100 } catch (InvalidParameterException ipe) { in test_DSAKeyPairGenerator02()
114 } catch (InvalidParameterException ipe) { in test_DSAKeyPairGenerator02()
/libcore/luni/src/test/java/libcore/java/security/cert/
DFakeOidProvider.java4 import java.security.InvalidParameterException;
61 throws InvalidParameterException { in engineSetParameter()
65 protected Object engineGetParameter(String param) throws InvalidParameterException { in engineGetParameter()
/libcore/ojluni/src/main/java/java/security/interfaces/
DDSAKeyPairGenerator.java87 throws InvalidParameterException; in initialize()
116 throws InvalidParameterException; in initialize()
/libcore/ojluni/src/main/java/java/security/cert/
DPKIXBuilderParameters.java31 import java.security.InvalidParameterException;
166 throw new InvalidParameterException("the maximum path " in setMaxPathLength()
/libcore/luni/src/test/java/tests/targets/security/
DSignatureTestMD2withRSA.java19 import java.security.InvalidParameterException;
137 throws InvalidParameterException { in engineGetParameter()
153 throws InvalidParameterException { in engineSetParameter()
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
DMockMacSpi.java20 import java.security.InvalidParameterException;
59 InvalidParameterException { in engineInit()
DKeyGeneratorTest.java27 import java.security.InvalidParameterException;
147 } catch (InvalidParameterException e) { in testKeyGenerator()
364 } catch (InvalidParameterException ignore) { in testInitKey()
371 } catch (InvalidParameterException ignore) { in testInitKey()
487 } catch (InvalidParameterException e) { in test_initILjava_security_SecureRandom()
/libcore/ojluni/annotations/hiddenapi/java/security/
DSignature.java144 throws java.security.InvalidParameterException { in setParameter()
159 throws java.security.InvalidParameterException { in getParameter()
240 throws java.security.InvalidParameterException { in engineSetParameter()
245 throws java.security.InvalidParameterException { in engineGetParameter()
347 throws java.security.InvalidParameterException { in engineSetParameter()
357 throws java.security.InvalidParameterException { in engineGetParameter()
/libcore/ojluni/annotations/mmodule/java/security/
DSignature.annotated.java78 …lang.String param, java.lang.Object value) throws java.security.InvalidParameterException { throw … in setParameter()
85 …bject getParameter(java.lang.String param) throws java.security.InvalidParameterException { throw … in getParameter()

12