| Package | Description | 
|---|---|
| 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. | 
| java.security.spec | Provides classes and interfaces for key specifications and algorithm
 parameter specifications. | 
| Modifier and Type | Method and Description | 
|---|---|
| DSAParams | DSAKey. getParams()Returns the DSA-specific key parameters. | 
| 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. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | DSAParameterSpecThis class specifies the set of parameters used with the DSA algorithm. | 
 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.