Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Unpublished - rights reserved under the Copyright Laws of the United States. Copyright � 2003 Sun Microsystems, Inc. All rights reserved. Copyright � 2005 BEA Systems, Inc. All rights reserved. Use is subject to license terms. This distribution may include materials developed by third parties. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Module Name : JSIP Specification File Name : AuthenticationInfoHeader.java Author : Phelim O'Doherty HISTORY Version Date Author Comments 1.1 08/10/2002 Phelim O'Doherty Initial version ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
 package javax.sip.header;
 
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"

Author(s):
BEA Systems, NIST
Version:
1.2
 
 public interface AuthenticationInfoHeader extends ParametersHeader {

    
Sets the NextNonce of the AuthenticationInfoHeader to the nextNonce parameter value.

Parameters:
nextNonce - the new nextNonce String of this AuthenticationInfoHeader.
Throws:
java.text.ParseException which signals that an error has been reached unexpectedly while parsing the nextNonce value.
 
     public void setNextNonce(String nextNoncethrows ParseException;

    
Returns the nextNonce value of this AuthenticationInfoHeader.

Returns:
the String representing the nextNonce information, null if value is not set.
 
     public String getNextNonce();   
    
    
Sets the Qop value of the AuthenticationInfoHeader to the new qop parameter value.

Parameters:
qop - the new Qop string of this AuthenticationInfoHeader.
Throws:
java.text.ParseException which signals that an error has been reached unexpectedly while parsing the Qop value.
 
     public void setQop(String qopthrows ParseException;

    
Returns the messageQop value of this AuthenticationInfoHeader.

Returns:
the string representing the messageQop information, null if the value is not set.
 
     public String getQop();        

    
Sets the CNonce of the AuthenticationInfoHeader to the cNonce parameter value.

Parameters:
cNonce - the new cNonce String of this AuthenticationInfoHeader.
Throws:
java.text.ParseException which signals that an error has been reached unexpectedly while parsing the cNonce value.
 
     public void setCNonce(String cNoncethrows ParseException;

    
Returns the CNonce value of this AuthenticationInfoHeader.

Returns:
the String representing the cNonce information, null if value is not set.
 
     public String getCNonce();  
    
    
Sets the Nonce Count of the AuthenticationInfoHeader to the nonceCount parameter value.

Parameters:
nonceCount - the new nonceCount integer of this AuthenticationInfoHeader.
Throws:
java.text.ParseException which signals that an error has been reached unexpectedly while parsing the nonceCount value.
    public void setNonceCount(int nonceCountthrows ParseException;

    
Returns the Nonce Count value of this AuthenticationInfoHeader.

Returns:
the integer representing the nonceCount information, -1 if value is not set.
    public int getNonceCount();    
    
    
Sets the Response of the AuthenticationInfoHeader to the new response parameter value.

Parameters:
response - the new response String of this AuthenticationInfoHeader.
Throws:
java.text.ParseException which signals that an error has been reached unexpectedly while parsing the Response.
    public void setResponse(String responsethrows ParseException;

    
Returns the Response value of this AuthenticationInfoHeader.

Returns:
the String representing the Response information.
    public String getResponse();    
    
    
Name of the AlertInfoHeader
    public final static String NAME = "Authentication-Info";
New to GrepCode? Check out our FAQ X