]> WPIA git - gigi.git/blobdiff - src/org/cacert/gigi/Digest.java
Format code according do BenBE's formatter.
[gigi.git] / src / org / cacert / gigi / Digest.java
index e183be7275ac4b45c7c57792f6d5c97e23e1bd73..bf7cfee60f8a0b2aaa50e1ad5c9d45d7148ca335 100644 (file)
@@ -1,21 +1,19 @@
 package org.cacert.gigi;
 
 public enum Digest {
-       SHA256("Currently recommended, because the other algorithms"
-               + " might break on some older versions of the GnuTLS library"
-               + " (older than 3.x) still shipped in Debian for example."), SHA384(null), SHA512(
-               "Highest protection against hash collision attacks of the algorithms offered here.");
-       final String exp;
+    SHA256("Currently recommended, because the other algorithms" + " might break on some older versions of the GnuTLS library" + " (older than 3.x) still shipped in Debian for example."), SHA384(null), SHA512("Highest protection against hash collision attacks of the algorithms offered here.");
 
-       private Digest(String explanation) {
-               exp = explanation;
-       }
+    final String exp;
 
-       public String getExp() {
-               return exp;
-       }
+    private Digest(String explanation) {
+        exp = explanation;
+    }
 
-       public static Digest getDefault() {
-               return SHA256;
-       }
+    public String getExp() {
+        return exp;
+    }
+
+    public static Digest getDefault() {
+        return SHA256;
+    }
 }