java.lang.Object
org.shredzone.acme4j.AcmeResource
org.shredzone.acme4j.AcmeJsonResource
org.shredzone.acme4j.challenge.Challenge
org.shredzone.acme4j.challenge.TokenChallenge
org.shredzone.acme4j.challenge.TlsAlpn01Challenge
- Alle implementierten Schnittstellen:
Serializable,PollableResource
Implements the "tls-alpn-01" challenge. It requires a specific certificate that can be
retrieved from the domain via HTTPS request. See the acme4j documentation for a
detailed explanation.
- Seit:
- 2.1
- Siehe auch:
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic final Stringacme-tls/1protocol.static final StringOID of theacmeValidationextension.static final StringChallenge type name: "tls-alpn-01"Von Klasse geerbte Felder org.shredzone.acme4j.challenge.TokenChallenge
KEY_TOKENVon Klasse geerbte Felder org.shredzone.acme4j.challenge.Challenge
KEY_ERROR, KEY_STATUS, KEY_TYPE, KEY_URL, KEY_VALIDATEDVon Schnittstelle geerbte Felder org.shredzone.acme4j.PollableResource
DEFAULT_RETRY_AFTER -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungTlsAlpn01Challenge(Login login, JSON data) Creates a new genericTlsAlpn01Challengeobject. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected booleanacceptable(String type) Checks if the type is acceptable to this challenge.createCertificate(KeyPair keypair, Identifier id) Creates a self-signedX509Certificatefor this challenge.byte[]Returns the value that is to be used asacmeValidationextension in the test certificate.Von Klasse geerbte Methoden org.shredzone.acme4j.challenge.TokenChallenge
getAuthorization, getToken, keyAuthorizationForVon Klasse geerbte Methoden org.shredzone.acme4j.challenge.Challenge
getError, getStatus, getType, getValidated, prepareResponse, setJSON, trigger, waitForCompletionVon Klasse geerbte Methoden org.shredzone.acme4j.AcmeJsonResource
fetch, getJSON, getRetryAfter, invalidate, isValid, setRetryAfter, updateVon Klasse geerbte Methoden org.shredzone.acme4j.AcmeResource
finalize, getLocation, getLogin, getSession, rebindVon Klasse geerbte Methoden java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitVon Schnittstelle geerbte Methoden org.shredzone.acme4j.PollableResource
fetch, waitForStatus
-
Felddetails
-
TYPE
Challenge type name: "tls-alpn-01"- Siehe auch:
-
ACME_VALIDATION_OID
OID of theacmeValidationextension.- Siehe auch:
-
ACME_TLS_1_PROTOCOL
acme-tls/1protocol.- Siehe auch:
-
-
Konstruktordetails
-
TlsAlpn01Challenge
Creates a new genericTlsAlpn01Challengeobject.
-
-
Methodendetails
-
getAcmeValidation
Returns the value that is to be used asacmeValidationextension in the test certificate. -
createCertificate
Creates a self-signedX509Certificatefor this challenge. The certificate is valid for 7 days.- Parameter:
keypair- A domainKeyPairto be used for the challengeid- TheIdentifierthat is to be validated- Gibt zurück:
- Created certificate
- Seit:
- 3.0.0
-
acceptable
Beschreibung aus Klasse kopiert:ChallengeChecks if the type is acceptable to this challenge. This generic class only checks if the type is not blank. Subclasses should instead check if the given type matches expected challenge type.- Setzt außer Kraft:
acceptablein KlasseChallenge- Parameter:
type- Type to check- Gibt zurück:
trueif acceptable,falseif not
-