Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id AE993200BC4 for ; Fri, 14 Oct 2016 16:24:27 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id ADA71160AFC; Fri, 14 Oct 2016 14:24:27 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id E7139160AF7 for ; Fri, 14 Oct 2016 16:24:26 +0200 (CEST) Received: (qmail 56755 invoked by uid 500); 14 Oct 2016 14:24:23 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 55356 invoked by uid 99); 14 Oct 2016 14:24:23 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Oct 2016 14:24:23 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id E064B2C4C79 for ; Fri, 14 Oct 2016 14:24:22 +0000 (UTC) Date: Fri, 14 Oct 2016 14:24:22 +0000 (UTC) From: "Colm O hEigeartaigh (JIRA)" To: issues@cxf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Closed] (CXF-6278) Introduce MessageDigestInputStream utility class MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 14 Oct 2016 14:24:27 -0000 [ https://issues.apache.org/jira/browse/CXF-6278?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Colm O hEigeartaigh closed CXF-6278. ------------------------------------ > 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 > Assignee: 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)