This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-crypto.git

commit 6b5952fc7e10b5fd1a6e030588dd2cf7fe74a1b6
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Mon Dec 12 07:57:44 2022 -0500

    Javadoc
---
 .../java/org/apache/commons/crypto/cipher/CryptoCipher.java    | 10 +++++-----
 src/main/java/org/apache/commons/crypto/cipher/JceCipher.java  |  6 +++++-
 .../java/org/apache/commons/crypto/cipher/OpenSslCipher.java   |  6 +++++-
 3 files changed, 15 insertions(+), 7 deletions(-)

diff --git a/src/main/java/org/apache/commons/crypto/cipher/CryptoCipher.java 
b/src/main/java/org/apache/commons/crypto/cipher/CryptoCipher.java
index 1c65c00..e2688e6 100644
--- a/src/main/java/org/apache/commons/crypto/cipher/CryptoCipher.java
+++ b/src/main/java/org/apache/commons/crypto/cipher/CryptoCipher.java
@@ -32,10 +32,8 @@ import javax.crypto.ShortBufferException;
  * The interface of cryptographic cipher for encryption and decryption.
  *
  * <p>
- * Note that implementations must provide a constructor that has 2 parameters:
- * <br>
- * a Properties instance and a String (transformation)
- *
+ * Note that implementations must provide a constructor that has 2 parameters: 
a Properties instance and a String (transformation)
+ * </p>
  */
 public interface CryptoCipher extends Closeable {
 
@@ -50,9 +48,11 @@ public interface CryptoCipher extends Closeable {
     /**
      * Returns the algorithm name of this {@code CryptoCipher} object.
      *
-     * <p>This is the same name that was specified in one of the
+     * <p>
+     * This is the same name that was specified in one of the
      * {@code CryptoCipherFactory#getInstance} calls that created this
      * {@code CryptoCipher} object..
+     * </p>
      *
      * @return the algorithm name of this {@code CryptoCipher} object.
      */
diff --git a/src/main/java/org/apache/commons/crypto/cipher/JceCipher.java 
b/src/main/java/org/apache/commons/crypto/cipher/JceCipher.java
index 3a81922..3c34076 100644
--- a/src/main/java/org/apache/commons/crypto/cipher/JceCipher.java
+++ b/src/main/java/org/apache/commons/crypto/cipher/JceCipher.java
@@ -68,9 +68,11 @@ class JceCipher implements CryptoCipher {
     /**
      * Returns the algorithm name of this {@code CryptoCipher} object.
      *
-     * <p>This is the same name that was specified in one of the
+     * <p>
+     * This is the same name that was specified in one of the
      * {@code CryptoCipherFactory#getInstance} calls that created this
      * {@code CryptoCipher} object..
+     * </p>
      *
      * @return the algorithm name of this {@code CryptoCipher} object.
      */
@@ -203,6 +205,7 @@ class JceCipher implements CryptoCipher {
      * either GCM or CCM mode, all AAD must be supplied before beginning
      * operations on the ciphertext (via the {@code update} and
      * {@code doFinal} methods).
+     * </p>
      *
      * @param aad the buffer containing the Additional Authentication Data
      *
@@ -230,6 +233,7 @@ class JceCipher implements CryptoCipher {
      * either GCM or CCM mode, all AAD must be supplied before beginning
      * operations on the ciphertext (via the {@code update} and
      * {@code doFinal} methods).
+     * </p>
      *
      * @param aad the buffer containing the Additional Authentication Data
      *
diff --git a/src/main/java/org/apache/commons/crypto/cipher/OpenSslCipher.java 
b/src/main/java/org/apache/commons/crypto/cipher/OpenSslCipher.java
index 50e73da..e829ed3 100644
--- a/src/main/java/org/apache/commons/crypto/cipher/OpenSslCipher.java
+++ b/src/main/java/org/apache/commons/crypto/cipher/OpenSslCipher.java
@@ -76,9 +76,11 @@ class OpenSslCipher implements CryptoCipher {
     /**
      * Returns the algorithm name of this {@code CryptoCipher} object.
      *
-     * <p>This is the same name that was specified in one of the
+     * <p>
+     * This is the same name that was specified in one of the
      * {@code CryptoCipherFactory#getInstance} calls that created this
      * {@code CryptoCipher} object..
+     * </p>
      *
      * @return the algorithm name of this {@code CryptoCipher} object.
      */
@@ -210,6 +212,7 @@ class OpenSslCipher implements CryptoCipher {
      * either GCM mode, all AAD must be supplied before beginning
      * operations on the ciphertext (via the {@code update} and
      * {@code doFinal} methods).
+     * </p>
      *
      * @param aad the buffer containing the Additional Authentication Data
      *
@@ -248,6 +251,7 @@ class OpenSslCipher implements CryptoCipher {
      * either GCM mode, all AAD must be supplied before beginning
      * operations on the ciphertext (via the {@code update} and
      * {@code doFinal} methods).
+     * </p>
      *
      * @param aad the buffer containing the Additional Authentication Data
      *

Reply via email to