incubator-amber-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r963065 - in /incubator/amber/trunk/signature-api/src/main/java/org/apache/amber/signature/rsa: AbstractRsaSha1Key.java PemRsaSha1SigningKey.java PemRsaSha1VeifyingKey.java
Date Sun, 11 Jul 2010 12:44:49 GMT
Author: simonetripodi
Date: Sun Jul 11 12:44:49 2010
New Revision: 963065

URL: http://svn.apache.org/viewvc?rev=963065&view=rev
Log:
defined a default toString() method

Modified:
    incubator/amber/trunk/signature-api/src/main/java/org/apache/amber/signature/rsa/AbstractRsaSha1Key.java
    incubator/amber/trunk/signature-api/src/main/java/org/apache/amber/signature/rsa/PemRsaSha1SigningKey.java
    incubator/amber/trunk/signature-api/src/main/java/org/apache/amber/signature/rsa/PemRsaSha1VeifyingKey.java

Modified: incubator/amber/trunk/signature-api/src/main/java/org/apache/amber/signature/rsa/AbstractRsaSha1Key.java
URL: http://svn.apache.org/viewvc/incubator/amber/trunk/signature-api/src/main/java/org/apache/amber/signature/rsa/AbstractRsaSha1Key.java?rev=963065&r1=963064&r2=963065&view=diff
==============================================================================
--- incubator/amber/trunk/signature-api/src/main/java/org/apache/amber/signature/rsa/AbstractRsaSha1Key.java
(original)
+++ incubator/amber/trunk/signature-api/src/main/java/org/apache/amber/signature/rsa/AbstractRsaSha1Key.java
Sun Jul 11 12:44:49 2010
@@ -137,6 +137,11 @@ abstract class AbstractRsaSha1Key implem
         return this.byteValue;
     }
 
+    @Override
+    public final String getValue() {
+        return new String(this.byteValue);
+    }
+
     protected abstract byte[] readCertificate(InputStream input) throws Exception;
 
     /**

Modified: incubator/amber/trunk/signature-api/src/main/java/org/apache/amber/signature/rsa/PemRsaSha1SigningKey.java
URL: http://svn.apache.org/viewvc/incubator/amber/trunk/signature-api/src/main/java/org/apache/amber/signature/rsa/PemRsaSha1SigningKey.java?rev=963065&r1=963064&r2=963065&view=diff
==============================================================================
--- incubator/amber/trunk/signature-api/src/main/java/org/apache/amber/signature/rsa/PemRsaSha1SigningKey.java
(original)
+++ incubator/amber/trunk/signature-api/src/main/java/org/apache/amber/signature/rsa/PemRsaSha1SigningKey.java
Sun Jul 11 12:44:49 2010
@@ -55,12 +55,4 @@ public final class PemRsaSha1SigningKey
         return pemCertificateParser.parsePrivateKey();
     }
 
-    /**
-     * {@inheritDoc}
-     */
-    @Override
-    public String getValue() {
-        return null;
-    }
-
 }

Modified: incubator/amber/trunk/signature-api/src/main/java/org/apache/amber/signature/rsa/PemRsaSha1VeifyingKey.java
URL: http://svn.apache.org/viewvc/incubator/amber/trunk/signature-api/src/main/java/org/apache/amber/signature/rsa/PemRsaSha1VeifyingKey.java?rev=963065&r1=963064&r2=963065&view=diff
==============================================================================
--- incubator/amber/trunk/signature-api/src/main/java/org/apache/amber/signature/rsa/PemRsaSha1VeifyingKey.java
(original)
+++ incubator/amber/trunk/signature-api/src/main/java/org/apache/amber/signature/rsa/PemRsaSha1VeifyingKey.java
Sun Jul 11 12:44:49 2010
@@ -55,12 +55,4 @@ public final class PemRsaSha1VeifyingKey
         return pemCertificateParser.parsePublicCertificate();
     }
 
-    /**
-     * {@inheritDoc}
-     */
-    @Override
-    public String getValue() {
-        return null;
-    }
-
 }



Mime
View raw message