Unspecified NPE in Cipher init(int, Key) and init(int, Key,

XMLWordPrintable



      Name: ipR10067 Date: 06/02/2004




      The description of the Cipher.init(int opmode, java.security.Key key)
      and Cipher.init(int opmode, java.security.Key key, java.security.SecureRandom
      random)
      methods does not describe any exception, but java.security.InvalidKeyException.

      However the implementation throws NullPointerException
      when the parameter "key" is null.


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

            Assignee:
            Valerie Peng
            Reporter:
            Ip Ip (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: