| 1 |
/* |
| 2 |
* Conditions Of Use |
| 3 |
* |
| 4 |
* This software was developed by employees of the National Institute of |
| 5 |
* Standards and Technology (NIST), an agency of the Federal Government. |
| 6 |
* Pursuant to title 15 Untied States Code Section 105, works of NIST |
| 7 |
* employees are not subject to copyright protection in the United States |
| 8 |
* and are considered to be in the public domain. As a result, a formal |
| 9 |
* license is not needed to use the software. |
| 10 |
* |
| 11 |
* This software is provided by NIST as a service and is expressly |
| 12 |
* provided "AS IS." NIST MAKES NO WARRANTY OF ANY KIND, EXPRESS, IMPLIED |
| 13 |
* OR STATUTORY, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTY OF |
| 14 |
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT |
| 15 |
* AND DATA ACCURACY. NIST does not warrant or make any representations |
| 16 |
* regarding the use of the software or the results thereof, including but |
| 17 |
* not limited to the correctness, accuracy, reliability or usefulness of |
| 18 |
* the software. |
| 19 |
* |
| 20 |
* Permission to use this software is contingent upon your acceptance |
| 21 |
* of the terms of this agreement. |
| 22 |
* |
| 23 |
*/ |
| 24 |
package gov.nist.javax.sip.header; |
| 25 |
|
| 26 |
/** |
| 27 |
* A list of commonly occuring parameter names. These are for conveniance so as |
| 28 |
* to avoid typo's |
| 29 |
* |
| 30 |
* @version 1.2 $Revision: 1.8 $ $Date: 2009/07/17 18:57:33 $ |
| 31 |
* @since 1.1 |
| 32 |
* |
| 33 |
* @author M. Ranganathan <br/> |
| 34 |
* |
| 35 |
* |
| 36 |
* |
| 37 |
*/ |
| 38 |
public interface ParameterNames { |
| 39 |
// Issue reported by larryb |
| 40 |
public static final String NEXT_NONCE = "nextnonce"; |
| 41 |
|
| 42 |
public static final String TAG = "tag"; |
| 43 |
|
| 44 |
public static final String USERNAME = "username"; |
| 45 |
|
| 46 |
public static final String URI = "uri"; |
| 47 |
|
| 48 |
public static final String DOMAIN = "domain"; |
| 49 |
|
| 50 |
public static final String CNONCE = "cnonce"; |
| 51 |
|
| 52 |
public static final String PASSWORD = "password"; |
| 53 |
|
| 54 |
public static final String RESPONSE = "response"; |
| 55 |
|
| 56 |
public static final String RESPONSE_AUTH = "rspauth"; |
| 57 |
|
| 58 |
public static final String OPAQUE = "opaque"; |
| 59 |
|
| 60 |
public static final String ALGORITHM = "algorithm"; |
| 61 |
|
| 62 |
public static final String DIGEST = "Digest"; |
| 63 |
|
| 64 |
public static final String SIGNED_BY = "signed-by"; |
| 65 |
|
| 66 |
public static final String SIGNATURE = "signature"; |
| 67 |
|
| 68 |
public static final String NONCE = "nonce"; |
| 69 |
|
| 70 |
// Issue reported by larryb |
| 71 |
public static final String NONCE_COUNT = "nc"; |
| 72 |
|
| 73 |
public static final String PUBKEY = "pubkey"; |
| 74 |
|
| 75 |
public static final String COOKIE = "cookie"; |
| 76 |
|
| 77 |
public static final String REALM = "realm"; |
| 78 |
|
| 79 |
public static final String VERSION = "version"; |
| 80 |
|
| 81 |
public static final String STALE = "stale"; |
| 82 |
|
| 83 |
public static final String QOP = "qop"; |
| 84 |
|
| 85 |
public static final String NC = "nc"; |
| 86 |
|
| 87 |
public static final String PURPOSE = "purpose"; |
| 88 |
|
| 89 |
public static final String CARD = "card"; |
| 90 |
|
| 91 |
public static final String INFO = "info"; |
| 92 |
|
| 93 |
public static final String ACTION = "action"; |
| 94 |
|
| 95 |
public static final String PROXY = "proxy"; |
| 96 |
|
| 97 |
public static final String REDIRECT = "redirect"; |
| 98 |
|
| 99 |
public static final String EXPIRES = "expires"; |
| 100 |
|
| 101 |
public static final String Q = "q"; |
| 102 |
|
| 103 |
public static final String RENDER = "render"; |
| 104 |
|
| 105 |
public static final String SESSION = "session"; |
| 106 |
|
| 107 |
public static final String ICON = "icon"; |
| 108 |
|
| 109 |
public static final String ALERT = "alert"; |
| 110 |
|
| 111 |
public static final String HANDLING = "handling"; |
| 112 |
|
| 113 |
public static final String REQUIRED = "required"; |
| 114 |
|
| 115 |
public static final String OPTIONAL = "optional"; |
| 116 |
|
| 117 |
public static final String EMERGENCY = "emergency"; |
| 118 |
|
| 119 |
public static final String URGENT = "urgent"; |
| 120 |
|
| 121 |
public static final String NORMAL = "normal"; |
| 122 |
|
| 123 |
public static final String NON_URGENT = "non-urgent"; |
| 124 |
|
| 125 |
public static final String DURATION = "duration"; |
| 126 |
|
| 127 |
public static final String BRANCH = "branch"; |
| 128 |
|
| 129 |
public static final String HIDDEN = "hidden"; |
| 130 |
|
| 131 |
public static final String RECEIVED = "received"; |
| 132 |
|
| 133 |
public static final String MADDR = "maddr"; |
| 134 |
|
| 135 |
public static final String TTL = "ttl"; |
| 136 |
|
| 137 |
public static final String TRANSPORT = "transport"; |
| 138 |
|
| 139 |
public static final String TEXT = "text"; |
| 140 |
|
| 141 |
public static final String CAUSE = "cause"; |
| 142 |
|
| 143 |
public static final String ID = "id"; |
| 144 |
|
| 145 |
// @@@ hagai |
| 146 |
public static final String RPORT = "rport"; |
| 147 |
|
| 148 |
// Added pmusgrave (Replaces support) |
| 149 |
public static final String TO_TAG = "to-tag"; |
| 150 |
public static final String FROM_TAG = "from-tag"; |
| 151 |
|
| 152 |
// pmusgrave (outbound and gruu) |
| 153 |
// draft-sip-outbouund-08 |
| 154 |
// draft-sip-gruu-12 |
| 155 |
public static final String SIP_INSTANCE = "+sip.instance"; |
| 156 |
public static final String PUB_GRUU = "pub-gruu"; |
| 157 |
public static final String TEMP_GRUU = "temp-gruu"; |
| 158 |
public static final String GRUU = "gruu"; |
| 159 |
} |