-
Bug
-
Resolution: Fixed
-
P4
-
5.0
-
b19
-
sparc
-
solaris_2.6
Name: iiR10263 Date: 12/05/2003
The following methods of javax.crypto.Cipher:
update(...), doFnal(...), wrap(...) and unwrap(...) throw
IllegalStateException "if this cipher is in a wrong state (e.g., has
not been initialized)". It is reasonable to require this exception to
be thrown when Cipher object is initialized for another operation. For
example doFinal() should throw IllegalStateException if the Cipher was
initialized for key wrapping.
======================================================================
The following methods of javax.crypto.Cipher:
update(...), doFnal(...), wrap(...) and unwrap(...) throw
IllegalStateException "if this cipher is in a wrong state (e.g., has
not been initialized)". It is reasonable to require this exception to
be thrown when Cipher object is initialized for another operation. For
example doFinal() should throw IllegalStateException if the Cipher was
initialized for key wrapping.
======================================================================