re-added beginClearText() with a single int.
@@ -230,6 +230,17 @@ public void resetHeaders()
}
}
+ /**
+ * Start a clear text signed message - backwards compatibility.
+ * @param hashAlgorithm hash algorithm
+ */
+ public void beginClearText(
+ int hashAlgorithm)
+ throws IOException
+ {
+ beginClearText(new int[] { hashAlgorithm });
+ }
+
/**
* Start a clear text signed message.
* @param hashAlgorithms hash algorithms
