Skip to content

Commit

Permalink
#498: Fix CLI support
Browse files Browse the repository at this point in the history
  • Loading branch information
bbottema committed Mar 20, 2024
1 parent 0c681f2 commit 0369974
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1260,6 +1260,9 @@ public interface EmailPopulatingBuilder {
* @param storePassword The store's password
* @param keyAlias The name of the certificate in the key store to use
* @param keyPassword The password of the certificate
* @param signatureAlgorithm The signature algorithm to use for signing. If omitted, the default algorithm is used.
* See {@link SmimeSigningConfig} for details.
*
* @see SmimeSigningConfig
*/
EmailPopulatingBuilder signWithSmime(@NotNull File pkcs12StoreFile, @NotNull String storePassword, @NotNull String keyAlias, @NotNull String keyPassword, @Nullable String signatureAlgorithm);
Expand All @@ -1283,6 +1286,10 @@ public interface EmailPopulatingBuilder {
* <p>
* <strong>Note:</strong> this only works in combination with the {@value org.simplejavamail.internal.modules.SMIMEModule#NAME}.
*
* @param pemFile The recipient's public key to use for encryption.
* @param keyEncapsulationAlgorithm The key encapsulation algorithm to use for encryption. See {@link SmimeEncryptionConfig} for available values.
* @param cipherAlgorithm The cipher algorithm to use for encryption. See {@link SmimeEncryptionConfig} for available values.
*
* @see SmimeEncryptionConfig
*/
EmailPopulatingBuilder encryptWithSmime(@NotNull File pemFile, @Nullable String keyEncapsulationAlgorithm, @Nullable String cipherAlgorithm);
Expand Down

0 comments on commit 0369974

Please sign in to comment.