abdera-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James M Snell (JIRA)" <j...@apache.org>
Subject [jira] Closed: (ABDERA-32) [java][security]X509CRLSelector.getIssueNames() should get a byte array instead of a string represents it if the byte array is addIssuerName() into the X509CRLSelector.
Date Tue, 06 Feb 2007 00:32:05 GMT

     [ 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.


Mime
View raw message