|
NIST SIP Parser and Stack (v1.2) API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
The Authentication-Info header field provides for mutual authentication with HTTP Digest. A UAS MAY include this header field in a 2xx response to a request that was successfully authenticated using digest based on the Authorization header field.
For Example:
Authentication-Info: nextnonce="47364c23432d2e131a5fb210812c"
| Field Summary | |
static String |
NAME
Name of the AlertInfoHeader |
| Method Summary | |
String |
getCNonce()
Returns the CNonce value of this AuthenticationInfoHeader. |
String |
getNextNonce()
Returns the nextNonce value of this AuthenticationInfoHeader. |
int |
getNonceCount()
Returns the Nonce Count value of this AuthenticationInfoHeader. |
String |
getQop()
Returns the messageQop value of this AuthenticationInfoHeader. |
String |
getResponse()
Returns the Response value of this AuthenticationInfoHeader. |
void |
setCNonce(String cNonce)
Sets the CNonce of the AuthenticationInfoHeader to the cNonce parameter value. |
void |
setNextNonce(String nextNonce)
Sets the NextNonce of the AuthenticationInfoHeader to the nextNonce parameter value. |
void |
setNonceCount(int nonceCount)
Sets the Nonce Count of the AuthenticationInfoHeader to the nonceCount parameter value. |
void |
setQop(String qop)
Sets the Qop value of the AuthenticationInfoHeader to the new qop parameter value. |
void |
setResponse(String response)
Sets the Response of the AuthenticationInfoHeader to the new response parameter value. |
| Methods inherited from interface javax.sip.header.Parameters |
getParameter, getParameterNames, removeParameter, setParameter |
| Methods inherited from interface javax.sip.header.Header |
clone, equals, getName, toString |
| Field Detail |
public static final String NAME
| Method Detail |
public void setNextNonce(String nextNonce)
throws ParseException
nextNonce - - the new nextNonce String of this AuthenticationInfoHeader.
ParseException - which signals that an error has been reached
unexpectedly while parsing the nextNonce value.public String getNextNonce()
public void setQop(String qop)
throws ParseException
qop - - the new Qop string of this AuthenticationInfoHeader.
ParseException - which signals that an error has been reached
unexpectedly while parsing the Qop value.public String getQop()
public void setCNonce(String cNonce)
throws ParseException
cNonce - - the new cNonce String of this AuthenticationInfoHeader.
ParseException - which signals that an error has been reached
unexpectedly while parsing the cNonce value.public String getCNonce()
public void setNonceCount(int nonceCount)
throws ParseException
nonceCount - - the new nonceCount integer of this AuthenticationInfoHeader.
ParseException - which signals that an error has been reached
unexpectedly while parsing the nonceCount value.public int getNonceCount()
public void setResponse(String response)
throws ParseException
response - - the new response String of this AuthenticationInfoHeader.
ParseException - which signals that an error has been reached
unexpectedly while parsing the Response.public String getResponse()
|
NIST SIP Parser and Stack (v1.2) API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||