FileDocCategorySizeDatePackage
EncryptionInfo.javaAPI DocJMF 2.1.1e1174Mon May 12 12:20:38 BST 2003javax.media.rtp

EncryptionInfo

public class EncryptionInfo extends Object implements Serializable
Class to encapsulate the encryption parameters of an RTP Session.

Fields Summary
private byte[]
key
private int
type
public static final int
NO_ENCRYPTION
public static final int
XOR
public static final int
MD5
public static final int
DES
public static final int
TRIPLE_DES
Constructors Summary
public EncryptionInfo(int type, byte[] key)

     
      
			   
	this.type = type;
	this.key = key;
    
Methods Summary
public byte[]getKey()
Accessor method to get the encryption key this object encapsulates.

return
The encryption key.

	return key;
    
public intgetType()
Accessor method to get the type of encryption this object specifies.

return
The type of encryption this object specifies.

	return type;