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 * 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 java.text.ParseException;
     33 import javax.sip.header.WWWAuthenticateHeader;
     34 
     35 
     36 
     37 /**
     38  * Extension to WWW-authenticate header (3GPP TS 24229-5d0).
     39  *
     40  * <p>Defines a new authentication parameter (auth-param) for the WWW-Authenticate header
     41  * used in a 401 (Unauthorized) response to the REGISTER request.
     42  * For more information, see RFC 2617 [21] subclause 3.2.1.</p>
     43  *
     44  * <pre>
     45  *  auth-param = 1#( integrity-key / cipher-key )
     46  *  integrity-key = "ik" EQUAL ik-value
     47  *  cipher-key = "ck" EQUAL ck-value
     48  *  ik-value = LDQUOT *(HEXDIG) RDQUOT
     49  *  ck-value = LDQUOT *(HEXDIG) RDQUOT
     50  * </pre>
     51  *
     52  * @author ALEXANDRE MIGUEL SILVA SANTOS - N 10045401
     53  */
     54 
     55 
     56 public interface WWWAuthenticateHeaderIms extends WWWAuthenticateHeader
     57 {
     58     // issued by Miguel Freitas
     59     public static final String IK = ParameterNamesIms.IK;
     60     public static final String CK = ParameterNamesIms.CK;
     61 
     62 
     63     public void setIK(String ik) throws ParseException;
     64 
     65     public String getIK();
     66 
     67     public void setCK(String ck) throws ParseException;
     68 
     69     public String getCK();
     70 
     71 }
     72