gov.nist.javax.sip.header
クラス AuthenticationInfo

java.lang.Object
  上位を拡張 gov.nist.core.GenericObject
      上位を拡張 gov.nist.javax.sip.header.SIPObject
          上位を拡張 gov.nist.javax.sip.header.SIPHeader
              上位を拡張 gov.nist.javax.sip.header.ParametersHeader
                  上位を拡張 gov.nist.javax.sip.header.AuthenticationInfo
すべての実装されたインタフェース:
SIPHeaderNames, java.io.Serializable, java.lang.Cloneable, javax.sip.header.AuthenticationInfoHeader, javax.sip.header.Header, javax.sip.header.Parameters

public class AuthenticationInfo
extends ParametersHeader
implements javax.sip.header.AuthenticationInfoHeader

Authentication info SIP Header.

バージョン:
JAIN-SIP-1.1 $Revision: 1.2 $ $Date: 2004/01/22 13:26:29 $ This code is in the public domain.
作成者:
M. Ranganathan NIST/ITL/ANTD
関連項目:
直列化された形式

フィールドの概要
 
インタフェース javax.sip.header.AuthenticationInfoHeader から継承されたフィールド
NAME
 
インタフェース gov.nist.javax.sip.header.SIPHeaderNames から継承されたフィールド
ACCEPT, ACCEPT_ENCODING, ACCEPT_LANGUAGE, ALERT_INFO, ALLOW, ALLOW_EVENTS, AUTHENTICATION_INFO, AUTHORIZATION, CALL_ID, CALL_INFO, CONTACT, CONTENT_DISPOSITION, CONTENT_ENCODING, CONTENT_LANGUAGE, CONTENT_LENGTH, CONTENT_TYPE, CSEQ, DATE, ERROR_INFO, EVENT, EXPIRES, FROM, IN_REPLY_TO, MAX_FORWARDS, MIME_VERSION, MIN_EXPIRES, ORGANIZATION, PRIORITY, PROXY_AUTHENTICATE, PROXY_AUTHORIZATION, PROXY_REQUIRE, RACK, REASON, RECORD_ROUTE, REPLY_TO, REQUIRE, RETRY_AFTER, ROUTE, RSEQ, SERVER, SUBJECT, SUBSCRIPTION_STATE, SUPPORTED, TIMESTAMP, TO, UNSUPPORTED, USER_AGENT, VIA, WARNING, WWW_AUTHENTICATE
 
コンストラクタの概要
AuthenticationInfo()
          Default contstructor.
 
