Klasse EmailReply00Challenge
java.lang.Object
org.shredzone.acme4j.AcmeResource
org.shredzone.acme4j.AcmeJsonResource
org.shredzone.acme4j.challenge.Challenge
org.shredzone.acme4j.challenge.TokenChallenge
org.shredzone.acme4j.smime.challenge.EmailReply00Challenge
- Alle implementierten Schnittstellen:
Serializable
,PollableResource
Implements the "email-reply-00" challenge.
- Seit:
- 2.12
- Siehe auch:
-
Feldübersicht
FelderVon Klasse geerbte Felder org.shredzone.acme4j.challenge.TokenChallenge
KEY_TOKEN
Von Klasse geerbte Felder org.shredzone.acme4j.challenge.Challenge
KEY_ERROR, KEY_STATUS, KEY_TYPE, KEY_URL, KEY_VALIDATED
Von Schnittstelle geerbte Felder org.shredzone.acme4j.PollableResource
DEFAULT_RETRY_AFTER
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungEmailReply00Challenge
(Login login, JSON data) Creates a new genericEmailReply00Challenge
object. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected boolean
acceptable
(String type) This method is not implemented.getAuthorization
(String part1) Returns the authorization string.jakarta.mail.internet.InternetAddress
Returns the email address of the expected sender of the "challenge" mail.getFrom()
Returns the email address in the "from" field of the challenge.Returns the token, which is a concatenation of the part 1 that is sent by email, and part 2 that is passed into this callenge viagetTokenPart2()
;Returns the part 2 of the token to be used for this challenge.Von Klasse geerbte Methoden org.shredzone.acme4j.challenge.TokenChallenge
getToken, keyAuthorizationFor
Von Klasse geerbte Methoden org.shredzone.acme4j.challenge.Challenge
getError, getStatus, getType, getValidated, prepareResponse, setJSON, trigger, waitForCompletion
Von Klasse geerbte Methoden org.shredzone.acme4j.AcmeJsonResource
fetch, getJSON, getRetryAfter, invalidate, isValid, setRetryAfter, update
Von Klasse geerbte Methoden org.shredzone.acme4j.AcmeResource
finalize, getLocation, getLogin, getSession, rebind
Von Klasse geerbte Methoden java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Von Schnittstelle geerbte Methoden org.shredzone.acme4j.PollableResource
fetch, waitForStatus
-
Felddetails
-
TYPE
Challenge type name: "email-reply-00"- Siehe auch:
-
-
Konstruktordetails
-
EmailReply00Challenge
Creates a new genericEmailReply00Challenge
object.
-
-
Methodendetails
-
getFrom
Returns the email address in the "from" field of the challenge.- Gibt zurück:
- The "from" email address, as String.
-
getExpectedSender
Returns the email address of the expected sender of the "challenge" mail.This is the same value that is returned by
getFrom()
, but asInternetAddress
instance.- Gibt zurück:
- Expected sender of the challenge email.
-
getToken
Returns the token, which is a concatenation of the part 1 that is sent by email, and part 2 that is passed into this callenge viagetTokenPart2()
;- Parameter:
part1
- Part 1 of the token, which can be found in the subject of the corresponding challenge email.- Gibt zurück:
- Concatenated token
-
getTokenPart2
Returns the part 2 of the token to be used for this challenge. Part 2 is sent via this challenge. -
getAuthorization
This method is not implemented. UsegetAuthorization(String)
instead.- Setzt außer Kraft:
getAuthorization
in KlasseTokenChallenge
-
getAuthorization
Returns the authorization string.- Parameter:
part1
- Part 1 of the token, which can be found in the subject of the corresponding challenge email.
-
acceptable
- Setzt außer Kraft:
acceptable
in KlasseChallenge
-