harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smish...@apache.org
Subject svn commit: r412962 - /incubator/harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/org/apache/harmony/security/x509/TBSCertList.java
Date Fri, 09 Jun 2006 07:32:43 GMT
Author: smishura
Date: Fri Jun  9 00:32:43 2006
New Revision: 412962

URL: http://svn.apache.org/viewvc?rev=412962&view=rev
Log:
Simplifying decoder/encoder

Modified:
    incubator/harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/org/apache/harmony/security/x509/TBSCertList.java

Modified: incubator/harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/org/apache/harmony/security/x509/TBSCertList.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/org/apache/harmony/security/x509/TBSCertList.java?rev=412962&r1=412961&r2=412962&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/org/apache/harmony/security/x509/TBSCertList.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/org/apache/harmony/security/x509/TBSCertList.java
Fri Jun  9 00:32:43 2006
@@ -351,16 +351,7 @@
             Name.ASN1, // issuer
             Time.ASN1, // thisUpdate
             Time.ASN1, // nextUpdate
-            new ASN1SequenceOf(RevokedCertificate.ASN1) { // revokedCertificates
-                public Object getDecodedObject(BerInputStream in)
-                        throws IOException {
-                    return in.content;
-                }
-
-                public Collection getValues(Object object) {
-                    return (Collection) object;
-                }
-            },
+            new ASN1SequenceOf(RevokedCertificate.ASN1), // revokedCertificates
             new ASN1Explicit(0, Extensions.ASN1) // crlExtensions
                 }) {
         {



Mime
View raw message