Home | History | Annotate | Download | only in header
      1 package javax.sip.header;
      2 
      3 import java.text.ParseException;
      4 import javax.sip.address.URI;
      5 
      6 public interface AuthorizationHeader extends Header, Parameters {
      7     String NAME = "Authorization";
      8 
      9     String getAlgorithm();
     10     void setAlgorithm(String algorithm) throws ParseException;
     11 
     12     String getCNonce();
     13     void setCNonce(String cNonce) throws ParseException;
     14 
     15     String getNonce();
     16     void setNonce(String nonce) throws ParseException;
     17 
     18     int getNonceCount();
     19     void setNonceCount(int nonceCount) throws ParseException;
     20 
     21     String getOpaque();
     22     void setOpaque(String opaque) throws ParseException;
     23 
     24     String getQop();
     25     void setQop(String qop) throws ParseException;
     26 
     27     String getRealm();
     28     void setRealm(String realm) throws ParseException;
     29 
     30     String getResponse();
     31     void setResponse(String response) throws ParseException;
     32 
     33     String getScheme();
     34     void setScheme(String scheme);
     35 
     36     boolean isStale();
     37     void setStale(boolean stale);
     38 
     39     URI getURI();
     40     void setURI(URI uri);
     41 
     42     String getUsername();
     43     void setUsername(String username) throws ParseException;
     44 }
     45