harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Kleymenov (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-1701) [classlib][security] X.509 framework fails to encode IssuingDistributionPoint extension.
Date Thu, 05 Oct 2006 04:48:19 GMT
[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


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