To determine the type of encryption that is protecting
a PDF document, perform the following steps:
Include project files.
Create an encryption service client.
Get the encrypted PDF document.
Determine the encryption type.
Include project files
Include necessary files into your development
project. If you are creating a client application using Java, include
the necessary JAR files. If you are using web services, ensure that
you include the proxy files.
The following JAR files must
be added to your project’s class path:
adobe-livecycle-client.jar
adobe-usermanager-client.jar
adobe-encryption-client.jar
adobe-utilities.jar (required if LiveCycle is deployed
on JBoss Application Server)
jbossall-client.jar (required if LiveCycle is deployed
on JBoss Application Server)
Create a service client
To programmatically perform an Encryption
service operation, you must create an Encryption service client.
If you are using the Java Encryption Service API, create an EncrytionServiceClient object.
If you are using the web service Encryption Service API, create
an EncryptionServiceService object.
Get the encrypted PDF document
You must obtain a PDF document
to determine the type of encryption that is protecting it.
Determine the encryption type
You can determine the type of encryption
that is protecting a PDF document. If the PDF document is not protected,
then the Encryption service informs you that the PDF document is
not secured.