Sergey Beryozkin created CXF-6278:
-------------------------------------

             Summary: Introduce MessageDigestInputStream utility class
                 Key: CXF-6278
                 URL: https://issues.apache.org/jira/browse/CXF-6278
             Project: CXF
          Issue Type: Task
          Components: Core
            Reporter: Sergey Beryozkin
            Priority: Minor
             Fix For: 3.1.0, 3.0.5


This filter stream would initialize a MessageDigest instance, will keep 
updating it while the input stream is read, and will prepare a hash on close().
Will be useful when the attachments are uploaded and copied from InputStreams, 
with these hashes used as ETags or primary keys.
Can also be useful in some of WebCrypro/JOSE scenarios



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to