|
SIP Communicator: 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.media.transform.srtp.SRTPTransformEngine
public class SRTPTransformEngine
SRTPTransformEngine class implements TransformEngine interface. It stores important information / objects regarding SRTP processing. Through SRTPTransformEngine, we can get the needed PacketTransformer, which will be used by abstract TransformConnector classes.
| Constructor Summary | |
|---|---|
SRTPTransformEngine(byte[] masterKey,
byte[] masterSalt,
SRTPPolicy srtpPolicy,
SRTPPolicy srtcpPolicy)
Construct a SRTPTransformEngine based on given master encryption key, master salt key and SRTP/SRTCP policy. |
|
| Method Summary | |
|---|---|
SRTPCryptoContext |
getDefaultContext()
Get the default SRTPCryptoContext |
byte[] |
getMasterKey()
Get the master encryption key |
byte[] |
getMasterSalt()
Get the master salt key |
PacketTransformer |
getRTCPTransformer()
Get the PacketTransformer for RTCP packets |
PacketTransformer |
getRTPTransformer()
Get the PacketTransformer for RTP packets |
SRTPPolicy |
getSRTCPPolicy()
Get the SRTCP policy |
SRTPPolicy |
getSRTPPolicy()
Get the SRTP policy |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SRTPTransformEngine(byte[] masterKey,
byte[] masterSalt,
SRTPPolicy srtpPolicy,
SRTPPolicy srtcpPolicy)
masterKey - the master encryption keymasterSalt - the master salt keysrtpPolicy - SRTP policysrtcpPolicy - SRTCP policy| Method Detail |
|---|
public PacketTransformer getRTCPTransformer()
TransformEngine
getRTCPTransformer in interface TransformEnginepublic PacketTransformer getRTPTransformer()
TransformEngine
getRTPTransformer in interface TransformEnginepublic byte[] getMasterKey()
public byte[] getMasterSalt()
public SRTPPolicy getSRTCPPolicy()
public SRTPPolicy getSRTPPolicy()
public SRTPCryptoContext getDefaultContext()
|
SIP Communicator: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||