Document DigestInputStream behavior when skip() or mark() / reset() is used

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 20
    • Affects Version/s: 7
    • Component/s: security-libs
    • b12
    • generic
    • generic
    • Verified

      The java.security.DigestInputStream class does not override skip(), mark(), or reset() so it inherits the implementations from java.io.FilterInputStream, which delegates to the wrapped stream. That means the digest is not updated in any of these events. This either needs to be fixed or documented as a known limitation.

            Assignee:
            Weijun Wang
            Reporter:
            Andreas Sterbenz
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: