EncryptionInfopublic class EncryptionInfo extends Object implements SerializableClass 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 key;
| public int | getType()Accessor method to get the type of encryption this object specifies.
return type;
|
|