|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.adobe.flashaccess.sdk.protocol.license.ContentInfo
public class ContentInfo
Information about the content for which a license is requested.
Method Summary | |
---|---|
V2ContentMetaData |
getContentMetadata()
Metadata from the encrypted content (generated at packaging time). |
KeyRetrievalInfo |
getKeyRetrievalInfo()
Retrieves the key information. |
Policy[] |
getUpdatedPolicies()
The server should consult this list of policies when determining which policy to use when generating the license. |
void |
setKeyRetrievalInfo(KeyRetrievalInfo keyInfo)
Sets the information required to decrypt the key in the metadata. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public V2ContentMetaData getContentMetadata()
public Policy[] getUpdatedPolicies()
The server should consult this list of policies when determining which policy to use when generating the license.
If a PolicyUpdateList
was specified in the
LicenseHandler
, this method returns the updated versions
of the policies in the metadata. This list will not include any policies that have been revoked.
If there are no updates or no update list was specified, this method will return the same policies
as V2ContentMetaData.getPolicies()
.
public void setKeyRetrievalInfo(KeyRetrievalInfo keyInfo)
KeyRetrievalInfo
required
depends on the type of KeyProtectionInfo
in V2ContentMetaData
.
The KeyRetrievalInfo
must be set
before a non-preview leaf license can be generated (not required for preview or root licenses).
keyInfo
- The information required to decrypt the key in the metadata. It must not be null
.public KeyRetrievalInfo getKeyRetrievalInfo()
null
if it has not yet been set.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |