Yeah, it took a while but I think I figured out what needs to be
done. I need to provide an instance of my own subclass of
CPDF_SecurityHandler and possibly an instance of CPDF_CryptoHandler. Not
so sure about that last since we use AES as well and the
CPDF_StandardCryptoHandler already looks like a good generic AES
encryption.
I think I just need to set my
CPDF_SecurityHandler instance on the document parser before loading the
document and everything should “just work”. The only issue I see is that there is no way to set the security handler to the document after the fact so I am not sure how to encrypt an unencrypted document just yet.
I've
seen people on the list with a FoxIt email alias and if I could get any
independent confirmation from one of them that this is the correct path
that would be awesome.
Thanks,
Joe