harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stepan Mishura (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HARMONY-1701) [classlib][security] X.509 framework fails to encode IssuingDistributionPoint extension.
Date Thu, 05 Oct 2006 05:53:21 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-1701?page=all ]

Stepan Mishura resolved HARMONY-1701.
-------------------------------------

    Resolution: Fixed

Thanks Alexander , patch was applied to SECURITY module at r453111. 

Please check that the patch was applied as you expected. 

> [classlib][security] X.509 framework fails to encode IssuingDistributionPoint extension.
> ----------------------------------------------------------------------------------------
>
>                 Key: HARMONY-1701
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1701
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Alexander Kleymenov
>         Assigned To: Stepan Mishura
>         Attachments: patch-fails2encode.txt
>
>
> ASN.1 encoder of IssuingDistributionPoint extension is incorrect. While trying to encode
the structure it fails with the following exception:
> java.lang.IllegalArgumentException: Implicit tagging can not be used for ASN.1 ANY or
CHOICE type
>         at org.apache.harmony.security.asn1.ASN1Implicit.<init>(ASN1Implicit.java:83)
>         at org.apache.harmony.security.asn1.ASN1Implicit.<init>(ASN1Implicit.java:64)
>         at org.apache.harmony.security.x509.IssuingDistributionPoint.<clinit>(IssuingDistributionPoint.java:183)
> and while trying to encode ReasonFlags structure (subpart of IssuingDistributionPoint)
it fails with the following exception:
> java.lang.ClassCastException: [Z incompatible with org.apache.harmony.security.asn1.BitString
>         at org.apache.harmony.security.asn1.BerOutputStream.encodeBitString(BerOutputStream.java:89)
>         at org.apache.harmony.security.asn1.ASN1BitString.encodeContent(ASN1BitString.java:99)
>         at org.apache.harmony.security.asn1.ASN1Implicit.encodeContent(ASN1Implicit.java:166)
>         ...

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