- 
    Type:
Enhancement
 - 
    Resolution: Fixed
 - 
    Priority:
  P3                     
     - 
    Affects Version/s: None
 - 
    Component/s: security-libs
 - 
    None
 
- 
        b23
 
                    Existing javadoc of Cipher.getParameters()/CipherSpi.engineGetParameters() can use some update:
1) syntax-wise: seeJDK-8206171 changes in Signature.getParameters/SignatureSpi.engineGetParameters()
2) meaning of null: consider to allow null to be returned if providers cannot generate default parameters. Just as the changes ofJDK-8206171.
3) accommodate algorithm-specific/provider-specific implementation on how parameters is handled. For example, in PBE-based Cipher, one can only include salt and iteration count in the init params, and init() will add in a random IV, and then parameters is retrieved with getParameters().
1) syntax-wise: see
2) meaning of null: consider to allow null to be returned if providers cannot generate default parameters. Just as the changes of
3) accommodate algorithm-specific/provider-specific implementation on how parameters is handled. For example, in PBE-based Cipher, one can only include salt and iteration count in the init params, and init() will add in a random IV, and then parameters is retrieved with getParameters().
- csr for
 - 
                    
JDK-8284897 Clarify the javadoc of Cipher.getParameters()
-         
     - Closed
 
 -         
 
- relates to
 - 
                    
JDK-8206171 Signature#getParameters for RSASSA-PSS throws ProviderException when not initialized
-         
     - Resolved
 
 -