harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stepan Mishura (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-186) X509CertSelector.match throws ArrayIndexOutOfBoundsException when checks keyUsage criterion
Date Tue, 07 Mar 2006 09:35:38 GMT
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


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


Mime
View raw message