mirror of https://github.com/shred/acme4j
Remove last references to javax.mail
parent
8bb6560ff8
commit
3adab36f05
|
@ -57,7 +57,7 @@ import org.shredzone.acme4j.smime.EmailIdentifier;
|
||||||
* Requires {@code Bouncy Castle}. The {@link org.bouncycastle.jce.provider.BouncyCastleProvider}
|
* Requires {@code Bouncy Castle}. The {@link org.bouncycastle.jce.provider.BouncyCastleProvider}
|
||||||
* must also be added as security provider.
|
* must also be added as security provider.
|
||||||
* <p>
|
* <p>
|
||||||
* A {@code javax.mail} implementation must be present in the classpath.
|
* A {@code jakarta.mail} implementation must be present in the classpath.
|
||||||
*
|
*
|
||||||
* @since 2.12
|
* @since 2.12
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -129,7 +129,7 @@ public class ResponseGenerator {
|
||||||
* MTA.
|
* MTA.
|
||||||
*
|
*
|
||||||
* @param session
|
* @param session
|
||||||
* {@code javax.mail} {@link Session} to be used for this mail.
|
* {@code jakarta.mail} {@link Session} to be used for this mail.
|
||||||
* @return Generated {@link Message}.
|
* @return Generated {@link Message}.
|
||||||
*/
|
*/
|
||||||
public Message generateResponse(Session session) throws MessagingException {
|
public Message generateResponse(Session session) throws MessagingException {
|
||||||
|
|
|
@ -57,7 +57,7 @@ It is basically invoked like this:
|
||||||
Message challengeMessage = // incoming challenge message from the CA
|
Message challengeMessage = // incoming challenge message from the CA
|
||||||
EmailReply00Challenge challenge = // challenge that is requested by the CA
|
EmailReply00Challenge challenge = // challenge that is requested by the CA
|
||||||
EmailIdentifier identifier = // email address to get the S/MIME cert for
|
EmailIdentifier identifier = // email address to get the S/MIME cert for
|
||||||
javax.mail.Session mailSession = // javax.mail session
|
jakarta.mail.Session mailSession = // jakarta.mail session
|
||||||
|
|
||||||
Message response = EmailProcessor.plainMessage(challengeMessage)
|
Message response = EmailProcessor.plainMessage(challengeMessage)
|
||||||
.expectedIdentifier(identifier)
|
.expectedIdentifier(identifier)
|
||||||
|
|
|
@ -49,7 +49,7 @@ acme4j-client
|
||||||
The Java module name is `org.shredzone.acme4j`.
|
The Java module name is `org.shredzone.acme4j`.
|
||||||
|
|
||||||
acme4j-smime
|
acme4j-smime
|
||||||
: [`acme4j-smime`](https://mvnrepository.com/artifact/org.shredzone.acme4j/acme4j-smime/latest) contains the [RFC 8823](https://tools.ietf.org/html/rfc8823) implementation for ordering S/MIME certificates. It requires [Bouncy Castle](https://www.bouncycastle.org/java.html) and a `javax.mail` implementation.
|
: [`acme4j-smime`](https://mvnrepository.com/artifact/org.shredzone.acme4j/acme4j-smime/latest) contains the [RFC 8823](https://tools.ietf.org/html/rfc8823) implementation for ordering S/MIME certificates. It requires [Bouncy Castle](https://www.bouncycastle.org/java.html) and a `jakarta.mail` implementation.
|
||||||
|
|
||||||
The Java module name is `org.shredzone.acme4j.smime`.
|
The Java module name is `org.shredzone.acme4j.smime`.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue