[cp-patches] RFC: Updated patch for PR27849 and related issues
vivekl at redhat.com
Fri Jun 16 00:32:37 UTC 2006
I am attaching a patch that follows the behaviour outlined in the JDK
javadoc for javax.crypto.CipherSpi's engineInit methods. I have already
committed a test case
(gnu.testlet.gnu.javax.crypto.jce.TestOfCipherEngineInit) that models
Issues related to PR27849 have been addressed here. Comments are welcome.
2006-06-15 Vivek Lakshmanan <vivekl at redhat.com>
(engineInit(int, Key, AlgorithmParameterSpec, SecureRandom)): When
param is null, use random or default information when possible.
(engineInit(int, Key, SecureRandom)): Seperate common initialization
logic into engineInitHandler and reuse the code in
engineInit(int, Key, AlgorithmSpec, SecureRandom).
(engineInitHandler): New method.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3454 bytes
Desc: not available
Url : http://developer.classpath.org/pipermail/classpath-patches/attachments/20060615/fb777eed/classpath-gnu-javax-crypto-jce-CipherAdapter.bin
More information about the Classpath-patches