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() |
int |
getEncrypted() |
byte |
getIvSize() |
byte[] |
getKid() |
int |
hashCode() |
void |
parse(ByteBuffer byteBuffer) |
void |
setEncrypted(int encrypted) |
void |
setIvSize(byte ivSize) |
void |
setKid(byte[] kid) |
String |
toString() |
size
public static final String TYPE
public CencSampleEncryptionInformationGroupEntry()
public void parse(ByteBuffer byteBuffer)
parse
in class GroupEntry
public ByteBuffer get()
get
in class GroupEntry
public int getEncrypted()
public void setEncrypted(int encrypted)
public byte getIvSize()
public void setIvSize(byte ivSize)
public byte[] getKid()
public void setKid(byte[] kid)
Copyright © 2014. All rights reserved.