You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying to certificate pdf documents using this library, but the sign method does not allow (at least for now) to add permissions to the document, and I wasn't able to understand how the enable_usage_rights worked.
I guess my problem is pretty similar to the one described in #14.
I tried to figure out a solution for this, and I hacked a quick solution that seems to work right now: miguelsantoss@f86fd70.
I found some references to the DocMDP header in the signature.rb, is this something you plan to add in the future? Adding that to the signature seems to be what I needed.
Another question is if it's possible to encrypt a document, and then sign/certify it. Is this something that could be done?
If I try to sign after the encryption, even without setting a password, it gives me an error.
The text was updated successfully, but these errors were encountered:
Hey,
I was trying to certificate pdf documents using this library, but the
sign
method does not allow (at least for now) to add permissions to the document, and I wasn't able to understand how theenable_usage_rights
worked.I guess my problem is pretty similar to the one described in #14.
I tried to figure out a solution for this, and I hacked a quick solution that seems to work right now: miguelsantoss@f86fd70.
I found some references to the DocMDP header in the
signature.rb
, is this something you plan to add in the future? Adding that to the signature seems to be what I needed.Another question is if it's possible to encrypt a document, and then sign/certify it. Is this something that could be done?
If I try to sign after the encryption, even without setting a password, it gives me an error.
The text was updated successfully, but these errors were encountered: