CipherSpi.engineGetKeySize() should specify that it returns key size in bits

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • jce1.2.2beta
    • Affects Version/s: 1.4.0
    • Component/s: security-libs
    • None
    • jce1.2.2beta
    • generic
    • solaris_7

        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.

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

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: