PDFdev is a service provided by PDFzone.com | http://www.pdfzone.com
_____________________________________________________________

Hi Gordon,

Could you send me your output file as an attachment?  What is the
owner/user password supposed to be?

Also, I would use hex <..> or ascii 85 <~..~> string syntax for all of
the encrypted strings since they typically contain binary characters,
that may eliminate some of acrobat's complaints.

Jon Anderson
Bengt Computer Graphics LLC
http://www.bengtcg.com


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Gordon Campbell
Sent: Monday, December 22, 2003 1:54 PM
To: [EMAIL PROTECTED]
Subject: RE: [PDFdev] RE: Encryption



PDFdev is a service provided by PDFzone.com | http://www.pdfzone.com
_____________________________________________________________

I don't know if I'm getting closer or further away but ... I've included
my
complete pdf document below.  I am using the same first 5 bytes of my
user
key (happens to be D9 4E 97 BC 49) to encrypt the contents in Object 1
and
Object 20.  The encrypted strings in Object 1 are ok and 'decrypt' okay
when
viewing the Document Properties.  But on load of the PDF I get the
following
error messages:

1) There was an error processing a page. There was a problem reading
this
document (117)
2) Non-Hex Character in a hex string.
3) An unrecognized token (some binary characters) was found.

Could the "<" characters in the content stream be causing this issue?
If
so, this is what the encryption routine generates ... do I have to
replace
special characters?

I agree with Jon that this is a very tricky thing to debug.  My head
hurts.


%PDF-1.4
%oooo
1 0 obj
<<
/Author (?IrC1V<EOoIw~~)
/CreationDate (?s2ya
u~OYY!AAIc,Ai)
/Creator ('Al!1Z|E".UfU")
/Producer (aaF$,[S?I")
/Subject (CAm?o]~i?Ie}-?-?a?)
/Title (2Al!1h?O?^OB?2)
 >>
endobj
4 0 obj
<<
/Type /Encoding
/BaseEncoding /WinAnsiEncoding
>>
endobj
5 0 obj
<<
/Filter /Standard
/V 1
/R 2
/O<3680217F91EFBC709FAEE44B5DF18DAB7CFA55259AE71900204530EFDF9B951F>
/U<A618B3FFE72BD68B45FA5FFD56DD8B17B914D8AAC8A05262AE69906E89B259CF>
/P -4
>>
endobj
6 0 obj
<<
/Type /Font
/Subtype /Type1
/Name /F1
/Encoding 4 0 R
/BaseFont /Courier
>>
endobj
7 0 obj
<<
/Type /Font
/Subtype /Type1
/Name /F2
/Encoding 4 0 R
/BaseFont /Courier-Oblique
>>
endobj
8 0 obj
<<
/Type /Font
/Subtype /Type1
/Name /F3
/Encoding 4 0 R
/BaseFont /Courier-Bold
>>
endobj
9 0 obj
<<
/Type /Font
/Subtype /Type1
/Name /F4
/Encoding 4 0 R
/BaseFont /Courier-BoldOblique
>>
endobj
10 0 obj
<<
/Type /Font
/Subtype /Type1
/Name /F5
/Encoding 4 0 R
/BaseFont /Helvetica
>>
endobj
11 0 obj
<<
/Type /Font
/Subtype /Type1
/Name /F6
/Encoding 4 0 R
/BaseFont /Helvetica-Oblique
>>
endobj
12 0 obj
<<
/Type /Font
/Subtype /Type1
/Name /F7
/Encoding 4 0 R
/BaseFont /Helvetica-Bold
>>
endobj
13 0 obj
<<
/Type /Font
/Subtype /Type1
/Name /F8
/Encoding 4 0 R
/BaseFont /Helvetica-BoldOblique
>>
endobj
14 0 obj
<<
/Type /Font
/Subtype /Type1
/Name /F9
/Encoding 4 0 R
/BaseFont /Times-Roman
>>
endobj
15 0 obj
<<
/Type /Font
/Subtype /Type1
/Name /F10
/Encoding 4 0 R
/BaseFont /Times-Italic
>>
endobj
16 0 obj
<<
/Type /Font
/Subtype /Type1
/Name /F11
/Encoding 4 0 R
/BaseFont /Times-Bold
>>
endobj
17 0 obj
<<
/Type /Font
/Subtype /Type1
/Name /F12
/Encoding 4 0 R
/BaseFont /Times-BoldItalic
>>
endobj
18 0 obj
<<
  /Font <<  /F9 14 0 R /F10 15 0 R /F11 16 0 R /F12 17 0 R /F1 6 0 R /F2
7 0
R /F3 8 0 R /F4 9 0 R /F5 10 0 R /F6 11 0 R /F7 12 0 R /F8 13 0 R >>
  /ProcSet [ /PDF /Text /ImageC ]
  /XObject <<
 >>
>>
endobj
19 0 obj
<<
/Type /Page
/Parent 3 0 R
/Resources 18 0 R
/Contents 20 0 R
/Rotate 0
/MediaBox [ 0 0 612 792]
/Annots [
 ]
>>
endobj
20 0 obj
<<
/Length 21 0 R
>>
stream
sse]??o?A?YE;,?VSp-??T?f0]HCyikuNIno!zeaUo?a??>uAlZba{"<RUd'U
ukoM
DUo>?F<2endstream
endobj
21 0 obj
86
endobj
2 0 obj
<<
/Type /Catalog
/Pages 3 0 R
/Outlines 0 0 R
>>
endobj
3 0 obj
<<
/Type /Pages
/Count 1
/MediaBox [ 0 0 612 792 ]
/Kids [
19 0 R
]
>>
endobj
xref
0 22
0000000000 65535 f
0000000017 00000 n
0000002364 00000 n
0000002436 00000 n
0000000219 00000 n
0000000293 00000 n
0000000496 00000 n
0000000599 00000 n
0000000710 00000 n
0000000818 00000 n
0000000933 00000 n
0000001039 00000 n
0000001153 00000 n
0000001264 00000 n
0000001382 00000 n
0000001490 00000 n
0000001600 00000 n
0000001708 00000 n
0000001822 00000 n
0000002051 00000 n
0000002195 00000 n
0000002342 00000 n
trailer
<<
/Size 22
/Root 2 0 R
/Info 1 0 R
/Encrypt 5 0 R
/ID
[<2B408896A136C0807EE34C7F0F26BECB><2B408896A136C0807EE34C7F0F26BECB>]
>>
startxref
2534
%%EOF




To change your subscription:
http://www.pdfzone.com/discussions/lists-pdfdev.html



To change your subscription:
http://www.pdfzone.com/discussions/lists-pdfdev.html

Reply via email to