.get(AuthenticationConstants.Broker.CHALLENGE_REQUEST_HEADER).get(0);
Logger.v(TAG, "Device certificate challenge request:" + challengeHeader);
if (!StringExtensions.isNullOrBlank(challengeHeader)) {
if (StringExtensions.hasPrefixInHeader(challengeHeader,
AuthenticationConstants.Broker.CHALLENGE_RESPONSE_TYPE)) {
<BUG>final HttpEvent challengeHttpEvent = startHttpEvent();
Logger.v(TAG, "Received pkeyAuth device challenge.");</BUG>
ChallengeResponseBuilder certHandler = new ChallengeResponseBuilder(
mJWSBuilder);
Logger.v(TAG, "Processing device challenge");

.get(AuthenticationConstants.Broker.CHALLENGE_REQUEST_HEADER).get(0);
Logger.v(TAG, "Device certificate challenge request:" + challengeHeader);
if (!StringExtensions.isNullOrBlank(challengeHeader)) {
if (StringExtensions.hasPrefixInHeader(challengeHeader,
AuthenticationConstants.Broker.CHALLENGE_RESPONSE_TYPE)) {
final HttpEvent challengeHttpEvent = startHttpEvent();
challengeHttpEvent.setHttpPath(authority);
Logger.v(TAG, "Received pkeyAuth device challenge.");
ChallengeResponseBuilder certHandler = new ChallengeResponseBuilder(
mJWSBuilder);
Logger.v(TAG, "Processing device challenge");
