javax.media.rtp
Class EncryptionInfo

java.lang.Object
  |
  +--javax.media.rtp.EncryptionInfo

public class EncryptionInfo
extends java.lang.Object

Class to encapsulate the encryption parameters of an RTP Session.


Field Summary
static int DES
           
static int MD5
           
static int NO_ENCRYPTION
           
static int TRIPLE_DES
           
static int XOR
           
 
Constructor Summary
EncryptionInfo(int type, byte[] key)
           
 
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
 

Field Detail

NO_ENCRYPTION

public static final int NO_ENCRYPTION

XOR

public static final int XOR

MD5

public static final int MD5

DES

public static final int DES

TRIPLE_DES

public static final int TRIPLE_DES
Constructor Detail

EncryptionInfo

public EncryptionInfo(int type,
                      byte[] key)
Method Detail

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.



Submit a bug or feature
Copyright 1999-2000 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved. See the Specification License for more details.
Sun, Sun Microsystems, and Java are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.