javax.media.rtp.EncryptionInfo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fmj Show documentation
Show all versions of fmj Show documentation
Freedom for Media in Java
The newest version!
package javax.media.rtp;
/**
* Standard JMF class -- see this class in the JMF Javadoc. Complete.
*
* @author Ken Larson
*
*/
public class EncryptionInfo implements java.io.Serializable
{
private int type;
private byte[] key;
public static final int NO_ENCRYPTION = 0;
public static final int XOR = 1;
public static final int MD5 = 2;
public static final int DES = 3;
public static final int TRIPLE_DES = 4;
public EncryptionInfo(int type, byte[] key)
{
this.type = type;
this.key = key;
}
public byte[] getKey()
{
return key;
}
public int getType()
{
return type;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy