|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface DRMParameters
This interface contains information necessary for obtaining a key and applying a signature in order to encrypt media. Sub-interfaces may define additional media-specific properties.
| Method Summary | |
|---|---|
int |
getEncryptionStartTime()
Specifies that content should be encrypted starting this many seconds into the content. |
KeyParameters |
getKeyParameters()
Gets the parameters for obtaining a key. |
SignatureParameters |
getSignatureParameters()
Gets the signature parameters. |
void |
setEncryptionStartTime(int seconds)
Specifies that content should be encrypted starting this many seconds into the content. |
void |
setKeyParameters(KeyParameters params)
Sets the parameters for obtaining a key. |
void |
setSignatureParameters(SignatureParameters params)
Sets the signature parameters. |
| Method Detail |
|---|
SignatureParameters getSignatureParameters()
void setSignatureParameters(SignatureParameters params)
params - The signature parameters.KeyParameters getKeyParameters()
void setKeyParameters(KeyParameters params)
params - The parameters for obtaining a key.int getEncryptionStartTime()
0 indicates that content will be encrypted
from the start of the file.
void setEncryptionStartTime(int seconds)
0 to indicate that content will be encrypted
from the start of the file (this is the default).
seconds - number of seconds to leave unencrypted at the start of the content
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||