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
- All Implemented Interfaces:
Serializable
Implements the "tls-alpn-01" challenge.
- Since:
- 2.1
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringacme-tls/1protocol.static final StringOID of theacmeValidationextension.static final StringChallenge type name: "tls-alpn-01"Fields inherited from class org.shredzone.acme4j.challenge.TokenChallenge
KEY_TOKENFields inherited from class org.shredzone.acme4j.challenge.Challenge
KEY_ERROR, KEY_STATUS, KEY_TYPE, KEY_URL, KEY_VALIDATED -
Constructor Summary
ConstructorsConstructorDescriptionTlsAlpn01Challenge(Login login, JSON data) Creates a new genericTlsAlpn01Challengeobject. -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanacceptable(String type) Checks if the type is acceptable to this challenge.byte[]Returns the value that is to be used asacmeValidationextension in the test certificate.Methods inherited from class org.shredzone.acme4j.challenge.TokenChallenge
getAuthorization, getToken, keyAuthorizationForMethods inherited from class org.shredzone.acme4j.challenge.Challenge
getError, getStatus, getType, getValidated, prepareResponse, setJSON, triggerMethods inherited from class org.shredzone.acme4j.AcmeJsonResource
getJSON, invalidate, isValid, updateMethods inherited from class org.shredzone.acme4j.AcmeResource
getLocation, getLogin, getSession, rebind
-
Field Details
-
TYPE
Challenge type name: "tls-alpn-01"- See Also:
-
ACME_VALIDATION_OID
OID of theacmeValidationextension.- See Also:
-
ACME_TLS_1_PROTOCOL
acme-tls/1protocol.- See Also:
-
-
Constructor Details
-
TlsAlpn01Challenge
Creates a new genericTlsAlpn01Challengeobject.
-
-
Method Details
-
getAcmeValidation
Returns the value that is to be used asacmeValidationextension in the test certificate. -
acceptable
Description copied from class:ChallengeChecks if the type is acceptable to this challenge.- Overrides:
acceptablein classChallenge- Parameters:
type- Type to check- Returns:
trueif acceptable,falseif not
-