I would like to Invoke the web service by .NET web reference. It works fine for others service but the encryptPDFUsingCertificates() in EncryptionService returns error.
I generate a certificate by keytool(JAVA 7) with key usage for encryption, and following the code in http://livedocs.adobe.com/livecycle/8.2/programLC/programmer/help/0000 57.html
After compiles and runs, it shows error.
com.adobe.livecycle.encryption.client.EncryptionServiceException: Generic PDFEncryptionException--problem in PDF Encryption API: Unable to build recipients -- Operation failed(error code bin: 259, hex: 0x103) -- (error code bin: 1, hex: 0x1)
Caused By: Generic PDFEncryptionException--problem in PDF Encryption API: Unable to build recipients -- Operation failed(error code bin: 259, hex: 0x103)(ExceptionHandler.java49)
Caused By: Unable to build recipients(SecurityLockPKIImpl.java103)
Caused By: Unable to encode RecipientInfo.(null-1)
Could anyone can help on this? I hang on this for days.
Many thanks!!!
Raymond