Return-Path: X-Original-To: apmail-axis-java-dev-archive@www.apache.org Delivered-To: apmail-axis-java-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id ED51D109C8 for ; Tue, 13 Jan 2015 15:30:39 +0000 (UTC) Received: (qmail 79171 invoked by uid 500); 13 Jan 2015 15:30:38 -0000 Delivered-To: apmail-axis-java-dev-archive@axis.apache.org Received: (qmail 78991 invoked by uid 500); 13 Jan 2015 15:30:37 -0000 Mailing-List: contact java-dev-help@axis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@axis.apache.org Delivered-To: mailing list java-dev@axis.apache.org Received: (qmail 78941 invoked by uid 99); 13 Jan 2015 15:30:37 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Jan 2015 15:30:37 +0000 Date: Tue, 13 Jan 2015 15:30:37 +0000 (UTC) From: "Yacine ouadahi (JIRA)" To: java-dev@axis.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Issue Comment Deleted] (RAMPART-216) Wrong SignatureMethod and DigestMethod generated in request in case of algoritm suite having SHA256 hashing algorithm (example: Basic256Sha256) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/RAMPART-216?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yacine ouadahi updated RAMPART-216: ----------------------------------- Comment: was deleted (was: Hi, no matter what i put in the sp:AlgorithmSuite, the digest algorithm remains the same... (sha1) , could you post your working example ? ) > Wrong SignatureMethod and DigestMethod generated in request in case of algoritm suite having SHA256 hashing algorithm (example: Basic256Sha256) > ----------------------------------------------------------------------------------------------------------------------------------------------- > > Key: RAMPART-216 > URL: https://issues.apache.org/jira/browse/RAMPART-216 > Project: Rampart > Issue Type: Bug > Components: rampart-core, rampart-integration, rampart-policy > Affects Versions: 1.3 > Environment: Windows XP/Vista, Java 1.4.2, Axis 2 1.3, Rampart 1.3 > Reporter: Heinz Zerbes > > My Rampart policy has a algoritm suit = Base256Sha256. In rest it is very simple (I will attach it to this issue). > I expected to get from this suite a SignedInfo element in request like this: > > > > > > > > > ..... > > But instead I get the following (always 'sha1'): > > > > > > > > > .... > > It makes no difference what algorithms suit I take. I always get 'sha1'. > In class org.apache.ws.secpolicy.model.AlgorithmSuite there is only asymmetricSignature = Constants.RSA_SHA1. In Constants.java the same. Thus the getAsymmetricSignature() method always return SHA1. > Here is my policy: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Is there any workarround for this problem? I would appreciate it very much if you could give me a good hint! It's urgent. > Thank you a lot! > Heinz -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org For additional commands, e-mail: java-dev-help@axis.apache.org