Skip to content

Commit 0369974

Browse files
committed
#498: Fix CLI support
1 parent 0c681f2 commit 0369974

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

modules/core-module/src/main/java/org/simplejavamail/api/email/EmailPopulatingBuilder.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1260,6 +1260,9 @@ public interface EmailPopulatingBuilder {
12601260
* @param storePassword The store's password
12611261
* @param keyAlias The name of the certificate in the key store to use
12621262
* @param keyPassword The password of the certificate
1263+
* @param signatureAlgorithm The signature algorithm to use for signing. If omitted, the default algorithm is used.
1264+
* See {@link SmimeSigningConfig} for details.
1265+
*
12631266
* @see SmimeSigningConfig
12641267
*/
12651268
EmailPopulatingBuilder signWithSmime(@NotNull File pkcs12StoreFile, @NotNull String storePassword, @NotNull String keyAlias, @NotNull String keyPassword, @Nullable String signatureAlgorithm);
@@ -1283,6 +1286,10 @@ public interface EmailPopulatingBuilder {
12831286
* <p>
12841287
* <strong>Note:</strong> this only works in combination with the {@value org.simplejavamail.internal.modules.SMIMEModule#NAME}.
12851288
*
1289+
* @param pemFile The recipient's public key to use for encryption.
1290+
* @param keyEncapsulationAlgorithm The key encapsulation algorithm to use for encryption. See {@link SmimeEncryptionConfig} for available values.
1291+
* @param cipherAlgorithm The cipher algorithm to use for encryption. See {@link SmimeEncryptionConfig} for available values.
1292+
*
12861293
* @see SmimeEncryptionConfig
12871294
*/
12881295
EmailPopulatingBuilder encryptWithSmime(@NotNull File pemFile, @Nullable String keyEncapsulationAlgorithm, @Nullable String cipherAlgorithm);

0 commit comments

Comments
 (0)