pdfSecure.setSecurity(null, "user", perms, null,PDFPermissions.ENCRYPTION_AES);
hi tried with the above command .now its working but
the signature is becoming invalid in the locked signed document ..
i had written another
java code for digital signing on pdf using itext . the output signed pdf document from this code which i got as output ...now i am trying to password protect it .
Signed pdf document is opening but the signature is becoming invalid . please could you help me out