public class CencSampleEncryptionInformationGroupEntry extends GroupEntry
Each sample in a protected track shall be associated with an IsEncrypted flag, IV_Size, and KID. This can be accomplished by (a) relying on the default values in the TrackEncryptionBox (see 8.2), or (b) specifying the parameters by sample group, or (c) using a combination of these two techniques.
When specifying the parameters by sample group, the SampleToGroupBox in the sample table or track fragment specifies which samples use which sample group description from the SampleGroupDescriptionBox.
| Constructor and Description |
|---|
CencSampleEncryptionInformationGroupEntry() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
ByteBuffer |
get() |
byte |
getIvSize() |
UUID |
getKid() |
String |
getType() |
int |
hashCode() |
boolean |
isEncrypted() |
void |
parse(ByteBuffer byteBuffer) |
void |
setEncrypted(boolean encrypted) |
void |
setIvSize(int ivSize) |
void |
setKid(UUID kid) |
String |
toString() |
sizepublic static final String TYPE
public CencSampleEncryptionInformationGroupEntry()
public String getType()
getType in class GroupEntrypublic void parse(ByteBuffer byteBuffer)
parse in class GroupEntrypublic ByteBuffer get()
get in class GroupEntrypublic boolean isEncrypted()
public void setEncrypted(boolean encrypted)
public byte getIvSize()
public void setIvSize(int ivSize)
public UUID getKid()
public void setKid(UUID kid)
Copyright © 2017. All rights reserved.