Hi Christian,
I completely agree with 's...'! All this Smartcard / HSM stuff is a
bloody mess.
My lucky guess would be that itext is far away from the crypto level,
and the handling of PKCS11 is done by the sun wrapper. So both iText and
bc are not my prominent suspects. Could you turn on some kin
Hmm ok I created a java keystore and it works. But its s... Because pkcs11
works in past with older itext and bouncy castle
Am 22.03.2012 um 15:31 schrieb Andreas Kuehne:
> Hi Christian,
>
> now I see! I didn't came across any CryptoVision stuff, yet . But my
> standard approach would be to ch
Hi Christian,
now I see! I didn't came across any CryptoVision stuff, yet . But my
standard approach would be to check whether your installation signs
using another tools using the PKCS11 interface. Can you check that?
Greetings
Andreas
> Hey,
>
> thanks for replying
>
> It is an external librar
Hey,
thanks for replying
It is an external library. I load it with the following lines:
String configName = "/Users/christian/pkcs11.cfg";
Provider p = new sun.security.pkcs11.SunPKCS11(configName);
Security.addProvider(p);
KeyStore ks = KeyStore.getInstance("pkc
Hi Christian,
can you give a little more information about the PKCS11 lib you are using?
As far as I can see from the log that the PKCS11wrapper detected a
problem. But that's quite generic ...
Greetings
Andreas
> Hey @all,
>
> I tried the example "How to sign with an external signature and a st
Hey @all,
I tried the example "How to sign with an external signature and a standard
filter" from http://itextpdf.sourceforge.net/howtosign.html with itext 5.2.0,
bouncy castle 1.46 and a pkcs11 token.
Every time I get the following exception:
Exception in thread "main" java.security.Provider
Ciao PierCarlo,
ho il tuo stesso problema, hai poi risolto?'?
Grazie mille,
Raffaele
--
View this message in context:
http://itext-general.2136553.n4.nabble.com/SIGN-A-PDF-WITH-PADES-ATTRIBUTES-tp3718992p4369928.html
Sent from the iText - General mailing list archive at Nabble.com.
Leonard,
Leonard Rosenthol-3 wrote
> Actually, there is nothing secret or undocumented about it - except our
> Private key.
That's what I meant by the Adobe secret... ;)
--
View this message in context:
http://itext-general.2136553.n4.nabble.com/Sign-a-PDF-with-an-ink-signature-tp4196330p42001
On 12/15/11 1:03 PM, "mkl" wrote:
>To Reader-enable a document, you need some Adobe secret with which the
>documents are marked (signed, partially encoded, howsoever). Thus, only
>Adobe software can do this... and maybe rogue software by people who
>pirated that secret (some older schemes had bee
Stephen,
Stephen More wrote
> I don't want to create an ink signature with iText, I want to dynamically
> build a pdf using iText, email it to an end user, then have the end user
> sign it in ink with Adobe Reader then email it back.
As Leonard put it short and sweetly...
Leonard Rosenthol-3 wro
I don't want to create an ink signature with iText, I want to
dynamically build a pdf using iText, email it to an end user, then
have the end user sign it in ink with Adobe Reader then email it back.
-Stephen More
On Wed, Dec 14, 2011 at 4:08 PM, Martin Bene wrote:
>> Is there an example how I c
> Is there an example how I can generate a pdf using iText that will allow a
> 'ink signature' ?
I don't think ink signatures as defined by adobe are possible with iText.
However: you can add a digital signature that uses a custom image for signature
field appearance.
* get "ink signatu
It's not possible.
On 12/14/11 7:15 PM, "Stephen More" wrote:
>According to Adobe:
>http://help.adobe.com/en_US/Acrobat/9.0/Standard/WS58a04a822e3e50102bd6151
>09794195ff-7d48.w.html
>
>"Sign a PDF with an ink signature In Reader, choose Document > Sign >
>Apply Ink Signature. (This command is
According to Adobe:
http://help.adobe.com/en_US/Acrobat/9.0/Standard/WS58a04a822e3e50102bd615109794195ff-7d48.w.html
"Sign a PDF with an ink signature In Reader, choose Document > Sign >
Apply Ink Signature. (This command is available only if the PDF
creator enabled digital signature and commentin
No, it is PKCS#15 Token. The signcard does not come with a driver :-( any
idea??
BTW: your nice sample: *How to sign with a smartcard using an external
signature dictionary with iTextSharp and .NET 2.0*does not work with the
latest iTextSharp library. Do u have an update of your sample??
regard
: [iText-questions] sign a pdf file with a smartcard
Hi,
I'm trying to use iTextSharp to sign a Pdf using a smartcard attached on
USB-Port.
For this I tryied to use the example given at
http://itextpdf.sourceforge.net/howtosign.html#signextitextsharp2 : How to
sign with a smartcard usi
Hi,
I'm trying to use iTextSharp to sign a Pdf using a smartcard attached on
USB-Port.
For this I tryied to use the example given at
http://itextpdf.sourceforge.net/howtosign.html#signextitextsharp2 : How to
sign with a smartcard using an external signature dictionary with iTextSharp
and .NET 2.
On 29/06/2011 15:33, mkl wrote:
> I'm afraid, XmpReader (and its callers) have to be fixed or replaced.
Finally found the time to look at this bug that was on the development
white board since June:
http://itext.svn.sourceforge.net/viewvc/itext?view=revision&revision=4935
The fix was tested with t
Yes I know but what I need is:
PADES-BES with TimeStampOptions.
This is about similar as CADES-T with bouncyCastle I'm able to sign a file
with CaDES-T attribute about it I think must be supported to sign with
I-TextSharp and bouncyCastle what i need is how can I use Bouncy with Itext
practice I
Piercarlo,
piercarlo wrote:
> I need to sign a PDF/A with PADES standard with CSP (crypto service
> provider) certificate resident in SmartCard
I hope you are aware that there are a number of flavours of PAdES and that
depending on which one you want there may be but limited support for it in
iTe
See http://itextpdf.sourceforge.net/howtosign.html#signextitextsharp2.
Paulo
-Original Message-
From: piercarlo [mailto:piercarlo.schi...@gmail.com]
Sent: Thursday, August 04, 2011 4:10 PM
To: itext-questions@lists.sourceforge.net
Subject: [iText-questions] SIGN A PDF WITH PADES
No, you are correct that according to the corrigenda that is the case.
However, most implementations still do a more strict checking...
Leonard
On 6/29/11 11:22 PM, "mkl" wrote:
>Leonard,
>
>Leonard Rosenthol-3 wrote:
>>
>> Or PDF/A, the namespaces are fixed.
>>
>
>Just to be sure... are they
Dear Stefanu
Would you mind to provide us a sample code of how to sign the PDF/A?. I've
seen your samples in Acrobat Reader and it seems to be working fine.
Thanks in advance
Manuel
--
View this message in context:
http://itext-general.2136553.n4.nabble.com/Sign-a-PDF-A-tp3627882p3634909.html
S
Leonard,
Leonard Rosenthol-3 wrote:
>
> Or PDF/A, the namespaces are fixed.
>
Just to be sure... are they really? Especially, is 'xmp'?
According to ISO 19005-1:2005/Cor.1:2007(E) a NOTE 3 is added after note 2
of Subclause 6.7.2 of ISO 19005-1:2005:
“NOTE 3 According to the W3C XML Namespace
Thank you all for help.
I'm not sure what I can do about changing the reader right now, but at least
now I understand what's going on.
If anyone has any hint on how to solve it while signing, since I cannot
touch the PDF producer, it is more than welcome.
Thanks again.
Stefan.
On Wed, Jun 29, 20
Or PDF/A, the namespaces are fixed.
On 6/29/11 3:33 PM, "mkl" wrote:
>
>mkl wrote:
>>
>> Unless the prefixes to use are fixed in the context of XMP and are
>> required to be defined in the "rdf:Description" node, this smells very
>> buggy.
>>
>
>If I understand the spec correctly, "xmp" merely
mkl wrote:
>
> Unless the prefixes to use are fixed in the context of XMP and are
> required to be defined in the "rdf:Description" node, this smells very
> buggy.
>
If I understand the spec correctly, "xmp" merely is the preferred namespace
prefix, not the only one allowed. And I don't find an
This is really bad news for me... There practically no way I can fix the PDF
creator.
I was hoping I could fix this issue on the singning part, even if it's not
iText's fault.
Best regards,
Stefan.
On Wed, Jun 29, 2011 at 3:57 PM, Leonard Rosenthol wrote:
>
> Good catch! Then the original PDF c
Good catch! Then the original PDF creator is broken and needs to be fixed!
On 6/29/11 2:52 PM, "mkl" wrote:
>
>Leonard Rosenthol-3 wrote:
>>
>> Search the code and see where XAP appears.
>>
>
>I'm afraid it might be the other way around... Stefan's original PDF
>consistently uses the xap na
Leonard Rosenthol-3 wrote:
>
> Search the code and see where XAP appears.
>
I'm afraid it might be the other way around... Stefan's original PDF
consistently uses the xap namespace prefix and iText inserts an element
using the xmp namespace prefix without defining it.
PdfStamperImp.close() set
Search the code and see where XAP appears.
From: stefanu mailto:stefanu...@gmail.com>>
Reply-To: Post here
mailto:itext-questions@lists.sourceforge.net>>
Date: Wed, 29 Jun 2011 05:05:07 -0700
To: Post here
mailto:itext-questions@lists.sourceforge.net>>
Subject: Re: [iText-que
: Post here
>> Date: Wed, 29 Jun 2011 04:26:45 -0700
>>
>> To: Post here
>> Subject: Re: [iText-questions] Sign a PDF/A
>>
>> Thank you. Is there something I can fix, or it is inside the iText API ?
>>
>> Stefan.
>>
>> On Tue, Jun 28, 201
here
> Date: Wed, 29 Jun 2011 04:26:45 -0700
>
> To: Post here
> Subject: Re: [iText-questions] Sign a PDF/A
>
> Thank you. Is there something I can fix, or it is inside the iText API ?
>
> Stefan.
>
> On Tue, Jun 28, 2011 at 4:03 PM, Leonard Rosenthol wrote:
&g
Are you changing the XMP yourself?
From: stefanu mailto:stefanu...@gmail.com>>
Reply-To: Post here
mailto:itext-questions@lists.sourceforge.net>>
Date: Wed, 29 Jun 2011 04:26:45 -0700
To: Post here
mailto:itext-questions@lists.sourceforge.net>>
Subject: Re: [iText-questions] S
sed and Preflight
> claims that the XMP Metadata are missing.
>
>
> From: stefanu
> Reply-To: Post here
> Date: Tue, 28 Jun 2011 05:16:52 -0700
>
> To: Post here
> Subject: Re: [iText-questions] Sign a PDF/A
>
> Let me check again. I was playing with different parameter
ceforge.net>>
Date: Tue, 28 Jun 2011 05:16:52 -0700
To: Post here
mailto:itext-questions@lists.sourceforge.net>>
Subject: Re: [iText-questions] Sign a PDF/A
Let me check again. I was playing with different parameters and I may have
messed up the files.
Stefan.
On Tue, Jun 28, 2011
om>>
Reply-To: Post here
mailto:itext-questions@lists.sourceforge.net>>
Date: Tue, 28 Jun 2011 05:02:31 -0700
To: Post here
mailto:itext-questions@lists.sourceforge.net>>
Subject: Re: [iText-questions] Sign a PDF/A
Thanks for the tip, but unfortunately I have no control on how t
Let me check again. I was playing with different parameters and I may have
messed up the files.
Stefan.
On Tue, Jun 28, 2011 at 3:08 PM, 1T3XT BVBA wrote:
> On 28/06/2011 14:01, stefanu wrote:
> > I think so.
> The source code looks OK (with append = true), but when I look at
> picture_signed.p
On 28/06/2011 14:01, stefanu wrote:
> I think so.
The source code looks OK (with append = true), but when I look at
picture_signed.pdf I only see one occurrence of %%EOF which tells me
your PDF isn't created with the source code you provided.
-
t; To: Post here
> Subject: Re: [iText-questions] Sign a PDF/A
>
> Hello,
>
> I am aware of the license restrictions; this is why I am posting this
> message; I need to be sure I can sign PDF/A before purchasing a commercial
> license.
>
> I am currently using version 5.0.2, but
I think so. I've been using this :
stamper = PdfStamper.createSignature(
new PdfReader(
inputFile.getAbsolutePath(),
password.getBytes()),
new FileOutputStream(outputFile.getAbsoluteFile()),
'\0',
null,
true);
Best regards,
Stefan.
On Tue, Jun 28, 20
On 28/06/2011 12:06, stefanu wrote:
> Here are the files. Apparently all checks for compliance on the signed
> file show the same errors; on the other hand, I cannot alter in any
> way the input file, so all I can do is tweak the parameters of the
> signing process, if possible.
There's certainl
: stefanu mailto:stefanu...@gmail.com>>
Reply-To: Post here
mailto:itext-questions@lists.sourceforge.net>>
Date: Tue, 28 Jun 2011 03:06:26 -0700
To: Post here
mailto:itext-questions@lists.sourceforge.net>>
Subject: Re: [iText-questions] Sign a PDF/A
Hello,
I am aware of the li
On 28/06/2011 10:30, mkl wrote:
> Which version exactly?
That's shown in the metadata. The producer is "iText® 5.1.1 ©2000-2011
1T3XT BVBA".
However: I would have expected "PDF Export 8.3.0 modified by iText®
5.1.1 ©2000-2011 1T3XT BVBA".
Strange.
Stefan,
stefanu wrote:
>
> I am currently evaluating the possibility to sign PDF/A with iText, using
> the free release.
Which version exactly? (BTW, all the publicly available iText versions are
for free use as long as you adhere to the respective license restrictions.)
stefanu wrote:
>
> I
1T3XT BVBA wrote:
>
> I failed to see why one would want to sign a PDF/A document, because
> there's no obligation for PDF/A compliant readers to be able to verify
> the signature.
>
Especially in the use case of archiving I see a necessity to sign, time
stamp, or both sign and time stamp docu
First, remember that signatures don't use encryption (well, not in the
same way) so that signatures are most certainly allowed in PDF/A (parts 1,
2 and 3). In PDF/A-1, we don't speak at all about signatures and they are
simply there as defined by PDF 1.4. However, PDF/A-2 and PDF/A-3 both
have ve
On 27/06/2011 17:14, mkl wrote:
> 1T3XT BVBA wrote:
>> PDF/A excludes the use of encryption algorithms, doesn't it?
>> Then how exactly would you sign a PDF and keep it conform with PDF/A?
> You might want to take a look at the PDF/A Competence Center Technical Note
Interesting!
I failed to see why
1T3XT BVBA wrote:
>
> On 27/06/2011 16:42, mpino wrote:
>> Does anybody have signed a PDF/A generated through itext or itextsharp?.
>> Any suggestions should be welcome.
> PDF/A excludes the use of encryption algorithms, doesn't it?
> Then how exactly would you sign a PDF and keep it conform with
On 27/06/2011 16:42, mpino wrote:
> Does anybody have signed a PDF/A generated through itext or itextsharp?. Any
> suggestions should be welcome.
PDF/A excludes the use of encryption algorithms, doesn't it?
Then how exactly would you sign a PDF and keep it conform with PDF/A?
-
Does anybody have signed a PDF/A generated through itext or itextsharp?. Any
suggestions should be welcome.
Best regards
mpino
--
View this message in context:
http://itext-general.2136553.n4.nabble.com/Sign-a-PDF-A-tp3627882p3627882.html
Sent from the iText - General mailing list archive at Nab
Hi all, this is my first question.
I have to sign a PDF using SHA-256 algorithm.
Somewhere I found this piece of code (this is an extraction from
my C# project classes, maybe not working now).
Where there is the comment: // <--- SUBSTITUTION (Win XP)
is my attempt to switch from SHA1 to SHA256, i
Hi all, this is my first question.
I have to sign a PDF using SHA-256 algorithm.
Somewhere I found this piece of code (this is an extraction from
my C# project classes, maybe not working now).
Where there is the comment: // <--- SUBSTITUTION (Win XP)
is my attempt to switch from SHA1 to SHA256, i
See http://article.gmane.org/gmane.comp.java.lib.itext.general/31769/.
Paulo
From: Suladna [sula...@yahoo.com]
Sent: Monday, June 22, 2009 1:44 PM
To: Post all your questions about iText here
Subject: Re: [iText-questions] Sign a PDF using a scanned signature
I
You have complete control over what goes in the signature’s appearance – but
whatever you want there…
From: Suladna [mailto:sula...@yahoo.com]
Sent: Monday, June 22, 2009 8:44 AM
To: Post all your questions about iText here
Subject: Re: [iText-questions] Sign a PDF using a scanned signature
I
20, 2009 6:01 AM
To: Post all your questions about iText here
Subject: Re: [iText-questions] Sign a PDF using a scanned signature
I'm not so high on this.. do you have any example on how to change the
signature image using XObject? (or n2 layer)
/Sul
--- On Fri, 6/19/09, Leonard
What do you mean "change the signature object"? Change it in what way?!?!?!
From: Suladna [mailto:sula...@yahoo.com]
Sent: Saturday, June 20, 2009 6:01 AM
To: Post all your questions about iText here
Subject: Re: [iText-questions] Sign a PDF using a scanned signature
I'm not
I'm not so high on this.. do you have any example on how to change the
signature image using XObject? (or n2 layer)
/Sul
--- On Fri, 6/19/09, Leonard Rosenthol wrote:
From: Leonard Rosenthol
Subject: Re: [iText-questions] Sign a PDF using a scanned signature
To: "Post all your
]
Sent: Friday, June 19, 2009 9:33 AM
To: Post all your questions about iText here
Subject: Re: [iText-questions] Sign a PDF using a scanned signature
Suladna wrote:
> Hi!
>
> I have read the "How to sign a PDF using iText and iTextSharp" and have
> succesfully signed a PD
Suladna wrote:
> Hi!
>
> I have read the "How to sign a PDF using iText and iTextSharp" and have
> succesfully signed a PDF document through iText.
>
> But I have not succeeded to sign using a scanned signature (an image),
> something which can be done in Adobe Acrobat. Is it possible to do t
Hi!
I have read the "How to sign a PDF using iText and iTextSharp" and have
succesfully signed a PDF document through iText.
But I have not succeeded to sign using a scanned signature (an image),
something which can be done in Adobe Acrobat. Is it possible to do this using
iText?
Best rega
I am trying to run sample from
http://itextpdf.sourceforge.net/howtosign.html#signextitextsharp2 on
Windows (Vista).
I am resulting always with an error: The Keyset is not defined
(0x80090019). It happens on line where function ComputeSignature is
called. Is there something wrong with my personal
Hi all. I found a example about sign a PDF using iText. That code looks like
this:
KeyStore ks = KeyStore.getInstance("pkcs12");
ks.load(new FileInputStream("my_private_key.pfx"), "my_password".toCharArray());
String alias = (String)ks.aliases().nextElement();
PrivateKey key = (PrivateKey)ks.getKe
Hello,
I managed to generate signed PDF's with filled signature fields, generated
from Belgian ID card.
But I would like to practice another way to sign a PDF.
Following Adobe documentation, one should be able to sign a PDF with Acrobat
Reader simply by clicking in an empty signature field.
So
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Denis Genard
> Sent: Tuesday, April 17, 2007 4:16 PM
> To: 'itext-questions@lists.sourceforge.net'
> Subject: [iText-questions] Sign a PDF by clicking in s
Thanks
Original-Nachricht
Datum: Fri, 23 Feb 2007 15:15:50 -
Von: "Paulo Soares" <[EMAIL PROTECTED]>
An: "Post all your questions about iText here"
CC:
Betreff: Re: [iText-questions] sign a PDF
> Select the windows handler and it will wor
23, 2007 10:14 AM
> To: Post all your questions about iText here
> Subject: Re: [iText-questions] sign a PDF
>
> Hallo,
>
> Thanks for the answer. I have found the solution. The
> keystore wasn't properly build.
> But next problem is that I get a message form
es" <[EMAIL PROTECTED]>
An: "Post all your questions about iText here"
CC:
Betreff: Re: [iText-questions] sign a PDF
> sap.setCrypto(key, chain, null, PdfSignatureAppearance.VERISIGN_SIGNED);
>
> Maybe key or chain are null.
>
> Paulo
>
> >
o: itext-questions@lists.sourceforge.net
> Subject: [iText-questions] sign a PDF
>
> Hello,
>
> I want to sign a PDF with the following code:
>
> KeyStore ks = KeyStore.getInstance(KeyStore.getDefaultType());
> System.out.println(ks.getProvider());
> ks.load(new
> FileI
Hello,
I want to sign a PDF with the following code:
KeyStore ks = KeyStore.getInstance(KeyStore.getDefaultType());
System.out.println(ks.getProvider());
ks.load(new FileInputStream("C:\\j2sdk1.4.2_05\\bin\\keystore3.ks"),
pass.toCharArray());
String alias = (String)ks.aliases().nextElement();
Hi, I'm trying to sign a pdf document using external hash and signature.
I notice that if i hash the same document (the result of the method
getRangeStream() ) twice, i obtain two different digests.
I suppose that this is becouse the pdf signature methods introduce some
randomness into the document
Hi, I want to sign a PDF file in this way:
1- Client: Asks for the PDF to be signed
2- Server 1: Creates a messageDigest and send it to client
3- Client: Signs the hash using java.security and sends the signedHash back
to the server
4- Server 2: inserts the signedHash in the PDF.
I'm a studen
Geldermann
> Sent: Monday, October 16, 2006 6:54 PM
> To: itext-questions@lists.sourceforge.net
> Subject: [iText-questions] sign a PDF with a crypto USB token
> and iText
>
> Is it possible to use iText in conjunction with a crypto USB
> token to sign a PDF and more speci
Is it possible to use iText in conjunction with a crypto USB
token to sign a PDF and more specifically the GeoTrust Adobe Document Signing one?
I was able to successfully sign a PDF using a typical PKCS#12, but am
interesting in possibly purchasing the GeoTrust one so people can verify my
i
I seem to remember that Reader 7 in German had a bug with the message. Try
with the English one.
- Original Message -
From: "Jens Kelkel" <[EMAIL PROTECTED]>
To:
Sent: Saturday, August 27, 2005 9:39 AM
Subject: [iText-questions] sign a PDF
> Hey,
>
> I have
Hey,
I have post this question a few days ago, but
I have get no answer. Therefore I try ha again.
I have sign a PDF with iText. But if I open
the PDF and look at the details of the
signature I find a message that the
document was changed or damaged after it was signed.
Anybody know what I have
Hallo,
I have sign a PDF with the following code:
KeyStore ks = keyStore.getInstance(KeyStore.getDefaultType());
ks.load(new FileInputStream("keystore.ks"),jenskelkel".toCharArray());
String alias = (String)ks.aliases().nextElement();
PrivateKey key = (PrivateKey)ks.getKey(alias, "jenskelkel".toC
77 matches
Mail list logo