/** * Gets the token. */ protected String getToken() { String token = getJSON().get(KEY_TOKEN).asString(); if (!AcmeUtils.isValidBase64Url(token)) { throw new AcmeProtocolException("Invalid token: " + token); } return token; }
/** * Gets the token. */ protected String getToken() { String token = getJSON().get(KEY_TOKEN).asString(); if (!AcmeUtils.isValidBase64Url(token)) { throw new AcmeProtocolException("Invalid token: " + token); } return token; }