uot;Marc Campforts"
> ,
> Date: 25/06/2013 01:53 AM
> Subject: Re: [iText-questions] Pdf Encryption and Gif files failing
>
>
>
>
> On Mon, 24 Jun 2013 17:35:01 +0200, Marc Campforts
> wrote:
>
&g
-bit to 24-bit colour the Firefox viewer displayed the images
correctly. This may also work with gif images.
Chris Egan
From: "iText Mailing List"
To: [email protected], "Marc Campforts"
,
Date: 25/06/2013 01:53 AM
Subject:Re: [
On Mon, 24 Jun 2013 17:35:01 +0200, Marc Campforts
wrote:
> I have a pdf with a transparent gif in it.
> When I set encryption with
> Writer.setEncryption(null, null, PdfWriter.ALLOW_PRINTING |
> PdfWriter.ALLOW_COPY, PdfWriter.STANDARD_ENCRYPTION_128);
> the gif is showing with wrong colors.
On Mon, 24 Jun 2013 17:35:01 +0200, Marc Campforts
wrote:
> I have a pdf with a transparent gif in it.
> When I set encryption with
> Writer.setEncryption(null, null, PdfWriter.ALLOW_PRINTING |
> PdfWriter.ALLOW_COPY, PdfWriter.STANDARD_ENCRYPTION_128);
> the gif is showing with wrong colors.
I have a pdf with a transparent gif in it.
When I set encryption with
Writer.setEncryption(null, null, PdfWriter.ALLOW_PRINTING |
PdfWriter.ALLOW_COPY, PdfWriter.STANDARD_ENCRYPTION_128);
the gif is showing with wrong colors.
--
On 08/12/11 15:14, mkl wrote:
> Satti,
>
> Satti wrote
>> any suggestions
>
> I never had to do that myself, it is merely obvious that first signing, then
> encrypting cannot work.
>
> Google'ing around a bit I stumbled on an old thread on that topic:
>
> http://itext-general.2136553.n4.nabbl
Satti,
Satti wrote
> any suggestions
I never had to do that myself, it is merely obvious that first signing, then
encrypting cannot work.
Google'ing around a bit I stumbled on an old thread on that topic:
http://itext-general.2136553.n4.nabble.com/Encrypt-and-Sign-tp2139044p2139045.html
Encrypt
Thanks Again Michael.
I tried to sign and then encrypt the document using PdfStamper but I am
getting the following exception
"com.lowagie.text.DocumentException: Append mode does not support
encryption."
Even If I remove the Append mode I still get an Exception
"com.lowagie.text.DocumentExcepti
Thanks Again Michael
I tried to encrypt the document after signing using PdfStamper but I get an
exception
"com.lowagie.text.DocumentException: Append mode does not support
encryption."
If I remove the append mode I get the following exception
"com.lowagie.text.DocumentException: Content was al
Satti,
Satti wrote
> Is there any way we can encrypt a pdf having signature fields in them?
>
> I want the pdf which consists of signature fields should allow only
> printing rather editing.
Not a posteriori. You can encrypt and sign concurrently, though.
Regards, Michael
--
View this messag
Thanks
Michael for the quick response.
Is there any way we can encrypt a pdf having signature fields in them?
I want the pdf which consists of signature fields should allow only printing
rather editing.
--
View this message in context:
http://itext-general.2136553.n4.nabble.com/PDF-Encryption-t
Satti,
Satti wrote
> I am trying to encrypt a pdf file using PdfStamper class. The pdf contains
> filled signature fields. After encrypting the pdf, the signature fields
> get corrupted. Can anyone propose a solution for this.
Do not expect encrypting an already signed file to keep signatures val
I am trying to encrypt a pdf file using PdfStamper class. The pdf contains
filled signature fields.
After encrypting the pdf, the signature fields get corrupted. Can anyone
propose a solution for this.
Here is the code I am using
public void encryptPdfDoc() throws IOException, DocumentException
{
1T3XT BVBA wrote:
>
> On 19/07/2011 14:49, aeternum wrote:
>> You are my hero of the day! It works now
> Wow, it was a final attempt (without much hope that it would work).
> I'm happy it works! Padding myself on the shoulder ;-)
>
Well-deserved!
--
View this message in context:
http://it
On 19/07/2011 14:49, aeternum wrote:
> You are my hero of the day! It works now
Wow, it was a final attempt (without much hope that it would work).
I'm happy it works! Padding myself on the shoulder ;-)
--
Magic Quadrant
1T3XT BVBA wrote:
>
> What if you change the encryption type (Standard encryption instead of
> AES)?
>
You are my hero of the day! It works now
--
View this message in context:
http://itext-general.2136553.n4.nabble.com/PDF-encryption-as-a-Web-Service-on-a-JDK-1-4-based-Application-Server-
On 19/07/2011 14:02, aeternum wrote:
> When using iText 5.1 with JDK 1.6.0_26 and this code it works just great... I
> am totally lost now
I can't think of a reason why it wouldn't work in iText 2.1.7.
I see that you've now tried using different passwords for user and owner,
so we've ruled that out
When using iText 5.1 with JDK 1.6.0_26 and this code it works just great... I
am totally lost now ... :(((
/import java.io.FileOutputStream;
import java.io.IOException;
import com.itextpdf.text.DocumentException;
import com.itextpdf.text.pdf.PdfReader;
import com.itextpdf.text.pdf.PdfStamper;
imp
I just created a standalone App using this code. As JDK i used 1.4.2_12.
The "TestEncrypted.pdf" is created but no user password set! :(
/import java.io.FileOutputStream;
import java.io.IOException;
import com.lowagie.text.DocumentException;
import com.lowagie.text.pdf.PdfReader;
import com.lowa
It may be a problem setting the same password for user and owner.
Paulo
-Original Message-
From: aeternum [mailto:[email protected]]
Sent: Tuesday, July 19, 2011 11:34 AM
To: [email protected]
Subject: Re: [iText-questions] PDF encryption as a Web Service on a
On 19/07/2011 12:33, aeternum wrote:
> If it would, the return
> parameter wouldnt be filled, but it is.
I know; it was just a long shot.
I was almost sure that wasn't the problem.
> The pdf-data i am throwing to the
> web service gets returned and can be displayed. Just the pwd is not set at
> a
Thx for the answer. I have included the Bouncy Castle Jars
(bcprov-jdk14-146.jar and bcmail-jdk14-146.jar) into the classpath and the
application doenst throw an exception at all. If it would, the return
parameter wouldnt be filled, but it is. The pdf-data i am throwing to the
web service gets retu
On 19/07/2011 12:06, aeternum wrote:
> Has anyone an idea what could be wrong with this code? Or is there an issue
> with the encryption function of the iText release 2.1.7?
The standard answer is iText 2.1.7 is no longer supported,
but that doesn't help you as you have no other option of
using tha
Hello,
i am currently working on a Proof-of-Concept to expose the encryption
functionality of iText as a web service for external consumption. As this
Web Service is supposed to run on a SAP Netweaver Application Server 7.0
which is still based on Java 1.4.2 i cant use the latest iText release :(
Op 8/03/2011 22:28, Balaji, Madhusudhan (Citco) schreef:
> Hi,
>
> I have a quick question related to our current application. We need to
> encrypt pdf and currently using 128 bit encryption using PDFStamper and
> PdfWriter.ENCRYPTION_AES_128. This is working as expected and we are using
> cl
Hi,
I have a quick question related to our current application. We need to encrypt
pdf and currently using 128 bit encryption using PDFStamper and
PdfWriter.ENCRYPTION_AES_128. This is working as expected and we are using
client certificate to do this. Now we have new requirement to move away
Alex Symeonidis wrote:
>
>/* chapter03/HelloWorldEncryptDecrypt.java */
> PdfEncryptor.encrypt(new PdfReader("HelloWorldNotEncrypted.pdf"),
> new FileOutputStream("HelloWorldEncrypted2.pdf"),
> "Hello".getBytes(), "World".getBytes(),
> PdfWriter.AllowDegradedPrinting,
> PdfWrit
/* chapter03/HelloWorldEncryptDecrypt.java */
PdfEncryptor.encrypt(new PdfReader("HelloWorldNotEncrypted.pdf"),
new FileOutputStream("HelloWorldEncrypted2.pdf"),
"Hello".getBytes(), "World".getBytes(),
PdfWriter.AllowDegradedPrinting,
PdfWriter.STRENGTH128BITS);
Does this stuff real
thank you very much.. it works now.. more power to you paulo!
--- On Mon, 6/28/10, Paulo Soares wrote:
From: Paulo Soares
Subject: Re: [iText-questions] PDF Encryption
To: "Post all your questions about iText here"
Date: Monday, June 28, 2010, 6:26 PM
Don't use the same p
Don't use the same password for the user and the owner.
Paulo
From: wilson gwapo [mailto:[email protected]]
Sent: Monday, June 28, 2010 11:13 AM
To: [email protected]
Subject: [iText-questions] PDF Encryption
Hi,
I have a pr
Hi,
I have a problem encrypting a pdf files.Password works but i should not be able
to copy any content from pdf document.this works in acrobat reader 8 but in
version 9 i can be able to select text, copy the selected text and paste it
anywhere.
below is the code im currently using.
pdf.PdfEncry
Bharathram wrote:
> What I missed regarding the contents and password encrypt?why the contents
> are displayed though the correct password is give?what is the relation
> between the password encryption and the text/string available in PDF file?
Your sentences miss cohesion and it's not clear what
PdfWriter writer = PdfWriter.getInstance(document,new
FileOutputStream("d:\\HelloEncrypted.pdf"));
writer.setEncryption("Hello".getBytes(), "Hello".getBytes(),
PdfWriter.ALLOW_COPY | PdfWriter.ALLOW_PRINTING,
PdfWriter.STANDARD_ENCRYPTION_128);
document.open();
document.add(new Paragr
streams & fonts are a separate issue ;).
Leonard
-Original Message-
From: Paulo Soares [mailto:[email protected]]
Sent: Saturday, August 29, 2009 10:42 PM
To: Post all your questions about iText here
Subject: Re: [iText-questions] PDF Encryption
The PDF reference doesn't d
erter, for that
there are other methods in Java and in PdfEncodings.
Paulo
- Original Message -
From: "Michael Bell"
To:
Sent: Saturday, August 29, 2009 7:46 AM
Subject: [iText-questions] PDF Encryption
1. The javadocs don't define the character set of the encoding for
1. The javadocs don't define the character set of the encoding for the byte[]
signature to PDFEncryptor.encrypt. Of course a byte array without a character
encoding makes no sense. What is the acceptable character encodings (see #2) ?
This should be corrected.
2. Cracking open the code, I see th
gt;
To:
Sent: Friday, May 11, 2007 8:17 AM
Subject: [iText-questions] pdf encryption
> I'm trying to use iText to encrypt documents using public keys and the
> PdfStamper
>
>
> This is what I have tried:
>
> Certificate[] certs = certificateStream == null ? null :
>
I'm trying to use iText to encrypt documents using public keys and the
PdfStamper
This is what I have tried:
Certificate[] certs = certificateStream == null ? null :
(Certificate[])CertificateFactory.getInstance("X.509").
generateCertificates(certifi
AM
> To: [email protected]
> Subject: [iText-questions] PDF Encryption Options
>
> Hi,
>
> We are facing some issues related to Encryption options for
> PDF documents.
> If we apply the option "Allow contents to be modified" or
> "Change the Document&q
Hi,
We are facing some issues related to Encryption options for PDF documents.
If we apply the option "Allow contents to be modified" or "Change the
Document", then automatically "Document Assembly" will be allowed, but we
did not explicitly apply the "document assembly" setting.
Is it right tha
At 10:06 AM 6/1/2006, Craig wrote:
>I'm using iText to encrypt PDF documents. The problem I'm running
>into is that
>the metadata seems to be encrypted as well. I know Acrobat 6 and later can
>encrypt a PDF's contents without encrypting the metadata. Does iText support
>similar functionality?
I'm using iText to encrypt PDF documents. The problem I'm running into is that
the metadata seems to be encrypted as well. I know Acrobat 6 and later can
encrypt a PDF's contents without encrypting the metadata. Does iText support
similar functionality? Thanks...
> > -Original Message-
> > From: [EMAIL PROTECTED]
> >
> [mailto:[EMAIL PROTECTED]
> On
> > Behalf Of satish babu
> > Sent: Friday, November 11, 2005 12:32 PM
> > To: [email protected]
> > Subject: [iText-questions] P
That's the right option for printing. What's the problem?
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of satish babu
> Sent: Friday, November 11, 2005 12:32 PM
> To: [email protected]
>
Hi!!!
Again we have got the pdf encryption problem. Still
we are getting the problem form users. Actually we
want to protect the pdf file that is not able to do
any operations apart from the printing. Previously the
user is taking the printout by updating the page or
copying the page to new
At 02:25 AM 10/6/2005, satish babu wrote:
I am compound around the same issue from a
long back. I have created one encrypted pdf file for
our project. In that i ve given user pwd as "uesr" and
no master pwd. Then it is fine. Now user has to open
this file by giving user pwd. Pdf writers n
Hi..
I am compound around the same issue from a
long back. I have created one encrypted pdf file for
our project. In that i ve given user pwd as "uesr" and
no master pwd. Then it is fine. Now user has to open
this file by giving user pwd. Pdf writers not allow to
open the file also. So we a
Replace PdfWriter.AllowFillIn with 0.
- Original Message -
From: "satish babu" <[EMAIL PROTECTED]>
To:
Sent: Monday, August 29, 2005 7:14 AM
Subject: [iText-questions] PDF encryption - avoid copying
Hi i am doing pdf encryption. Now i am able to
restrict the user
Hi i am doing pdf encryption. Now i am able to
restrict the user not to print the modified copy with
the following code but, still user is copying the text
from the page and pasting in the new page and taking
the modified print from that new page.
Can u pls give me how to restrict the user n
Hi,
i am doing pdf encryption. It is working fine. but
We want to give only print permissin and shuld not be
editable. when the pdf file is opened it is giving
worning msg as "the pdf is procted not able to edit".
But when we try to edit the text it is editable and
not able to save changes, bu
Hi,
i am doing pdf encryption. It is working fine. but
We want to give only print permissin and shuld not be
editable. when the pdf file is opened it is giving
worning msg as "the pdf is procted not able to edit".
But when we try to edit the text it is editable and
not able to save changes, bu
API.
Best Regards,
Paulo Soares
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Peter Soelter
> Sent: Thursday, August 19, 2004 12:39 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [iText-questions] PDF encryption and Signature
Hi Shashi,
you're on the right path.
- but in step 3. you should put placeholders in the
values /ByteRange and /Contents (e.g. zeros or whatever).
- after writing out the resulting PDF (step 4.) you should work
only on these placeholders, you don't need iText
any more (you must not use it
Hi,
I ma doing the following steps one by one please let me know where I am doing wrong.
I want to sign and encrypt an existing PDF document.
Here are the steps I follow.
1. I open the document in PDF reader.
2. I creat a new PDFwriter.
3. Do the copy of pages, Bookmars. and then add the s
ED]]
> Sent: Thursday, October 10, 2002 3:59
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: Re: [iText-questions] PDF Encryption
>
> At 9:43 AM +1000 10/10/02, <[EMAIL PROTECTED]> wrote:
> > > That's because the file has a master password (whi
At 9:43 AM +1000 10/10/02, <[EMAIL PROTECTED]> wrote:
> >That's because the file has a master password (which controls
>> access to the security settings) but not a user password (which
>> control access to the document).
>
> Are you saying the document Encrypt dictionary has not got
> That's because the file has a master password (which controls
> access to the security settings) but not a user password (which
> control access to the document).
Are you saying the document Encrypt dictionary has not got a /U
entry? If so, open the file in a text editor, search
At 5:31 PM +1000 10/9/02, <[EMAIL PROTECTED]> wrote:
>I have attached an encrypted PDF file. But it seems that you do not need
>password to open it. Does anyone know what is the trick in this PDF? I
>guess object 1077 is playing some game here.
That's because the file has a master passwor
D]
> Subject: [iText-questions] PDF Encryption
>
> Hi Folks:
>
> I have attached an encrypted PDF file. But it seems that you do not need
> password to open it. Does anyone know what is the trick in this PDF? I
> guess object 1077 is playing some game here.
>
> Any id
59 matches
Mail list logo