-
Bug
-
Resolution: Fixed
-
P3
-
1.4.0
-
None
-
jce1.2.2beta
-
generic
-
solaris_7
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2109783 | 1.4.0 | Valerie Peng | P3 | Resolved | Fixed | beta3 |
The javadoc of CipherSpi.engineGetKeySize() should specify that the retruned key size is in bits. Otherwise, people will wonder whether the key size is in bits or bytes.
In addition, in Cipher's javadoc, it should clarify what does it mean by "copy-safe". Also, if any exception is thrown in the doFinal(), then the cipher object is not reset and may be in an invalid state which require reset for it to be used again.
In addition, in Cipher's javadoc, it should clarify what does it mean by "copy-safe". Also, if any exception is thrown in the doFinal(), then the cipher object is not reset and may be in an invalid state which require reset for it to be used again.
- backported by
-
JDK-2109783 CipherSpi.engineGetKeySize() should specify that it returns key size in bits
- Resolved