[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [pdf-devel] Encryption filters
From: |
Ralph Giles |
Subject: |
Re: [pdf-devel] Encryption filters |
Date: |
Mon, 28 Jul 2008 12:21:23 -0700 |
On 28-Jul-08, at 1:37 PM, address@hidden wrote:
I dont fully understand. What is the difference between a "crypt
filter dictionary" and a "filter dictionary"?
Not to step on the OP, but my take on this:
A standard stream can have a filter chain on it, and one of the
filters in the chain can be a 'Crypt' filter. That's what was meant
by a "filter dictionary" I think.
To actually know what algorithm to use in a particular 'Crypt' filter
instance, you look at the corresponding DecodeParms entry. This is a
dictionary, if present, with Type CryptFilterDecodeParms and a Name
key. The value of that Name key indexes the CF dictionary in the
global Encryption Dictionary. The values in the CF dictionary are
"crypt filter dictionaries" which define the actual cipher, key
length, authorization triggers and so on.
So the cipher used for 'Crypt' filter is a parameter, one specified
one level of indirection away. The key must also be derived from the
global encryption dictionary. So yes you need RC4 and AES stream
elements, but like JPXDecode, their actual use requires information
from outside the stream dictionary.
That's my understanding, anyway.
-r
- Re: [pdf-devel] Contribute to the project, (continued)
- Message not available
- Re: [pdf-devel] Contribute to the project, David Vázquez, 2008/07/26
- Re: [pdf-devel] Contribute to the project, jemarch, 2008/07/27
- Re: [pdf-devel] Contribute to the project, David Vazquez, 2008/07/27
- [pdf-devel] Encryption filters, jemarch, 2008/07/27
- Re: [pdf-devel] Encryption filters, David Vazquez, 2008/07/27
- RE: [pdf-devel] Encryption filters, Leonard Rosenthol, 2008/07/28
- Re: [pdf-devel] Encryption filters, jemarch, 2008/07/28
- RE: [pdf-devel] Encryption filters, Leonard Rosenthol, 2008/07/29
- Re: [pdf-devel] Encryption filters, jemarch, 2008/07/29
- Re: [pdf-devel] Encryption filters, jemarch, 2008/07/28
- Re: [pdf-devel] Encryption filters,
Ralph Giles <=
- Re: [pdf-devel] Encryption filters, jemarch, 2008/07/28
- Re: [pdf-devel] Encryption filters, David Vazquez, 2008/07/28
- Re: [pdf-devel] Encryption filters, jemarch, 2008/07/29
- Re: [pdf-devel] Encryption filters, David Vazquez, 2008/07/28
- Re: [pdf-devel] Encryption filters, jemarch, 2008/07/28
Re: [pdf-devel] Contribute to the project [OT], Juan Pedro Bolivar Puente, 2008/07/28