| Interface | Description | 
|---|---|
| AlgorithmParameterSpec | 
 A (transparent) specification of cryptographic parameters. 
 | 
| KeySpec | 
 A (transparent) specification of the key material that constitutes a cryptographic key. 
 | 
| Class | Description | 
|---|---|
| ECGenParameterSpec | 
 This immutable class specifies the set of parameters used for generating elliptic curve (EC) domain parameters. 
 | 
| EncodedKeySpec | 
 This class represents a public or private key in encoded format. 
 | 
| MGF1ParameterSpec | 
 This class specifies the set of parameters used with mask generation function MGF1 in OAEP Padding and RSASSA-PSS
 signature scheme, as defined in the PKCS#1 v2.2 standard. 
 | 
| PKCS8EncodedKeySpec | 
 This class represents the ASN.1 encoding of a private key, encoded according to the ASN.1 type
  
PrivateKeyInfo. | 
| RSAKeyGenParameterSpec | 
 This class specifies the set of parameters used to generate an RSA key pair. 
 | 
| X509EncodedKeySpec | 
 This class represents the ASN.1 encoding of a public key, encoded according to the ASN.1 type
  
SubjectPublicKeyInfo. | 
| Exception | Description | 
|---|---|
| InvalidKeySpecException | 
 This is the exception for invalid key specifications. 
 | 
| InvalidParameterSpecException | 
 This is the exception for invalid parameter specifications. 
 |