NIST-SIP: The Reference Implementation for JAIN-SIP 1.2

gov.nist.javax.sip.parser
Class ChallengeParser

java.lang.Object
  extended bygov.nist.core.ParserCore
      extended bygov.nist.javax.sip.parser.Parser
          extended bygov.nist.javax.sip.parser.HeaderParser
              extended bygov.nist.javax.sip.parser.ChallengeParser
All Implemented Interfaces:
TokenTypes
Direct Known Subclasses:
AuthorizationParser, ProxyAuthenticateParser, ProxyAuthorizationParser, WWWAuthenticateParser

public abstract class ChallengeParser
extends HeaderParser

Parser for the challenge portion of the authentication header.

Since:
1.1
Version:
1.2 $Revision: 1.6 $ $Date: 2006/07/13 09:02:15 $
Author:
Olivier Deruelle

Field Summary
 
Fields inherited from class gov.nist.core.ParserCore
debug
 
Fields inherited from interface gov.nist.javax.sip.parser.TokenTypes
ACCEPT, ACCEPT_ENCODING, ACCEPT_LANGUAGE, ACK, ALERT_INFO, ALLOW, ALLOW_EVENTS, ALPHA, AND, AT, AUTHENTICATION_INFO, AUTHORIZATION, BACK_QUOTE, BACKSLASH, BAR, BYE, CALL_ID, CALL_INFO, CANCEL, COLON, CONTACT, CONTENT_DISPOSITION, CONTENT_ENCODING, CONTENT_LANGUAGE, CONTENT_LENGTH, CONTENT_TYPE, CSEQ, DATE, DIGIT, DOLLAR, DOT, DOUBLEQUOTE, ENCRYPTION, END, EQUALS, ERROR_INFO, EVENT, EXCLAMATION, EXPIRES, FROM, GREATER_THAN, HAT, HIDE, HT, ID, IN_REPLY_TO, INVITE, L_CURLY, L_SQUARE_BRACKET, LESS_THAN, LPAREN, MAX_FORWARDS, MESSAGE, MIME_VERSION, MIN_EXPIRES, MINSE_TO, MINUS, NOTIFY, NULL, OPTIONS, ORGANIZATION, P_ACCESS_NETWORK_INFO, P_ASSERTED_IDENTITY, P_ASSOCIATED_URI, P_CALLED_PARTY_ID, P_CHARGING_FUNCTION_ADDRESSES, P_MEDIA_AUTHORIZATION, P_MEDIA_AUTHORIZATION_TOKEN, P_PREFERRED_IDENTITY, P_VECTOR_CHARGING, P_VISITED_NETWORK_ID, PATH, PERCENT, PLUS, POUND, PRIORITY, PRIVACY, PROXY_AUTHENTICATE, PROXY_AUTHORIZATION, PROXY_REQUIRE, PUBLISH, QUESTION, QUOTE, R_CURLY, R_SQUARE_BRACKET, RACK, REASON, RECORD_ROUTE, REFER_TO, REFERREDBY_TO, REGISTER, REPLACES_TO, REPLY_TO, REQUIRE, RESPONSE_KEY, RETRY_AFTER, ROUTE, RPAREN, RSEQ, SEMICOLON, SERVER, SERVICE_ROUTE, SESSIONEXPIRES_TO, SIP, SIP_ETAG, SIP_IF_MATCH, SIPS, SLASH, SP, STAR, START, SUBJECT, SUBSCRIBE, SUBSCRIPTION_STATE, SUPPORTED, TEL, TILDE, TIMESTAMP, TO, UNDERSCORE, UNSUPPORTED, USER_AGENT, VIA, WARNING, WHITESPACE, WWW_AUTHENTICATE
 
Method Summary
 void parse(AuthenticationHeader header)
          parser the String message.
 
Methods inherited from class gov.nist.javax.sip.parser.HeaderParser
parse
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

parse

public void parse(AuthenticationHeader header)
           throws ParseException
parser the String message.

Parameters:
header - - header structure to fill in.
Throws:
ParseException - if the message does not respect the spec.

NIST-SIP: The Reference Implementation for JAIN-SIP 1.2

A product of the NIST/ITL Advanced Networking Technologies Division.
See conditions of use.
Submit a bug report or feature request.