Return-Path: Delivered-To: apmail-incubator-amber-commits-archive@minotaur.apache.org Received: (qmail 90232 invoked from network); 5 Jul 2010 10:53:52 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 5 Jul 2010 10:53:52 -0000 Received: (qmail 35837 invoked by uid 500); 5 Jul 2010 10:53:51 -0000 Delivered-To: apmail-incubator-amber-commits-archive@incubator.apache.org Received: (qmail 35821 invoked by uid 500); 5 Jul 2010 10:53:51 -0000 Mailing-List: contact amber-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: amber-dev@incubator.apache.org Delivered-To: mailing list amber-commits@incubator.apache.org Received: (qmail 35811 invoked by uid 99); 5 Jul 2010 10:53:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Jul 2010 10:53:51 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Jul 2010 10:53:48 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id DBCFE238897A; Mon, 5 Jul 2010 10:52:55 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r960538 - /incubator/amber/trunk/spec-api/src/main/java/org/apache/amber/signature/Key.java Date: Mon, 05 Jul 2010 10:52:55 -0000 To: amber-commits@incubator.apache.org From: simonetripodi@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20100705105255.DBCFE238897A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: simonetripodi Date: Mon Jul 5 10:52:55 2010 New Revision: 960538 URL: http://svn.apache.org/viewvc?rev=960538&view=rev Log: the same key can be used to sign the request with more than one algorithm, ie the same key is valid for PLAINTEXT and HMAC_SHA1 Modified: incubator/amber/trunk/spec-api/src/main/java/org/apache/amber/signature/Key.java Modified: incubator/amber/trunk/spec-api/src/main/java/org/apache/amber/signature/Key.java URL: http://svn.apache.org/viewvc/incubator/amber/trunk/spec-api/src/main/java/org/apache/amber/signature/Key.java?rev=960538&r1=960537&r2=960538&view=diff ============================================================================== --- incubator/amber/trunk/spec-api/src/main/java/org/apache/amber/signature/Key.java (original) +++ incubator/amber/trunk/spec-api/src/main/java/org/apache/amber/signature/Key.java Mon Jul 5 10:52:55 2010 @@ -24,11 +24,11 @@ package org.apache.amber.signature; interface Key { /** - * Returns the signing algorithm method. + * Returns the signing algorithm methods. * - * @return the signing algorithm method. + * @return the signing algorithm methods. */ - String getAlgorithmMethod(); + String[] getAlgorithmMethods(); /** * Returns the key string representation.