|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.java.sip.communicator.impl.neomedia.transform.srtp.SRTPPolicy
public class SRTPPolicy
SRTPPolicy holds the SRTP encryption / authentication policy of a SRTP session.
| Field Summary | |
|---|---|
static int |
AESCM_ENCRYPTION
Counter Mode AES Cipher, defined in Section 4.1.1, RFC3711 |
static int |
AESF8_ENCRYPTION
F8 mode AES Cipher, defined in Section 4.1.2, RFC 3711 |
static int |
HMACSHA1_AUTHENTICATION
HAMC SHA1 Authentication, defined in Section 4.2.1, RFC3711 |
static int |
NULL_AUTHENTICATION
Null Authentication, no authentication |
static int |
NULL_ENCRYPTION
Null Cipher, does not change the content of RTP payload |
static int |
SKEIN_AUTHENTICATION
Skein Authentication |
static int |
TWOFISH_ENCRYPTION
Counter Mode TwoFish Cipher |
static int |
TWOFISHF8_ENCRYPTION
F8 Mode TwoFish Cipher |
| Constructor Summary | |
|---|---|
SRTPPolicy(int encType,
int encKeyLength,
int authType,
int authKeyLength,
int authTagLength,
int saltKeyLength)
Construct a SRTPPolicy object based on given parameters. |
|
| Method Summary | |
|---|---|
int |
getAuthKeyLength()
Get the authentication key length |
int |
getAuthTagLength()
Get the authentication tag length |
int |
getAuthType()
Get the authentication type |
int |
getEncKeyLength()
Get the encryption key length |
int |
getEncType()
Get the encryption type |
int |
getSaltKeyLength()
Get the salt key length |
void |
setAuthKeyLength(int authKeyLength)
Set the authentication key length |
void |
setAuthTagLength(int authTagLength)
Set the authentication tag length |
void |
setAuthType(int authType)
Set the authentication type |
void |
setEncKeyLength(int encKeyLength)
Set the encryption key length |
void |
setEncType(int encType)
Set the encryption type |
void |
setSaltKeyLength(int keyLength)
Set the salt key length |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int NULL_ENCRYPTION
public static final int AESCM_ENCRYPTION
public static final int TWOFISH_ENCRYPTION
public static final int AESF8_ENCRYPTION
public static final int TWOFISHF8_ENCRYPTION
public static final int NULL_AUTHENTICATION
public static final int HMACSHA1_AUTHENTICATION
public static final int SKEIN_AUTHENTICATION
| Constructor Detail |
|---|
public SRTPPolicy(int encType,
int encKeyLength,
int authType,
int authKeyLength,
int authTagLength,
int saltKeyLength)
encType - SRTP encryption typeencKeyLength - SRTP encryption key lengthauthType - SRTP authentication typeauthKeyLength - SRTP authentication key lengthauthTagLength - SRTP authentication tag lengthsaltKeyLength - SRTP salt key length| Method Detail |
|---|
public int getAuthKeyLength()
public void setAuthKeyLength(int authKeyLength)
authKeyLength - the authentication key lengthpublic int getAuthTagLength()
public void setAuthTagLength(int authTagLength)
authTagLength - the authentication tag lengthpublic int getAuthType()
public void setAuthType(int authType)
authType - the authentication typepublic int getEncKeyLength()
public void setEncKeyLength(int encKeyLength)
encKeyLength - the encryption key lengthpublic int getEncType()
public void setEncType(int encType)
encType - encryption typepublic int getSaltKeyLength()
public void setSaltKeyLength(int keyLength)
keyLength - the salt key length
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||