Show Menu

Examining encrypted file content

You can examine the contents of an encrypted media file using using the Java API.
To examine encrypted file content:
  1. Set up your development environment and include all of the JAR files. See Setting up the SDK for your project.
  2. Create a MediaEncrypter instance.
  3. Pass the encrypted file to the MediaEncrypter.examineEncryptedContent method, which returns a KeyMetaData object.
  4. 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.