/libcore/support/src/test/java/org/apache/harmony/security/tests/support/interfaces/ |
D | DSAKeyPairGeneratorImpl.java | 24 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/ |
D | InvalidParameterExceptionTest.java | 25 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()
|
D | KeyPairGenerator1Test.java | 27 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()
|
D | SignatureTest.java | 27 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 …]
|
D | Security2Test.java | 20 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()
|
D | KeyPairGeneratorSpiTest.java | 26 import java.security.InvalidParameterException; 48 InvalidParameterException { in testKeyPairGeneratorSpi01()
|
D | SignatureSpiTest.java | 9 import java.security.InvalidParameterException; 96 throws InvalidParameterException { in testEngineGetParameters() 114 throws InvalidParameterException { in testEngineGetParameters() 224 throws InvalidParameterException { in engineGetParameter() 244 throws InvalidParameterException { in engineSetParameter()
|
D | KeyPairGenerator2Test.java | 26 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()
|
/libcore/ojluni/src/main/java/java/security/ |
D | InvalidParameterException.java | 37 public class InvalidParameterException extends IllegalArgumentException { class 46 public InvalidParameterException() { in InvalidParameterException() method in InvalidParameterException 57 public InvalidParameterException(String msg) { in InvalidParameterException() method in InvalidParameterException
|
D | Signer.java | 135 throws InvalidParameterException, KeyException { in setKeyPair() 141 throw new InvalidParameterException(); in setKeyPair()
|
D | Signature.java | 1015 throws InvalidParameterException { in setParameter() 1079 throws InvalidParameterException { in getParameter() 1444 throws InvalidParameterException { in engineSetParameter() 1456 throws InvalidParameterException { in engineGetParameter() 1557 throws InvalidParameterException { in engineSetParameter() 1558 throw new InvalidParameterException("Parameters not supported"); in engineSetParameter() 1562 throws InvalidParameterException { in engineGetParameter() 1563 throw new InvalidParameterException("Parameters not supported"); in engineGetParameter()
|
/libcore/luni/src/test/java/tests/security/interfaces/ |
D | DSAKeyPairGeneratorTest.java | 26 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/support/src/test/java/org/apache/harmony/security/tests/support/ |
D | MyKeyPairGenerator1.java | 26 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()
|
D | MySignature1.java | 25 import java.security.InvalidParameterException; 104 throws InvalidParameterException { in engineSetParameter() 109 throws InvalidParameterException { in engineGetParameter()
|
D | MyKeyPairGenerator2.java | 25 import java.security.InvalidParameterException; 58 throw new InvalidParameterException("Incorrect keysize parameter"); in initialize()
|
D | MyKeyPairGeneratorSpi.java | 26 import java.security.InvalidParameterException; 41 throw new InvalidParameterException( in initialize()
|
/libcore/luni/src/test/java/libcore/java/security/cert/ |
D | FakeOidProvider.java | 4 import java.security.InvalidParameterException; 65 throws InvalidParameterException { in engineSetParameter() 69 protected Object engineGetParameter(String param) throws InvalidParameterException { in engineGetParameter()
|
/libcore/luni/src/test/java/libcore/java/security/ |
D | MockSignatureSpi.java | 20 import java.security.InvalidParameterException; 99 protected void engineSetParameter(String param, Object value) throws InvalidParameterException { in engineSetParameter() 107 protected Object engineGetParameter(String param) throws InvalidParameterException { in engineGetParameter()
|
/libcore/ojluni/src/main/java/java/security/interfaces/ |
D | DSAKeyPairGenerator.java | 92 throws InvalidParameterException; in initialize() 120 throws InvalidParameterException; in initialize()
|
/libcore/ojluni/src/main/java/java/security/spec/ |
D | EdDSAParameterSpec.java | 28 import java.security.InvalidParameterException; 80 throw new InvalidParameterException("context length cannot be " + in EdDSAParameterSpec()
|
/libcore/ojluni/src/main/java/java/security/cert/ |
D | PKIXBuilderParameters.java | 31 import java.security.InvalidParameterException; 166 throw new InvalidParameterException("the maximum path " in setMaxPathLength()
|
/libcore/luni/src/test/java/tests/targets/security/ |
D | SignatureTestMD2withRSA.java | 19 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/ |
D | MockMacSpi.java | 20 import java.security.InvalidParameterException; 59 InvalidParameterException { in engineInit()
|
/libcore/luni/src/test/java/libcore/java/security/spec/ |
D | EdDSAParameterSpecTest.java | 29 import java.security.InvalidParameterException; 59 assertThrows(InvalidParameterException.class, () -> new EdDSAParameterSpec(false, context)); in testEdDSAParameterSpec_contextTooLarge()
|
/libcore/ojluni/annotations/hiddenapi/java/security/ |
D | Signature.java | 144 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()
|