aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenny Root <kenny@the-b.org>2013-04-14 16:04:02 -0700
committerKenny Root <kenny@the-b.org>2013-04-14 16:04:02 -0700
commit4eb01f1fb1369e6c050e5af43ebd46e5a929bffc (patch)
tree174b5dd701cbf7391a68d259b9e249d7fd4832fb
parent68cb5a179b3febaa679b672223afa9f201f93f07 (diff)
downloadconnectbot-4eb01f1fb1369e6c050e5af43ebd46e5a929bffc.tar.gz
connectbot-4eb01f1fb1369e6c050e5af43ebd46e5a929bffc.tar.bz2
connectbot-4eb01f1fb1369e6c050e5af43ebd46e5a929bffc.zip
PubkeyUtils should not be instantiated
-rw-r--r--src/org/connectbot/util/PubkeyUtils.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/org/connectbot/util/PubkeyUtils.java b/src/org/connectbot/util/PubkeyUtils.java
index b85b8e8..314624b 100644
--- a/src/org/connectbot/util/PubkeyUtils.java
+++ b/src/org/connectbot/util/PubkeyUtils.java
@@ -81,6 +81,10 @@ public class PubkeyUtils {
// Number of iterations for password hashing. PKCS#5 recommends 1000
private static final int ITERATIONS = 1000;
+ // Cannot be instantiated
+ private PubkeyUtils() {
+ }
+
public static String formatKey(Key key){
String algo = key.getAlgorithm();
String fmt = key.getFormat();