CloneableCencInfopublic interface IDvrEncryptionInfo
extends Cloneable
| Modifier and Type | Field | Description |
|---|---|---|
static int |
ENCRYPTION_TYPE_CENC |
Common Encryption encryption type.
|
static int |
ENCRYPTION_TYPE_CUPERTINO |
Cupertino AES encryption type.
|
static int |
ENCRYPTION_TYPE_PLAYREADY |
Playready encryption type.
|
| Modifier and Type | Method | Description |
|---|---|---|
Object |
clone() |
|
int |
getEncryptionType() |
Serialize encryption info.
|
int |
getSerializeSize() |
Return number of bytes required to serialize this encryption info.
|
byte[] |
serialize() |
Serialize the encryption info, returning a byte buffer containing the serialized data.
|
int |
serialize(byte[] buffer,
int pos) |
Serialize the encryption info into buffer starting at position 'pos'.
|
static final int ENCRYPTION_TYPE_CENC
static final int ENCRYPTION_TYPE_CUPERTINO
static final int ENCRYPTION_TYPE_PLAYREADY
Object clone()
throws CloneNotSupportedException
CloneNotSupportedExceptionint getEncryptionType()
The encryption should consist of the following:
int getSerializeSize()
byte[] serialize()
int serialize(byte[] buffer,
int pos)
buffer - buffer to serialize topos - position to start serializing