|
NIST-SIP: The Reference Implementation for JAIN-SIP 1.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SecurityAgreeHeader
"Security Mechanism Agreemet for SIP Sessions" - sec-agree: RFC 3329 + 3GPP TS33.203 (Annex H).
Headers: Security-Server + Security-Client + Security-Verify
| Method Summary | |
|---|---|
String |
getAlgorithm()
Get Algorithm |
String |
getEncryptionAlgorithm()
Get Encryption Algorithm |
String |
getMode()
Get Mode |
int |
getPortClient()
Get Client Port |
int |
getPortServer()
Get Server Port |
float |
getPreference()
Get Preference |
String |
getProtocol()
Get Protocol |
String |
getSecurityMechanism()
Get Security Mechanism |
int |
getSPIClient()
Get Client SPI |
int |
getSPIServer()
Get Server SPI |
void |
setAlgorithm(String alg)
Set Algorithm (alg parameter) |
void |
setEncryptionAlgorithm(String ealg)
Set Encryption Algorithm (ealg parameter) |
void |
setMode(String mod)
Set Mode (mod parameter) |
void |
setPortClient(int portC)
Set Client Port (port-c parameter) |
void |
setPortServer(int portS)
Set Server Port (port-s parameter) |
void |
setPreference(float q)
Set Preference |
void |
setProtocol(String prot)
Set Protocol (prot paramater) |
void |
setSecurityMechanism(String secMech)
Set security mechanism. |
void |
setSPIClient(int spic)
Set Client SPI (spi-c parameter) |
void |
setSPIServer(int spis)
Set Server SPI (spi-s parameter) |
| Methods inherited from interface javax.sip.header.Parameters |
|---|
getParameter, getParameterNames, removeParameter, setParameter |
| Methods inherited from interface javax.sip.header.Header |
|---|
clone, equals, getName, hashCode, toString |
| Method Detail |
|---|
void setSecurityMechanism(String secMech)
throws ParseException
eg: Security-Client: ipsec-3gpp
secMech - - security mechanism name
ParseException
void setEncryptionAlgorithm(String ealg)
throws ParseException
ealg - - encryption algorithm value
ParseException
void setAlgorithm(String alg)
throws ParseException
alg - - algorithm value
ParseException
void setProtocol(String prot)
throws ParseException
prot - - protocol value
ParseException
void setMode(String mod)
throws ParseException
mod - - mode value
ParseException
void setSPIClient(int spic)
throws InvalidArgumentException
spic - - spi-c value
InvalidArgumentException
void setSPIServer(int spis)
throws InvalidArgumentException
spis - - spi-s value
InvalidArgumentException - - when value is not valid
void setPortClient(int portC)
throws InvalidArgumentException
portC - - port-c value
InvalidArgumentException - - when value is not valid
void setPortServer(int portS)
throws InvalidArgumentException
portS - - port-s value
InvalidArgumentException - - when value is not valid
void setPreference(float q)
throws InvalidArgumentException
q - - q parameter value
InvalidArgumentException - - when value is not validString getSecurityMechanism()
String getEncryptionAlgorithm()
String getAlgorithm()
String getProtocol()
String getMode()
int getSPIClient()
int getSPIServer()
int getPortClient()
int getPortServer()
float getPreference()
|
NIST-SIP: The Reference Implementation for JAIN-SIP 1.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||