Package com.wowza.wms.dvr
Interface IDvrEncryptionInfo
- 
- All Superinterfaces:
- Cloneable
 - All Known Implementing Classes:
- CencInfo
 
 public interface IDvrEncryptionInfo extends CloneableInterface for persisting encryption information for DVR.
- 
- 
Field SummaryFields Modifier and Type Field Description static intENCRYPTION_TYPE_CENCCommon Encryption encryption type.static intENCRYPTION_TYPE_CUPERTINOCupertino AES encryption type.static intENCRYPTION_TYPE_PLAYREADYPlayready encryption type.
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description Objectclone()intgetEncryptionType()Serialize encryption info.intgetSerializeSize()Return number of bytes required to serialize this encryption info.byte[]serialize()Serialize the encryption info, returning a byte buffer containing the serialized data.intserialize(byte[] buffer, int pos)Serialize the encryption info into buffer starting at position 'pos'.
 
- 
- 
- 
Field Detail- 
ENCRYPTION_TYPE_CUPERTINOstatic final int ENCRYPTION_TYPE_CUPERTINO Cupertino AES encryption type.- See Also:
- Constant Field Values
 
 - 
ENCRYPTION_TYPE_PLAYREADYstatic final int ENCRYPTION_TYPE_PLAYREADY Playready encryption type.- See Also:
- Constant Field Values
 
 - 
ENCRYPTION_TYPE_CENCstatic final int ENCRYPTION_TYPE_CENC Common Encryption encryption type.- See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
getSerializeSizeint getSerializeSize() Return number of bytes required to serialize this encryption info.- Returns:
- number of bytes to serialize.
 
 - 
getEncryptionTypeint getEncryptionType() Serialize encryption info.The encryption should consist of the following: - version (1 byte)
- encryption type (1 byte)
- length of 'blob' (2 bytes)
- byte blob (n bytes)
 - Returns:
- encryption type (constants defined in this class)
 
 - 
serializeint serialize(byte[] buffer, int pos)Serialize the encryption info into buffer starting at position 'pos'.- Parameters:
- buffer- buffer to serialize to
- pos- position to start serializing
- Returns:
- new position into buffer
 
 - 
serializebyte[] serialize() Serialize the encryption info, returning a byte buffer containing the serialized data.- Returns:
- byte buffer of serialized data
 
 - 
cloneObject clone() throws CloneNotSupportedException- Throws:
- CloneNotSupportedException
 
 
- 
 
-