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 getAlgorithm()9 String getAlgorithm(); setAlgorithm(String algorithm)10 void setAlgorithm(String algorithm) throws ParseException; 11 getCNonce()12 String getCNonce(); setCNonce(String cNonce)13 void setCNonce(String cNonce) throws ParseException; 14 getNonce()15 String getNonce(); setNonce(String nonce)16 void setNonce(String nonce) throws ParseException; 17 getNonceCount()18 int getNonceCount(); setNonceCount(int nonceCount)19 void setNonceCount(int nonceCount) throws ParseException; 20 getOpaque()21 String getOpaque(); setOpaque(String opaque)22 void setOpaque(String opaque) throws ParseException; 23 getQop()24 String getQop(); setQop(String qop)25 void setQop(String qop) throws ParseException; 26 getRealm()27 String getRealm(); setRealm(String realm)28 void setRealm(String realm) throws ParseException; 29 getResponse()30 String getResponse(); setResponse(String response)31 void setResponse(String response) throws ParseException; 32 getScheme()33 String getScheme(); setScheme(String scheme)34 void setScheme(String scheme); 35 isStale()36 boolean isStale(); setStale(boolean stale)37 void setStale(boolean stale); 38 getURI()39 URI getURI(); setURI(URI uri)40 void setURI(URI uri); 41 getUsername()42 String getUsername(); setUsername(String username)43 void setUsername(String username) throws ParseException; 44 } 45