/** Sets the SRand of the AuthenticationInfoHeader to the <var>sRand</var> * parameter value. * * @param sRand - the new sRand String of this AuthenticationInfoHeader. * @throws ParseException which signals that an error has been reached * unexpectedly while parsing the sRand value. */ public void setSRand(String sRand) throws ParseException { this.setParameter(ParameterNames.SRAND, sRand); }
/** Sets the NextNonce of the AuthenticationInfoHeader to the <var>nextNonce</var> * parameter value. * * @param nextNonce - the new nextNonce String of this AuthenticationInfoHeader. * @throws ParseException which signals that an error has been reached * unexpectedly while parsing the nextNonce value. * @since v1.1 */ public void setNextNonce(String nextNonce) throws ParseException { this.setParameter(ParameterNames.NEXT_NONCE, nextNonce); }
/** Sets the SNum of the AuthenticationInfoHeader to the <var>sNum</var> * parameter value. * * @param sNum - the new sNum String of this AuthenticationInfoHeader. * @throws ParseException which signals that an error has been reached * unexpectedly while parsing the sNum value. */ public void setSNum(String sNum) throws ParseException { this.setParameter(ParameterNames.SNUM, sNum); }
/** Sets the CNonce of the AuthenticationInfoHeader to the <var>cNonce</var> * parameter value. * * @param cNonce - the new cNonce String of this AuthenticationInfoHeader. * @throws ParseException which signals that an error has been reached * unexpectedly while parsing the cNonce value. * @since v1.1 */ public void setCNonce(String cNonce) throws ParseException { this.setParameter(ParameterNames.CNONCE, cNonce); }
/** Sets the Qop value of the AuthenticationInfoHeader to the new * <var>qop</var> parameter value. * * @param qop - the new Qop string of this AuthenticationInfoHeader. * @throws ParseException which signals that an error has been reached * unexpectedly while parsing the Qop value. * @since v1.1 */ public void setQop(String qop) throws ParseException { this.setParameter(ParameterNames.QOP, qop); }
/** Sets the TargetName of the AuthenticationInfoHeader to the <var>targetName</var> * parameter value. * * @param targetName - the new targetName String of this AuthenticationInfoHeader. * @throws ParseException which signals that an error has been reached * unexpectedly while parsing the targetName value. */ public void setTargetName(String targetName) throws ParseException { this.setParameter(ParameterNames.TARGET_NAME, targetName); }
/** Sets the Response of the * AuthenticationInfoHeader to the new <var>response</var> * parameter value. * * @param response - the new response String of this * AuthenticationInfoHeader. * @throws ParseException which signals that an error has been reached * unexpectedly while parsing the Response. * @since v1.1 */ public void setResponse(String response) throws ParseException { this.setParameter(ParameterNames.RESPONSE_AUTH, response); }
/** Sets the Nonce Count of the AuthenticationInfoHeader to the <var>nonceCount</var> * parameter value. * * @param nonceCount - the new nonceCount integer of this AuthenticationInfoHeader. * @throws ParseException which signals that an error has been reached * unexpectedly while parsing the nonceCount value. * @since v1.1 */ public void setNonceCount(int nonceCount) throws ParseException { if (nonceCount < 0) throw new ParseException("bad value", 0); String nc = Integer.toHexString(nonceCount); String base = "00000000"; nc = base.substring(0, 8 - nc.length()) + nc; this.setParameter(ParameterNames.NC, nc); }
authenticationInfo.setParameter(nv); this.lexer.SPorHT(); while (lexer.lookAhead(0) == ',') { authenticationInfo.setParameter(nv); this.lexer.SPorHT();
nv = super.nameValue(); authenticationInfo.setParameter(nv); this.lexer.SPorHT(); while (lexer.lookAhead(0) == ',') { authenticationInfo.setParameter(nv); this.lexer.SPorHT();