Uses of Class java.security.InvalidParameterException (Java Platform SE 8 )
Date: 2015-07-19

## Uses of Class
java.security.InvalidParameterException

- Packages that use InvalidParameterException
  Package | Description
  --- | ---
  java.security | Provides the classes and interfaces for the security framework.
  java.security.interfaces | Provides interfaces for generating RSA (Rivest, Shamir and Adleman AsymmetricCipher algorithm) keys as defined in the RSA Laboratory Technical Note PKCS#1, and DSA (Digital Signature Algorithm) keys as defined in NIST's FIPS-186.

- - ### Uses of InvalidParameterException in java.security

    Methods in java.security that throw InvalidParameterException
    Modifier and Type | Method and Description
    --- | ---
    `protected abstract Object` | SignatureSpi.`engineGetParameter(String param)` Deprecated.
    `protected abstract void` | SignatureSpi.`engineSetParameter(String param, Object value)` Deprecated. Replaced by `engineSetParameter`.
    `Object` | Signature.`getParameter(String param)` Deprecated.
    `void` | Signer.`setKeyPair(KeyPair pair)` Deprecated. Sets the key pair (public key and private key) for this signer.
    `void` | Signature.`setParameter(String param, Object value)` Deprecated. Use `setParameter`.

  - ### Uses of InvalidParameterException in java.security.interfaces

    Methods in java.security.interfaces that throw InvalidParameterException
    Modifier and Type | Method and Description
    --- | ---
    `void` | DSAKeyPairGenerator.`initialize(DSAParams params, SecureRandom random)` Initializes the key pair generator using the DSA family parameters (p,q and g) and an optional SecureRandom bit source.
    `void` | DSAKeyPairGenerator.`initialize(int modlen, boolean genParams, SecureRandom random)` Initializes the key pair generator for a given modulus length (instead of parameters), and an optional SecureRandom bit source.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2015, Oracle and/or its affiliates. All rights reserved.