Return-Path: Delivered-To: apmail-incubator-harmony-commits-archive@www.apache.org Received: (qmail 99450 invoked from network); 24 Mar 2006 06:25:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 24 Mar 2006 06:25:42 -0000 Received: (qmail 11106 invoked by uid 500); 24 Mar 2006 06:25:41 -0000 Delivered-To: apmail-incubator-harmony-commits-archive@incubator.apache.org Received: (qmail 11062 invoked by uid 500); 24 Mar 2006 06:25:41 -0000 Mailing-List: contact harmony-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: harmony-dev@incubator.apache.org Delivered-To: mailing list harmony-commits@incubator.apache.org Received: (qmail 11049 invoked by uid 99); 24 Mar 2006 06:25:41 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Mar 2006 22:25:41 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Mar 2006 22:25:40 -0800 Received: from ajax (localhost.localdomain [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id E9338D4A00 for ; Fri, 24 Mar 2006 06:25:19 +0000 (GMT) Message-ID: <1194611181.1143181519942.JavaMail.jira@ajax> Date: Fri, 24 Mar 2006 06:25:19 +0000 (GMT) From: "Tim Ellison (JIRA)" To: harmony-commits@incubator.apache.org Subject: [jira] Assigned: (HARMONY-186) X509CertSelector.match throws ArrayIndexOutOfBoundsException when checks keyUsage criterion MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/HARMONY-186?page=all ] Tim Ellison reassigned HARMONY-186: ----------------------------------- Assign To: Tim Ellison > X509CertSelector.match throws ArrayIndexOutOfBoundsException when checks keyUsage criterion > ------------------------------------------------------------------------------------------- > > Key: HARMONY-186 > URL: http://issues.apache.org/jira/browse/HARMONY-186 > Project: Harmony > Type: Bug > Components: Classlib > Reporter: Stepan Mishura > Assignee: Tim Ellison > Attachments: fixHarmony186.txt > > According to the spec. of X509Certificate and X509CertSelector classes KeyUsage extension is represented by array of boolean values. > But the spec. doesn't specify any restrictions on the array so instances of X509Certificate and X509CertSelector classes may have arrays of different length to be matched. If a certificate's array is longer then a selector's array then invocation of method X509CertSelector.match(java.security.cert.Certificate) throws ArrayIndexOutOfBoundsException. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira