com.adobe.flashaccess.sdk.media.drm
Interface DRMParameters

All Known Implementing Classes:
F4VDRMParameters, FLVDRMParameters

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

getSignatureParameters

SignatureParameters getSignatureParameters()
Gets the signature parameters.

Returns:
The signature parameters.

setSignatureParameters

void setSignatureParameters(SignatureParameters params)
Sets the signature parameters.

Parameters:
params - The signature parameters.

getKeyParameters

KeyParameters getKeyParameters()
Gets the parameters for obtaining a key.

Returns:
The parameters for obtaining a key.

setKeyParameters

void setKeyParameters(KeyParameters params)
Sets the parameters for obtaining a key.

Parameters:
params - The parameters for obtaining a key.

getEncryptionStartTime

int getEncryptionStartTime()
Specifies that content should be encrypted starting this many seconds into the content. 0 indicates that content will be encrypted from the start of the file.

Returns:
seconds to leave unencrypted at the start of the content

setEncryptionStartTime

void setEncryptionStartTime(int seconds)
Specifies that content should be encrypted starting this many seconds into the content. Specify 0 to indicate that content will be encrypted from the start of the file (this is the default).

Parameters:
seconds - number of seconds to leave unencrypted at the start of the content


[an error occurred while processing this directive] [an error occurred while processing this directive]