Home | History | Annotate | Download | only in ims
      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 * and others.
      7 * Pursuant to title 15 Untied States Code Section 105, works of NIST
      8 * employees are not subject to copyright protection in the United States
      9 * and are considered to be in the public domain.  As a result, a formal
     10 * license is not needed to use the software.
     11 *
     12 * This software is provided by NIST as a service and is expressly
     13 * provided "AS IS."  NIST MAKES NO WARRANTY OF ANY KIND, EXPRESS, IMPLIED
     14 * OR STATUTORY, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTY OF
     15 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT
     16 * AND DATA ACCURACY.  NIST does not warrant or make any representations
     17 * regarding the use of the software or the results thereof, including but
     18 * not limited to the correctness, accuracy, reliability or usefulness of
     19 * the software.
     20 *
     21 * Permission to use this software is contingent upon your acceptance
     22 * of the terms of this agreement
     23 *
     24 * .
     25 *
     26 */
     27 /*******************************************
     28  * PRODUCT OF PT INOVACAO - EST DEPARTMENT *
     29  *******************************************/
     30 
     31 package gov.nist.javax.sip.header.ims;
     32 
     33 import java.text.ParseException;
     34 import javax.sip.InvalidArgumentException;
     35 import javax.sip.header.AuthorizationHeader;
     36 
     37 
     38 /**
     39  *
     40  * Extension to Authorization header (3GPP TS 24299-5d0)
     41  *
     42  * This extension defines a new auth-param for the Authorization header used
     43  * in REGISTER requests.
     44  * For more information, see RFC 2617 [21] subclause 3.2.2.
     45  *
     46  * @author ALEXANDRE MIGUEL SILVA SANTOS
     47  */
     48 
     49 public interface AuthorizationHeaderIms extends AuthorizationHeader
     50 {
     51 
     52     // issued by Miguel Freitas (IT) PT-Inovacao
     53     public static final String YES  = "yes";
     54     public static final String NO   = "no";
     55 
     56 
     57 
     58     /**
     59      * @param integrityProtected
     60      * @throws ParseException
     61      */
     62     public void setIntegrityProtected(String integrityProtected) throws InvalidArgumentException, ParseException;
     63 
     64 
     65     public String getIntegrityProtected();
     66 
     67 }
     68