harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smish...@apache.org
Subject svn commit: r409562 - /incubator/harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/org/apache/harmony/security/pkcs7/SignerInfo.java
Date Fri, 26 May 2006 05:59:26 GMT
Author: smishura
Date: Thu May 25 22:59:26 2006
New Revision: 409562

URL: http://svn.apache.org/viewvc?rev=409562&view=rev
Log:
Use utility method to get X500Principal instance

Modified:
    incubator/harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/org/apache/harmony/security/pkcs7/SignerInfo.java
  (contents, props changed)

Modified: incubator/harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/org/apache/harmony/security/pkcs7/SignerInfo.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/org/apache/harmony/security/pkcs7/SignerInfo.java?rev=409562&r1=409561&r2=409562&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/org/apache/harmony/security/pkcs7/SignerInfo.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/org/apache/harmony/security/pkcs7/SignerInfo.java
Thu May 25 22:59:26 2006
@@ -76,7 +76,7 @@
             List unauthenticatedAttributes
             ) {
         this.version = version;
-        this.issuer = new X500Principal(((Name)issuerAndSerialNumber[0]).getEncoded());
+        this.issuer = ((Name)issuerAndSerialNumber[0]).getX500Principal();
         this.serialNumber = BigInteger.valueOf(ASN1Integer.toIntValue(issuerAndSerialNumber[1]));
         this.digestAlgorithm = digestAlgorithm;
         this.authenticatedAttributes = authenticatedAttributes;

Propchange: incubator/harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/org/apache/harmony/security/pkcs7/SignerInfo.java
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message