メソッドの概要
 void add(NameValue nv)
           
 java.lang.String getAuthenticationInfo()
          Returns the AuthenticationInfo value of this AuthenticationInfoHeader.
 NameValue getAuthInfo(java.lang.String name)
          Get the name value pair for a given authentication info parameter.
 java.lang.String getCNonce()
          Returns the CNonce value of this AuthenticationInfoHeader.
 java.lang.String getNextNonce()
          Returns the nextNonce value of this AuthenticationInfoHeader.
 int getNonceCount()
          Returns the Nonce Count value of this AuthenticationInfoHeader.
 java.lang.String getQop()
          Returns the messageQop value of this AuthenticationInfoHeader.
 java.lang.String getResponse()
          Returns the Response value of this AuthenticationInfoHeader.
 void setCNonce(java.lang.String cNonce)
          Sets the CNonce of the AuthenticationInfoHeader to the cNonce parameter value.
 void setNextNonce(java.lang.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 setParameter(java.lang.String name, java.lang.String value)
          Sets the value of the specified parameter.
 void setQop(java.lang.String qop)
          Sets the Qop value of the AuthenticationInfoHeader to the new qop parameter value.
 void setResponse(java.lang.String response)
          Sets the Response of the AuthenticationInfoHeader to the new response parameter value.
 
クラス gov.nist.javax.sip.header.ParametersHeader から継承されたメソッド
getNameValue, getParameter, getParameterNames, getParameters, getParameterValue, hasParameter, hasParameters, removeParameter, removeParameters, setParameter, setParameters, setQuotedParameter
 
クラス gov.nist.javax.sip.header.SIPHeader から継承されたメソッド
encode, getHeaderName, getHeaderValue, getName, getValue, isHeaderList, setHeaderName
 
クラス gov.nist.javax.sip.header.SIPObject から継承されたメソッド
clone, dbgPrint, debugDump, debugDump, equals, match, merge, replace, replace, replace, replace, toString
 
クラス gov.nist.core.GenericObject から継承されたメソッド
getClassFromName, getMatcher, isMySubclass, setMatcher
 
クラス java.lang.Object から継承されたメソッド
getClass, hashCode, notify, notifyAll, wait, wait, wait
 
インタフェース javax.sip.header.Parameters から継承されたメソッド
getParameter, getParameterNames, removeParameter
 
インタフェース javax.sip.header.Header から継承されたメソッド
clone, equals, getName, toString
 

コンストラクタの詳細

AuthenticationInfo

public AuthenticationInfo()
Default contstructor.

メソッドの詳細

add

public void add(NameValue nv)

getAuthInfo

public NameValue getAuthInfo(java.lang.String name)
Get the name value pair for a given authentication info parameter.

パラメータ:
name - is the name for which we want to retrieve the name value list.

getAuthenticationInfo

public java.lang.String getAuthenticationInfo()
Returns the AuthenticationInfo value of this AuthenticationInfoHeader.

戻り値:
the String representing the AuthenticationInfo
導入されたバージョン:
JAIN SIP v1.1

getCNonce

public java.lang.String getCNonce()
Returns the CNonce value of this AuthenticationInfoHeader.

定義:
インタフェース javax.sip.header.AuthenticationInfoHeader 内の getCNonce
戻り値:
the String representing the cNonce information, null if value is not set.
導入されたバージョン:
v1.1

getNextNonce

public java.lang.String getNextNonce()
Returns the nextNonce value of this AuthenticationInfoHeader.

定義:
インタフェース javax.sip.header.AuthenticationInfoHeader 内の getNextNonce
戻り値:
the String representing the nextNonce information, null if value is not set.
導入されたバージョン:
v1.1

getNonceCount

public int getNonceCount()
Returns the Nonce Count value of this AuthenticationInfoHeader.

定義:
インタフェース javax.sip.header.AuthenticationInfoHeader 内の getNonceCount
戻り値:
the integer representing the nonceCount information, -1 if value is not set.
導入されたバージョン:
v1.1

getQop

public java.lang.String getQop()
Returns the messageQop value of this AuthenticationInfoHeader.

定義:
インタフェース javax.sip.header.AuthenticationInfoHeader 内の getQop
戻り値:
the string representing the messageQop information, null if the value is not set.
導入されたバージョン:
v1.1

getResponse

public java.lang.String getResponse()
Returns the Response value of this AuthenticationInfoHeader.

定義:
インタフェース javax.sip.header.AuthenticationInfoHeader 内の getResponse
戻り値:
the String representing the Response information.
導入されたバージョン:
v1.1

setCNonce

public void setCNonce(java.lang.String cNonce)
               throws java.text.ParseException
Sets the CNonce of the AuthenticationInfoHeader to the cNonce parameter value.

定義:
インタフェース javax.sip.header.AuthenticationInfoHeader 内の setCNonce
パラメータ:
cNonce - - the new cNonce String of this AuthenticationInfoHeader.
例外:
java.text.ParseException - which signals that an error has been reached unexpectedly while parsing the cNonce value.
導入されたバージョン:
v1.1

setNextNonce

public void setNextNonce(java.lang.String nextNonce)
                  throws java.text.ParseException
Sets the NextNonce of the AuthenticationInfoHeader to the nextNonce parameter value.

定義:
インタフェース javax.sip.header.AuthenticationInfoHeader 内の setNextNonce
パラメータ:
nextNonce - - the new nextNonce String of this AuthenticationInfoHeader.
例外:
java.text.ParseException - which signals that an error has been reached unexpectedly while parsing the nextNonce value.
導入されたバージョン:
v1.1

setNonceCount

public void setNonceCount(int nonceCount)
                   throws java.text.ParseException
Sets the Nonce Count of the AuthenticationInfoHeader to the nonceCount parameter value.

定義:
インタフェース javax.sip.header.AuthenticationInfoHeader 内の setNonceCount
パラメータ:
nonceCount - - the new nonceCount integer of this AuthenticationInfoHeader.
例外:
java.text.ParseException - which signals that an error has been reached unexpectedly while parsing the nonceCount value.
導入されたバージョン:
v1.1

setQop

public void setQop(java.lang.String qop)
            throws java.text.ParseException
Sets the Qop value of the AuthenticationInfoHeader to the new qop parameter value.

定義:
インタフェース javax.sip.header.AuthenticationInfoHeader 内の setQop
パラメータ:
qop - - the new Qop string of this AuthenticationInfoHeader.
例外:
java.text.ParseException - which signals that an error has been reached unexpectedly while parsing the Qop value.
導入されたバージョン:
v1.1

setResponse

public void setResponse(java.lang.String response)
                 throws java.text.ParseException
Sets the Response of the AuthenticationInfoHeader to the new response parameter value.

定義:
インタフェース javax.sip.header.AuthenticationInfoHeader 内の setResponse
パラメータ:
response - - the new response String of this AuthenticationInfoHeader.
例外:
java.text.ParseException - which signals that an error has been reached unexpectedly while parsing the Response.
導入されたバージョン:
v1.1

setParameter

public void setParameter(java.lang.String name,
                         java.lang.String value)
                  throws java.text.ParseException
クラス ParametersHeader の記述:
Sets the value of the specified parameter. If the parameter already had a value it will be overwritten. A zero-length String indicates flag parameter.

定義:
インタフェース javax.sip.header.Parameters 内の setParameter
オーバーライド:
クラス ParametersHeader 内の setParameter
パラメータ:
name - - a String specifying the parameter name
value - - a String specifying the parameter value
例外:
java.text.ParseException - which signals that an error has been reached unexpectedly while parsing the parameter name or value.