diff --git a/pgpainless-core/src/main/java/org/pgpainless/encryption_signing/EncryptionOptions.java b/pgpainless-core/src/main/java/org/pgpainless/encryption_signing/EncryptionOptions.java index b5baee83..2d0fb156 100644 --- a/pgpainless-core/src/main/java/org/pgpainless/encryption_signing/EncryptionOptions.java +++ b/pgpainless-core/src/main/java/org/pgpainless/encryption_signing/EncryptionOptions.java @@ -33,7 +33,7 @@ import org.pgpainless.util.Passphrase; /** * Options for the encryption process. * This class can be used to set encryption parameters, like encryption keys and passphrases, algorithms etc. - * + *
* A typical use might look like follows: *
* {@code @@ -42,11 +42,11 @@ import org.pgpainless.util.Passphrase; * opt.addPassphrase(Passphrase.fromPassword("AdditionalDecryptionPassphrase123")); * } *- * + *
* To use a custom symmetric encryption algorithm, use {@link #overrideEncryptionAlgorithm(SymmetricKeyAlgorithm)}. * This will cause PGPainless to use the provided algorithm for message encryption, instead of negotiating an algorithm * by inspecting the provided recipient keys. - * + *
* By default, PGPainless will encrypt to all suitable, encryption capable subkeys on each recipient's certificate. * This behavior can be changed per recipient, e.g. by calling *
@@ -83,7 +83,7 @@ public class EncryptionOptions { * Factory method to create an {@link EncryptionOptions} object which will encrypt for keys * which carry either the {@link org.pgpainless.algorithm.KeyFlag#ENCRYPT_COMMS} or * {@link org.pgpainless.algorithm.KeyFlag#ENCRYPT_STORAGE} flag. - * + ** Use this if you are not sure. * * @return encryption options