Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4964430

(spec) missing IllegalStateException exception requirement for javax.crypto.Cipher.doFinal

    XMLWordPrintable

Details

    • b19
    • sparc
    • solaris_2.6

    Description

      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.


      ======================================================================

      Attachments

        Issue Links

          Activity

            People

              bperez Ben Perez
              duke J. Duke
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: