Examining encrypted file content
To examine the contents of an FLV or an F4V file by using the Java API, perform the following steps:
- Set up your development environment and include all of the JAR files mentioned in Setting up the development environment within 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 demonstrating 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.