You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2022/12/12 12:50:15 UTC
[commons-crypto] 02/05: Javadoc
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 46fc17a571b019fda4312003820482a2573f13ad
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Mon Dec 12 07:32:22 2022 -0500
Javadoc
---
.../java/org/apache/commons/crypto/cipher/CryptoCipherFactory.java | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/src/main/java/org/apache/commons/crypto/cipher/CryptoCipherFactory.java b/src/main/java/org/apache/commons/crypto/cipher/CryptoCipherFactory.java
index 8f57435..f74f1c5 100644
--- a/src/main/java/org/apache/commons/crypto/cipher/CryptoCipherFactory.java
+++ b/src/main/java/org/apache/commons/crypto/cipher/CryptoCipherFactory.java
@@ -43,9 +43,11 @@ public class CryptoCipherFactory {
* The internal classes are listed in the enum
* {@link CipherProvider CipherProvider}
* which can be used to obtain the full class name.
+ * </p>
* <p>
* The value can also be a comma-separated list of class names in
* order of descending priority.
+ * </p>
*/
public static final String CLASSES_KEY = Crypto.CONF_PREFIX + "cipher.classes";
@@ -54,11 +56,13 @@ public class CryptoCipherFactory {
* Defines the internal CryptoCipher implementations.
* <p>
* Usage:
+ * </p>
* <blockquote><pre>
* props.setProperty(CryptoCipherFactory.CLASSES_KEY, CipherProvider.OPENSSL.getClassName());
* props.setProperty(...); // if required by the implementation
* cipher = CryptoCipherFactory.getInstance(transformation, props);
* </pre></blockquote>
+ * </p>
*/
public enum CipherProvider {
@@ -66,6 +70,7 @@ public class CryptoCipherFactory {
* The OpenSSL cipher implementation (using JNI)
* <p>
* This implementation does not use any properties
+ * </p>
*/
// Please ensure the property description agrees with the implementation
OPENSSL(OpenSslCipher.class),
@@ -75,6 +80,7 @@ public class CryptoCipherFactory {
* <p>
* uses the property {@link #JCE_PROVIDER_KEY}
* to define the provider name, if present.
+ * </p>
*/
// Please ensure the property description agrees with the implementation
JCE(JceCipher.class);