You can examine the contents of an encrypted media file using using the Java API.
To examine encrypted file content:
Set up your development environment and include all of the JAR files. See Setting up the SDK for your project.
Create a MediaEncrypter
instance.
Pass the encrypted file to the MediaEncrypter.examineEncryptedContent
method, which returns a KeyMetaData
object.
Inspect the information within the KeyMetaData
object.
For sample code that describes how to extract DRM metadata from an encrypted file, see com.adobe.flashaccess.samples.mediapackager.ExamineContent
in the Reference Implementation Command Line Tools samples/ directory.