|
NIST-SIP: The Reference Implementation for JAIN-SIP 1.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nist.core.GenericObject
gov.nist.javax.sip.header.SIPObject
gov.nist.javax.sip.header.Challenge
public class Challenge
Challenge part of the Auth header. This is only used by the parser interface
Constructor Summary | |
---|---|
Challenge()
Default constructor |
Method Summary | |
---|---|
Object |
clone()
Clones this object. |
String |
encode()
Encode the challenge in canonical form. |
String |
getAlgorithm()
get the Algorithm value. |
gov.nist.core.NameValueList |
getAuthParams()
get AuthParms list. |
String |
getDomain()
get the domain |
String |
getOpaque()
get the Opaque field |
String |
getParameter(String name)
get the specified parameter |
String |
getQOP()
get QOP value |
String |
getRealm()
get the realm value. |
String |
getResponse()
get the Response value. |
String |
getScheme()
get the scheme field |
String |
getSignature()
get the Signature value. |
String |
getSignedBy()
get the signedBy value. |
String |
getStale()
get the State value. |
String |
getURI()
get the URI field |
boolean |
hasParameter(String name)
boolean function |
boolean |
hasParameters()
Boolean function |
boolean |
removeParameter(String name)
delete the specified parameter |
void |
removeParameters()
remove all parameters |
void |
setAuthParams(gov.nist.core.NameValueList a)
Set the authParams member |
void |
setParameter(gov.nist.core.NameValue nv)
set the specified parameter |
void |
setScheme(String s)
Set the scheme member |
Methods inherited from class gov.nist.javax.sip.header.SIPObject |
---|
dbgPrint, debugDump, debugDump, encode, equals, match, toString |
Methods inherited from class gov.nist.core.GenericObject |
---|
getClassFromName, getMatcher, isMySubclass, makeClone, merge, setMatcher |
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Challenge()
Method Detail |
---|
public String encode()
encode
in class SIPObject
public String getScheme()
public gov.nist.core.NameValueList getAuthParams()
public String getDomain()
public String getURI()
public String getOpaque()
public String getQOP()
public String getAlgorithm()
public String getStale()
public String getSignature()
public String getSignedBy()
public String getResponse()
public String getRealm()
public String getParameter(String name)
name
- String to set
public boolean hasParameter(String name)
name
- String to set
public boolean hasParameters()
public boolean removeParameter(String name)
name
- String
public void removeParameters()
public void setParameter(gov.nist.core.NameValue nv)
nv
- NameValue to setpublic void setScheme(String s)
s
- String to setpublic void setAuthParams(gov.nist.core.NameValueList a)
a
- NameValueList to setpublic Object clone()
gov.nist.core.GenericObject
clone
in class gov.nist.core.GenericObject
|
NIST-SIP: The Reference Implementation for JAIN-SIP 1.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |