javax.media.rtp
Class  EncryptionInfo
java.lang.Object
  |
  +--javax.media.rtp.EncryptionInfo
- All Implemented Interfaces: 
 - java.io.Serializable
 
- public class EncryptionInfo
- extends java.lang.Object
- implements java.io.Serializable
   
Class to encapsulate the encryption parameters of an RTP Session.
- See Also:
 - Serialized Form
 
 
 
| 
Method Summary | 
 byte[] | 
getKey()
 
          Accessor method to get the encryption key this object encapsulates. | 
 int | 
getType()
 
          Accessor method to get the type of encryption this object specifies. | 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
NO_ENCRYPTION
public static final int NO_ENCRYPTION
- See Also:
 - Constant Field Values
 
XOR
public static final int XOR
- See Also:
 - Constant Field Values
 
MD5
public static final int MD5
- See Also:
 - Constant Field Values
 
DES
public static final int DES
- See Also:
 - Constant Field Values
 
TRIPLE_DES
public static final int TRIPLE_DES
- See Also:
 - Constant Field Values
 
EncryptionInfo
public EncryptionInfo(int type,
                      byte[] key)
getType
public int getType()
- Accessor method to get the type of encryption this object specifies. 
 
- Returns:
 - The type of encryption this object specifies. 
 
 
 
getKey
public byte[] getKey()
- Accessor method to get the encryption key this object encapsulates. 
 
- Returns:
 - The encryption key.