Class ChallengeController
- java.lang.Object
-
- de.trustable.ca3s.core.web.rest.acme.ACMEController
-
- de.trustable.ca3s.core.web.rest.acme.ChallengeController
-
@Controller @RequestMapping("/acme/{realm}/challenge") public class ChallengeController extends ACMEController
-
-
Field Summary
-
Fields inherited from class de.trustable.ca3s.core.web.rest.acme.ACMEController
APPLICATION_JOSE_JSON, APPLICATION_JOSE_JSON_VALUE, APPLICATION_JWS, APPLICATION_JWS_VALUE, APPLICATION_PEM_CERT, APPLICATION_PEM_CERT_CHAIN, APPLICATION_PEM_CERT_CHAIN_VALUE, APPLICATION_PEM_CERT_VALUE, APPLICATION_PEM_FILE, APPLICATION_PEM_FILE_VALUE, APPLICATION_PKCS12, APPLICATION_PKCS12_VALUE, APPLICATION_PKIX_CERT, APPLICATION_PKIX_CERT_VALUE, APPLICATION_PROBLEM_JSON, DEFAULT_NONCE_VALID_DAYS, NO_DETAIL, NO_INSTANCE, REPLAY_NONCE_HEADER
-
-
Constructor Summary
Constructors Constructor Description ChallengeController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.http.ResponseEntity<?>getChallenge(long challengeId)org.springframework.http.ResponseEntity<?>postChallenge(String requestBody, long challengeId)-
Methods inherited from class de.trustable.ca3s.core.web.rest.acme.ACMEController
accountResourceUriBuilderFrom, authorizationResourceUriBuilderFrom, buildNonceHeader, buildProblemResponseEntity, buildUrlFrom, certificateResourceUriBuilderFrom, challengeResourceUriBuilderFrom, checkNonce, contactsFromRequest, directoryResourceUriBuilderFrom, generateId, getBase64UrlEncodedRandom, getNewChallenge, getNewNonce, getPipelineForRealm, keyChangeResourceUriBuilderFrom, locationUriOfAuth, locationUriOfCertificate, locationUriOfOrder, locationUriOfOrderFinalize, newAccountResourceUriBuilderFrom, newAuthorizationResourceUriBuilderFrom, newNonceResourceUriBuilderFrom, newOrderResourceUriBuilderFrom, orderResourceUriBuilderFrom, revokeResourceUriBuilderFrom
-
-
-
-
Method Detail
-
getChallenge
@RequestMapping(value="/{challengeId}", method=GET, produces="application/json") public org.springframework.http.ResponseEntity<?> getChallenge(@PathVariable long challengeId)
-
postChallenge
@RequestMapping(value="/{challengeId}", method=POST, produces="application/json", consumes="application/jose+json") public org.springframework.http.ResponseEntity<?> postChallenge(@RequestBody String requestBody, @PathVariable long challengeId)
-
-