Deprecate oob-01 challenge

acmev1
Richard Körber 2018-01-13 14:03:07 +01:00
parent 1fd515912a
commit 43ff508fd2
No known key found for this signature in database
GPG Key ID: AAB9FD19C78AA3E0
3 changed files with 6 additions and 0 deletions

View File

@ -19,7 +19,10 @@ import org.shredzone.acme4j.Session;
/**
* Implements the {@value TYPE} challenge.
*
* @deprecated This challenge has been removed from the ACMEv2 specs.
*/
@Deprecated
public class OutOfBand01Challenge extends Challenge {
private static final long serialVersionUID = -7459595198486630582L;

View File

@ -43,6 +43,7 @@ public class OutOfBandChallengeTest {
* Test that {@link OutOfBand01Challenge} is returning the validation URL.
*/
@Test
@SuppressWarnings("deprecation")
public void testHttpChallenge() throws IOException {
OutOfBand01Challenge challenge = new OutOfBand01Challenge(session);
challenge.unmarshall(getJsonAsObject("oobChallenge"));

View File

@ -1,5 +1,7 @@
# oob-01 Challenge
> **NOTE:** `oob-01` challenge has been removed in ACMEv2.
The `oob-01` challenge is an "out of band" challenge that is used when there is no automatic way of validating ownership of a domain. The client is instead required to perform actions outside of the ACME protocol.
`OutOfBand01Challenge` implements this challenge. Its `getValidationUrl()` method returns a URL that refers to a web page with further instructions about the actions to be taken.