[ 
https://issues.apache.org/jira/browse/ABDERA-32?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

James M Snell closed ABDERA-32.
-------------------------------

    Resolution: Fixed

Wrong project

> [java][security]X509CRLSelector.getIssueNames() should get a byte array 
> instead of a string represents it if the byte array is addIssuerName() into 
> the X509CRLSelector.
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: ABDERA-32
>                 URL: https://issues.apache.org/jira/browse/ABDERA-32
>             Project: Abdera
>          Issue Type: Bug
>            Reporter: Leo Li
>
> Here is a testcase:
> public void test_addIssuerName$B_5() throws Exception {
>         X509CRLSelector  x509CRLSelector= new X509CRLSelector();
>         X500Principal x500Principal = new X500Principal("CN=Duke, 
> OU=JavaSoft, O=Sun Microsystems, C=US");
>         byte[] encoded = x500Principal.getEncoded();
>         x509CRLSelector.addIssuerName(encoded);
>         Collection<Object> c = x509CRLSelector.getIssuerNames();
>         assertEquals(1, c.size());
>         byte[] bytes = (byte[]) c.iterator().next();
>         assertTrue(Arrays.equals(encoded, bytes));        
> }
> RI passes.
> Harmony fails.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to