public class SdesOfferAnswerModel
extends java.lang.Object
In particular RFC4568 defines how a master key and a cryptographic context can be negotiated between two parties for using for secure the transport of unicast media streams, for example through the use of the Secure Real-time Transport Protocol (SRTP).
Modifier and Type | Field and Description |
---|---|
static boolean |
DEBUG_LOOPBACK_MODE
Whether working in loopback mode (useful for debugging and testing).
|
Constructor and Description |
---|
SdesOfferAnswerModel() |
Modifier and Type | Method and Description |
---|---|
static java.util.Vector |
makeCryptoAttributeProduct(MediaDescriptor start_md,
MediaDescriptor offer_md)
Calculates a 'crypto' attributes product of given media attributes
and offered media attributes (as part of the corresponding MediaDescriptors).
|
public static boolean DEBUG_LOOPBACK_MODE
public static java.util.Vector makeCryptoAttributeProduct(MediaDescriptor start_md, MediaDescriptor offer_md)
The result is calculated as answer of a media offer, according to RFC4568. According to RFC4568 only one 'crypto' is generated in case of success.