| 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 |
* |
| 25 |
*/ |
| 26 |
/******************************************* |
| 27 |
* PRODUCT OF PT INOVACAO - EST DEPARTMENT * |
| 28 |
*******************************************/ |
| 29 |
|
| 30 |
package gov.nist.javax.sip.header.ims; |
| 31 |
|
| 32 |
import javax.sip.header.Header; |
| 33 |
import javax.sip.header.HeaderAddress; |
| 34 |
|
| 35 |
/** |
| 36 |
* P-Preferred-Identity header - |
| 37 |
* SIP Private Header: RFC 3325 |
| 38 |
* |
| 39 |
* <ul> |
| 40 |
* <li> |
| 41 |
* . is used from a user agent to a trusted proxy to carry the identity the |
| 42 |
* user sending the SIP message wishes to be used for the P-Asserted-Header |
| 43 |
* field value that the trusted element will insert. |
| 44 |
* <li> |
| 45 |
* . If there are two values, one value MUST be a sip or sips URI and the other |
| 46 |
* MUST be a tel URI. |
| 47 |
* </ul> |
| 48 |
* |
| 49 |
* <p>Sintax: </p> |
| 50 |
* <pre> |
| 51 |
* PPreferredID = "P-Preferred-Identity" HCOLON PPreferredID-value |
| 52 |
* *(COMMA PPreferredID-value) |
| 53 |
* PPreferredID-value = name-addr / addr-spec |
| 54 |
* </pre> |
| 55 |
* |
| 56 |
* @author ALEXANDRE MIGUEL SILVA SANTOS - NĂș 10045401 |
| 57 |
*/ |
| 58 |
|
| 59 |
|
| 60 |
public interface PPreferredIdentityHeader extends HeaderAddress, Header { |
| 61 |
|
| 62 |
/** |
| 63 |
* Name of PreferredIdentityHeader |
| 64 |
*/ |
| 65 |
public final static String NAME = "P-Preferred-Identity"; |
| 66 |
|
| 67 |
} |