Re: [iText-questions] pdf file signed with SHA256withECDSA

2016-07-26 Thread Andreas Kuehne
Hi Alfonso, I saw the problem with unrecognized OIDs for the different sets of EC parameter before. Maybe it boils down to defining another OID assignent. Could you please post a sample PDF with this type of signature? Greetings, Andreas > Hi, > I have a pdf file signed with Elliptic

Re: [iText-questions] Are certificates for PDF signing the same for HTTP SSL

2015-09-03 Thread Andreas Kuehne
Hi Néstor, the flap of a butterfly may cause a tornado! So did you ;-) Greetings, Andreas > I didn't know that a simple certification question would be so > controversial. > > Regards, > > Nestor > > On Thursday, September 3, 2015, Randy E. Hoover > wrote: >

Re: [iText-questions] itext in C?

2014-10-31 Thread Andreas Kuehne
feedback. Greetings, Andreas > It might be easier to use a C library or a command line tool than to try > and shoehorn a Java/.NET library into a non-Java/non-.NET environment. > > A quick google search returned this stackoverflow question: > - > http://stackoverflow.com/questions

Re: [iText-questions] Signing PDF

2014-08-07 Thread Andreas Kuehne
Using the correct BC version is a good starting point. But the xml parser is not part of BC ... Greetings, Andreas > Hi, > > > I'll try to sign the PDF later, but iText 5.5.2 uses BC 1.49: > http://sourceforge.net/p/itext/code/HEAD/tree/trunk/itext/pom.xml#l244 > &

Re: [iText-questions] PKCS#1 signature + iText = signed pdf

2013-02-28 Thread Andreas Kuehne
Get well soon ;-) > On 28/02/2013 9:42, Andreas Kuehne wrote: >> But I do miss your spicy comments > I got verbally slammed again recently. > I need some time to recover ;-) > > -- > Everyone hates

Re: [iText-questions] PKCS#1 signature + iText = signed pdf

2013-02-28 Thread Andreas Kuehne
Hi Bruno, that's the most informative post I've read for a long time. You named all the pitfalls (too obvious for me to see) and gave good orientation for the newbie! But I do miss your spicy comments ;-) Greetings, Andreas > On 27/02/2013 21:06, adamec wrote: >> Hmmm, fi

Re: [iText-questions] PKCS#1 signature + iText = signed pdf

2013-02-27 Thread Andreas Kuehne
this PDF, the PDF is changed an the signature is broken! Greetings, Andreas > I am not sure if I understand - which part doesn't make sense? Let's say I > have smartcard and I want to use it to sign a pdf file. Later, I just want > to attach this signature to a pdf using iText.

Re: [iText-questions] LTV signature in a single revision

2013-02-07 Thread Andreas Kuehne
must learn!" If Yoda is a crypto developer, I might tell this to the padawan. Greetings, Andreas <http://starwars.wikia.com/wiki/Padawan?action=edit> -- Free Next-Gen Firewall Hardware Offer Buy your Sophos nex

Re: [iText-questions] signing large pdfs , server side

2013-01-23 Thread Andreas Kuehne
Hi Cristian, the problem is not the signing itself but the modification of the PDF (insert the signature element). Afaik iText does this in memory, but I would love to learn that I'm wrong. The hashing and signing can be in two additional steps. Greetings, Andreas > Hi > > I use

Re: [iText-questions] desperatly trying to run Code sample 4.1: Signing a document using PKCS#11

2013-01-11 Thread Andreas Kuehne
Hi Marot, I would guess Slot 2 is interesting one! Obviously it needs credentials to be accessed (LoginException). Good luck, Andreas > Op 11/01/2013 12:12, Marot Laurent schreef: >> 134:String alias = (String)ks.aliases().nextElement(); >> Exception

Re: [iText-questions] Timestamp server

2013-01-07 Thread Andreas Kuehne
Hi Laurent, do you have special requirements regarding the timestamp service? Both iaik and bouncy castle provide a simple server implementation we have used successfully ... Greetings, Andreas > thank you. I'll digg caCert side as i'm currently investigating The CAcert > Assu

[iText-questions] Image Chunk and ct.showTextAligned()

2012-12-07 Thread Andreas Meyer
Is this a bug or wrong code? --- Image img = Image.getInstance("c:\\itext_logo.png"); img.scaleToFit(100, 40); ct.showTextAligned(content, Element.ALIGN_CENTER, new Phrase(new Chunk(img, 0, 0)), 421f, 300f, 0); --- Regard

Re: [iText-questions] require java program to decode iText generated code39 barcode on PDF

2012-11-19 Thread Andreas Kuehne
s/listinfo/itext-questions > > iText(R) is a registered trademark of 1T3XT BVBA. > Many questions posted to this list can (and will) be answered with a > reference to the iText book: http://www.itextpdf.com/book/ > Please check the keywords list before you ask for examples: > http://it

Re: [iText-questions] Create PDF using XML and XSL

2012-11-19 Thread Andreas Kuehne
working with iText as these tools are usually build on top of iText ;-) Greetings, Andreas > > > -- > Monitor your physical, virtual and cloud infrastructure from a single > web console. Get in-depth insight

Re: [iText-questions] problem including certificate chain in PDF

2012-11-09 Thread Andreas Kuehne
Hi keklikhasan, I wouldn't call this a problem! You always have just one root certificate. The other one (not required to build the certificate chain) will just be ignored. Greetings, Andreas K. > Hi, i have similar problem. i try to sign pdf with mobile signature. i use > itextpd

Re: [iText-questions] Signing a PDF with itext using an ARX CoSign device

2012-11-07 Thread Andreas Kuehne
hedule works out. In the best case I can write about a tested implementation ... Greetings, Andreas -- Andreas Kühne phone: +49 177 293 24 97 mailto: kue...@trustable.de Trustable Ltd. Niederlassung Deutschland Ströverstr. 18 - 59427 Unna Amtsgericht Hamm HRB 5868 Directors Andreas Kühne, Hei

Re: [iText-questions] Signing a PDF with itext using an ARX CoSign device

2012-11-07 Thread Andreas Kuehne
ertificate chain. Greetings, Andreas > What is "chainFull"? > Where does it come from? > > > > -- > View this message in context: > http://itext-general.2136553.n4.nabble.com/Signing-a-PDF-with-itext-using-an-ARX-CoSign-device-tp4656792p4656876.html > Sent f

Re: [iText-questions] Signing a PDF with itext using an ARX CoSign device

2012-11-06 Thread Andreas Kuehne
#x27;? This would do all the PDF specific stuff for you ... usually build upon iText! @all: Would there be interest in an adapter for iText to access a DSS server doing the signature creation stuff remotely? I would be proud to contribute! Greetings, Andreas > I use this code in iext 4.22 (bu

Re: [iText-questions] Signing a PDF with itext using an ARX CoSign device

2012-11-05 Thread Andreas Kuehne
ng. Just be sure the reserved area is big enough ... this is bit like gambling ;-) Greetings, Andreas -- Andreas Kühne phone: +49 177 293 24 97 mailto: kue...@trustable.de Trustable Ltd. Niederlassung Deutschland Ströverstr. 18 - 59427 Unna Amtsgericht Hamm HRB 5868 Directors Andreas

Re: [iText-questions] Signing PDF using Smart Card

2012-10-15 Thread Andreas Kuehne
That doesn't build a valid encrypted hash. I guess there is a ASN.1 holder structure around it. Search the list, Michael already had a thread on this topic ... Good luck, Andreas > Hi Andreas, > > Thanks a lot for your replay. > > if you open the signed pdf attached to my

Re: [iText-questions] Signing PDF using Smart Card

2012-10-14 Thread Andreas Kuehne
s no surprise as the certificates are the only part of these type of signature that's BER encoded. Regarding hash and certificate extraction: Bruno's book will help! Or you may try google ... Greetings, Andreas > Hi Andreas, > Could you please let me know what is the issue in the certif

Re: [iText-questions] Signing PDF using Smart Card

2012-10-12 Thread Andreas Kuehne
Hi yazeed, 'thumb up' for providing a problem PDF with your request! I can't explain the problem with the code you provided but the included certificates in the PDF look very strange ... no wonder why the reader complains about broken encoding! Greetings, Andreas > Hi, > i

Re: [iText-questions] R: failure in verify signature using SignWithBC

2012-10-10 Thread Andreas Kuehne
Hi Alfonso, a cross-check with our iaik-based verification tool succeeded. So this underpins the move to report a bug to BC. Greetings, Andreas > Hi again, > > please find attached the PDFs that cause the error and my fix in PdfPKCS7.java > > I produced the PDFs files using

Re: [iText-questions] getSignatureNames() returns an empty ArrayList on a signed PDF

2012-09-14 Thread Andreas Kuehne
Hi Oliver, once there was a 'bug' with signatures not related to page dictionaries. Are you using a recent version of iText? Anyway, could you post a sample of the 'phantom signature' pdf file. That's always interesting ... Greetings, Andreas > Hi > > I have a

[iText-questions] Back button (like history.back())

2012-09-13 Thread Andreas Meyer
@Leonard Rosenthol: >1 - app.execMenuItem("GoBack"); >2 - app.goBack Thanks Leonard! But if, for example, someone uses a localgoto on page 100 to get to page 200 and then executes a "app.goBack" then he gets to page 199 and not to page 100? @1T3XT BVBA: >There's no "standard" way to do that (n

[iText-questions] Back button (like history.back())

2012-09-13 Thread Andreas Meyer
Here is an example: PDF-page x has a chunk with a localgoto to page z PDF-page y has a chunk with a localgoto to page z Now I would like to have *one* chunk or button on PDF-page z which links me back to the page where I came from (page x *OR* page y)! @Leonard Rosenthol: >Of course - you can u

[iText-questions] Back button (like history.back())

2012-09-13 Thread Andreas Meyer
Hi, is it possible to get a button (or chunk) which works like history.back() in a web browser when clicking on it? It would be very nice to have a function like this on every page of a complex report with lots of localgotos. Thanks! --

Re: [iText-questions] How to get the HASH from a signature

2012-08-23 Thread Andreas Kuehne
ieve me that everything's correct' won't take you far ;-) Greetings, Andreas > Michael, it´s very complicate to explain for you, but I will try... I have > a new legal process to follow where the signed PDF document CAN BE converted > to other file standard, like .P7S

Re: [iText-questions] iText 5.3 signature verification

2012-07-24 Thread Andreas Kuehne
Hi Attila, can you post the signatures? Simple ones or advanced PAdES stuff? I'll could try to verify ... Greetings, Andreas > Dear Developers, > > The modified files of chapter 12 are downloadables thus we can test > the signatures. > > Do you have a verificati

Re: [iText-questions] Add form multiple times to a page

2012-07-22 Thread Andreas Sachs
e: > - PdfImportedPage extends PdfTemplate, so you can add the card using > addTemplate, > - You can wrap a PdfImportedPage object in an Image object, and add the > Images (for instance in a PdfPTable). Thank you for this tipps. It's working. Andreas

Re: [iText-questions] [SPAM] Re: [SPAM] Re: iText-5.3.0 digital signature problem?

2012-07-19 Thread Andreas Kuehne
Hi Paulo, introducing a new 'hashing' interface is a good approach. Even the strangest algorithm could be managed this way. And it would delegate the responsibilty for implementing adsurd requirements back to the requestor. Greetings, Andreas > The check for SunPKCS11 was to fix a

Re: [iText-questions] [SPAM] Re: [SPAM] Re: iText-5.3.0 digital signature problem?

2012-07-19 Thread Andreas Kuehne
e the check for SunPKCS11). This fails far to easily. E.g. I prefer to use the iaik PKCS11 provider ;-) Greetings, Andreas > Andreas, > > Andreas Kuehne-3 wrote >> would we be better off if iText doesn't use the given provider for >> hashing? The specified provider is u

Re: [iText-questions] [SPAM] Re: iText-5.3.0 digital signature problem?

2012-07-19 Thread Andreas Kuehne
e the specified provider a try. Greetings Andreas > Eric, > > Eric Chow wrote >> java.security.NoSuchAlgorithmException: no such algorithm: SHA1 for >> provider SunPKCS11-GD >> at sun.security.jca.GetInstance.getService(GetInstance.java:70) >> at su

Re: [iText-questions] Add form multiple times to a page

2012-07-18 Thread Andreas Sachs
don't know how i can add several filled out forms on one page. I hope it's more clear now. Thanks Andreas -- Live Security Virtual Conference Exclusive live event will cover all the ways today's secur

[iText-questions] Add form multiple times to a page

2012-07-17 Thread Andreas Sachs
Hello, i have a small AcroForm (credit card size) and want to put it multiple times on the same page (2 columns, 4 rows) with different content. The form is populated from a database. E.g. if the database contains 13 rows i want to create a pdf with 2 pages (first page 8 records, second page

Re: [iText-questions] [SPAM] Re: iText and signing pdf fils

2012-07-12 Thread Andreas Kuehne
mechanism as mkl > and Andreas already said. Yes, that's the way we went. But I didn't want come up with this solution to prevent confusion. Moreover we dropped all references to BC from the code manually to get a tiny applet. The hashing is done using the ever-ready Sun provider, al

Re: [iText-questions] iText and signing pdf fils

2012-07-12 Thread Andreas Kuehne
d can register it as crypto provider, too. You won't see any benefit from adding iaik. Greetings Andreas > Hello Michael and other contributors, > > I wonder if there are good practices for the provider adds the JVM and the > usage of storage iText-5.3.0 for signed SHA256? > > Cur

Re: [iText-questions] put additional information to a graph (annotation?)

2012-07-06 Thread Andreas Meyer
Thank you very much, Leonard! Here is a code which nearly suits my needs: PushbuttonField button = new PushbuttonField(writer, area, fieldName); button.setVisibility(PushbuttonField.VISIBLE_BUT_DOES_NOT_PRINT); PdfFormField pff = button.getField(); pff.setUserName(Tooltip_Text); pff.setWidget(are

[iText-questions] put additional information to a graph (annotation?)

2012-07-05 Thread Andreas Meyer
and which approach would you recommend? Thanks a lot! Best regards, Andreas -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and h

Re: [iText-questions] [SPAM] Re: Re: iText error in signing big PDF files: SigDict /Contents illegal data

2012-06-13 Thread Andreas Kuehne
Hi Michael, impressive! I wouldn't track this down! Anyway I don't like *Buffer classes and would have created a plain String and converted it to a byte array later on. Lazy me ... Greetings Andreas > Roberto, Andreas, > > this indeed is a bug in iText. > > Everything

Re: [iText-questions] [SPAM] Re: iText error in signing big PDF files: SigDict /Contents illegal data

2012-06-12 Thread Andreas Kuehne
. Baffled, Andreas > Roberto, > > Roberto Battistoni wrote >> Here is an example of file that once signed has the problem: > What is the exact size of that file? When I downloaded it I received > 212,643,376 bytes. The signature, on the other hand, contains the byte range

Re: [iText-questions] iText error in signing big PDF files: SigDict /Contents illegal data

2012-06-12 Thread Andreas Kuehne
Hi Roberto, your code doesn't seem to conrain any 'fail over 30 MB' condition. Could you manage to upload a sample to somewhere? Posting such a huge file on the list wouldn't be fun ;-) Greetings Andreas > I am trying to sign a lot of PDF files using iText (latest vers

Re: [iText-questions] PDF self sign failed, maybe bouncycastle has changed.

2012-04-15 Thread Andreas Kuehne
Hi Paulo, as there is no central point for e.g security provider registration I would fall back to a static block where you can check the provider version and / or the avialable BC objects. Greetings Andreas > I've no idea on how to do it in a reliable way, where to to put the > ver

Re: [iText-questions] PDF self sign failed, maybe bouncycastle has changed.

2012-04-13 Thread Andreas Kuehne
Hi Paulo, maybe it would be useful to include a check for the BC version (range) ? Greetings Andreas > Unless you are using the SVN HEAD you sould use BC 1.46. > > Paulo > > On Thu, Apr 12, 2012 at 8:06 PM, denixx baykin > wrote: >> Hi. I tried to self sign the pdf f

Re: [iText-questions] iText 5.2.1 and Bouncycastle 1.47

2012-04-09 Thread Andreas Kuehne
Hi Kwan Hon Luen, Bouncy Castle is undergoing some major/severe refactorings with incompatible changes at relevant API interfaces. So version dependecy not a problem of iText but all 'users' of BC. It hurts a lot! Greetings Andreas > It appears that iText 5.2.1 is not co

Re: [iText-questions] Adding OCSP response to authenticated attibutes causes invalid signature.

2012-04-05 Thread Andreas Kuehne
Hi Alekz, could you please send a sample? I would bet on a verification problem with the OCSP response. Greetings Andreas > Hello all, I'm testing the digital signature capabilities of iTextSharp and > came across this problem: when adding the ocsp response to the > authenitcate

Re: [iText-questions] Sign a pdf with text 5.2.0 and bouncy castle

2012-03-22 Thread Andreas Kuehne
rn on some kind of logging / tracing at the PKSC11 level? Greetings, Andreas > 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,

Re: [iText-questions] Sign a pdf with text 5.2.0 and bouncy castle

2012-03-22 Thread Andreas Kuehne
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 > &g

Re: [iText-questions] Sign a pdf with text 5.2.0 and bouncy castle

2012-03-22 Thread Andreas Kuehne
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 exter

Re: [iText-questions] HASH, SMARTCARD and PKCS#7 detached

2012-03-09 Thread Andreas Kuehne
smartcard interaction was one of the design goals we tried to implement with our signing server. I once made a post outlining our approach: http://www.junlu.com/list/27/752235.html Greetings Andreas > Hi Andreas, > > The code you posted works well ,thx a lot for this. > > I tried how

[iText-questions] Plans for upgrading to BC 1.47

2012-02-29 Thread Andreas Kuehne
://www.bouncycastle.org/wiki/display/JA1/Porting+from+earlier+BC+releases+to+1.47+and+later Greetings Andreas -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud compu

[iText-questions] Problem converting jpeg-coded multipage tiff into pdf

2012-02-27 Thread Andreas Wagner
y the customer cannot fix that problem, so we have to find a solution. Does anyone has an idea, how to solve that? Andreas GAI NetConsult GmbH - Am Borsigturm 58 - D-13507 Berlin Amtsgericht Charlottenburg HRB 52068 - USt.Id.Nr. DE 165533789 Geschäftsführer: Wilfrid Kettler - Detlef Weidenh

Re: [iText-questions] PDF Related Issue

2012-02-20 Thread Andreas Kuehne
Hi AppalaNaidu, if you don't know how to do simple classpath setup and if you are not fimiliar with Eclipse and didn't walked thru the documentation avialable for iText .. you will never meet your deadline! Greetings Andreas > HI Alexis, This is AppalaNaidu. > I downloaded l

Re: [iText-questions] PDF Related Issue

2012-02-20 Thread Andreas Kuehne
Hi AppalaNaidu, try the most obvious: Add the class that's missing the classpath, in this case the bouncy castle jar ... maybe you should refresh your Java basics .. Greetings, Andreas > HI Friends, This is ApplaNaidu. > Client requirement is file sending or saving with password

Re: [iText-questions] Sign and PDF with SmartCard and web browser only

2012-02-08 Thread Andreas Kuehne
problems solved ... Greetings Andreas > Max, > > madmax wrote >> In the signPdf method the sample Java code has reduced the code to: >> byte[] data= Base64.decodeBase64(digest.trim().getBytes()); > The data you received like that and then inserted in the PDF definitively is > a s

Re: [iText-questions] Sign and PDF with SmartCard and web browser only

2012-02-07 Thread Andreas Kuehne
Hi max, could you please forward the signed PDF? Greetings Andreas - original Nachricht Betreff: Re: [iText-questions] Sign and PDF with SmartCard and web browser only Gesendet: Mi, 08. Feb 2012 Von: madmax Hi MichaelI looked a little dipper to what you were saying and begun

Re: [iText-questions] Sign and PDF with SmartCard and web browser only

2012-02-02 Thread Andreas Kuehne
he signing code? If it verifies, you're sure to have the right certificate selected. Greeting Andreas > Andreas, Max, > > Andreas Kuehne-3 wrote >> For curiosity I took a look at the signature, too. Here's what I got: >> >> 2012-01-31 20:04:13,281 ERROR (http-0.0

Re: [iText-questions] Sign and PDF with SmartCard and web browser only

2012-01-31 Thread Andreas Kuehne
b:e4:5d:db:2f:6e:4a:dd:34:51:21:b8:6f:80:a1:0f:78:f2:8d:19:5c:99:3c:0c:cb:e1:fb:e3: This problem usually stems from unmatching signing keys / certificates. Up tol this point no details of the signature (signed attributes ...) are relevant. Greetings Andreas K. > Yes, we do indeed fail validati

Re: [iText-questions] SunPKC11 Exception when signing PDF

2012-01-30 Thread Andreas Kuehne
ter off at that mailing list ;-) Greetings Andreas > Hello, > > when i sign hundreds of PDF files i got this exception : > > > * java.security.ProviderException: Initialization failed > * at > sun.security.pkcs11.P11Signature.initialize(P1

Re: [iText-questions] PKCS11 implementation in iText

2011-12-09 Thread Andreas Kuehne
KCS11 details and pitfalls! Greetings Andreas > Hello, > > I want to use iText with an HSM by using the PKCS11 library. > > Do I have to implement my own solutionor is there an existing solution ? > > Thanks f

Re: [iText-questions] iText SHA-256 signing

2011-12-06 Thread Andreas Kuehne
hould look like ...f961fc*00*> Greetings, Andreas > Hi Michael > > Thanks for the reply - great to have confirmation that it should work. I've > picked up the following code from the page indicated; I've used this example > as I'm aware you can't sign SHA256 with W

Re: [iText-questions] Put an existing P7S inside a PDF

2011-11-03 Thread Andreas Kuehne
a very common pitfall, there are many posts in this list regarding this topic. Greetings, Andreas > Good Afternoon > > For a work I have to sign a PDF. > But not with a common way, because I alredy have the signature and the > certificates (for example "document.p7s") a

Re: [iText-questions] Infopath to PDF

2011-10-19 Thread Andreas Kuehne
Hi Tom, if you don't mind to get in touch with XSL, try to convert your data into XSL-FO and let it render by one of the XSL-FO-engines. You don't have to get near a single line of Java code or a compiler ... Greetings Andreas - original Nachricht Betreff: Re: [iText

Re: [iText-questions] problems reading a signed pdf

2011-07-19 Thread Andreas Kuehne
Hi Alessandro, I would bet that you missed to register the JCE provider, e.g. Bouncy Castle. 'SHA-1 RSA' probably refers to the signing algorithm of the certificate but doesn't affect the document digest. There are several different digests involved in a usual signature ... Gre

Re: [iText-questions] signing question re date/time

2011-06-29 Thread Andreas Kuehne
;s keytool. Or take alook at cacert.org ... Greetings Andreas - original Nachricht Betreff: Re: Re: [iText-questions] signing question re date/time Gesendet: Mi, 29. Jun 2011 Von: AJ Weber Ah, so as Leonard was getting to, it appears the CA provides a URL, and there is the example I

Re: [iText-questions] signing question re date/time

2011-06-29 Thread Andreas Kuehne
Hi AJ, I forget instantly, but google rmenbers : http://www.itextpdf.com/examples/iia.php?id=225 And if you like to know about Timestamp, search for RFC 3161 have a look at http://www.opentsa.org/#service Greetings Andreas - original Nachricht Betreff: Re: [iText-questions

Re: [iText-questions] signing question re date/time

2011-06-29 Thread Andreas Kuehne
Hi AJ ! Just add a (trusted) timestamp to your signature. I doesn't relate to the 'quality' leve of your certificate ... Greetings Andreas - original Nachricht Betreff: [iText-questions] signing question re date/time Gesendet: Mi, 29. Jun 2011 Von: AJ Weber I

[iText-questions] Searching for a word and read the pagenumber

2011-05-13 Thread Andreas Lingauer
about this at the forum. Thanks for your reply. Greetings Andreas -- Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the rea

Re: [iText-questions] URGENT HELP - PdfPKCS7 CERTIFICATE VERIFICATION

2011-04-13 Thread Andreas Kuehne
ctory tree /lib/security/cacerts and the cacerts file beneath the place where your Java version is installed. This should be the right place to add your root certificate. Maybe you could simply search for cacaerts in your file system ... Greetings and good luck, Andreas - original Nachricht --

Re: [iText-questions] Smartcard signing with iTextSharp and .NET 2.0

2011-04-12 Thread Andreas Kuehne
riety of interfaces for document delivery. But when it gets down to the card interface, things become tricky.Do you have a code sample to deal with your smartcard ? This could be a good starting point .. Greetings and good luck Andreas From: jlh To: itext-questions@lists.sourceforge.net Sent

Re: [iText-questions] DigitalSignature+ExpiryDate+in XFA Forms

2011-04-11 Thread Andreas Kuehne
Hold on, your on the right track ! You'll have to cast the certificate to a X509Certificate. This offers the getNotAfter() method ... Greetings Andreas - original Nachricht Betreff: Re: [iText-questions] DigitalSignature+ExpiryDate+in XFA Forms Gesendet: Mo, 11. Apr 201

Re: [iText-questions] URGENT HELP - PdfPKCS7 CERTIFICATE VERIFICATION

2011-04-10 Thread Andreas Kuehne
Hi Dushi, what's the exact problem ? Is the chain ncz included in the signature or is it unavailable at verification time ? Please post a sample PDF so I can check the signature with my favorite tool ... Greetings ANdreas - original Nachricht Betreff: [iText-questions] U

Re: [iText-questions] itext 5.05 pkcs7 detached sha256 bouncy sign problem

2011-03-09 Thread Andreas Kuehne
Please share your PDF. It's always hard to guess something from the code ... Greetings Andreas - original Nachricht Betreff: [iText-questions] itext 5.05 pkcs7 detached sha256 bouncy sign problem Gesendet: Mi, 09. Mrz 2011 Von: erfrwf erferf Hi, I have succesfully signed ,al

Re: [iText-questions] new Version iText 5.0.1

2011-03-08 Thread Andreas Kuehne
Hi Martin, I would recommend to take a look at Flying Saucer, a XHTML renderer on top of iText (http://code.google.com/p/flying-saucer/). I've seen very impressive projects with it. Maybe your job is done in 4 hours and can take a 3,9 week holiday ;-) Greetings Andreas - ori

Re: [iText-questions] Another spec question regarding a PKCS1 detail

2011-02-07 Thread Andreas Kuehne
Hi Paulo, thanks for your quick and clarifying response ! My vote : Drop the PKCS1 creation stuff. Leave code for PKCS1 verification ( if there is any ) for legacy compatibility. Greetings Andreas - original Nachricht Betreff: Re: [iText-questions] Another spec question

Re: [iText-questions] PDF Signature : validity unknown - belgium eid : Signature problem in a PDF, with a certificate chain (MyCertificate -& amp; gt; CitizenCA -& amp; gt; BelgiumRootCA)

2011-01-06 Thread Andreas Kuehne
value of the request !?! Anyone aware of this 'feature' ? Or is it a bug of the CA ? Afaik the Reader is very picky about nonces ... Greetings Andreas - original Nachricht Betreff: [iText-questions] PDF Signature : validity unknown - belgium eid : Signature problem in a

Re: [iText-questions] PDF Signature : validity unknown - belgium eid : Signature problem in a PDF, with a certificate chain (MyCertificate -> CitizenCA -> BelgiumRootCA)

2010-12-29 Thread Andreas Kuehne
Hi Julien, sounds wierd ... could you please post a sample PDF ? Greetings Andreas - original Nachricht Betreff: [iText-questions] PDF Signature : validity unknown - belgium eid : Signature problem in a PDF, with a certificate chain (MyCertificate -> CitizenCA -> Belgium

Re: [iText-questions] How to add external signature in pdf using itextsharp

2010-12-07 Thread Andreas Kuehne
to me : Where do you get the signature from ? From hashing the complete PDF ? If yes, you need to read the PDF spec regarding signatures. In any case, please scan this mailing list, this topic has been discussed in many aspect, several times. Greetings Andreas - original Nach

Re: [iText-questions] Another invalid signature thread

2010-10-26 Thread Andreas Kuehne
e tools to spy into the PDF bytes and get results more easily than trying to interpret a code snippet. Greetings Andreas - original Nachricht Betreff: Re: [iText-questions] Another invalid signature thread Gesendet: Mi, 27. Okt 2010 Von: jian zhang Hi,my code is: I

Re: [iText-questions] Estimated space, signing with timestamp

2010-09-13 Thread Andreas Kuehne
's easy to find ... Greetings Andreas - original Nachricht Betreff: [iText-questions] Estimated space, signing with timestamp Gesendet: Mo, 13. Sep 2010 Von: msinatl Hello,I am using the example from Chapter 12 (http://itextpdf.com/examples/iia.php?id=225) for signing u

Re: [iText-questions] ColumnText: Access to the already added elements

2010-09-12 Thread andreas
Good morning, first, thank you for your response. what I basically need to do is to grab the remaining parts of the object in the ColumnText-container. I must have access to those elements because my business logic depents on the remaining content in the ColumnText-container. In the meantime, I

Re: [iText-questions] problem including certificate chain in PDF

2010-09-10 Thread Andreas Kuehne
ded 'CN=QuoVadis EU Qualified Issuing Certification Authority,OU=Issuing Certification Authority,O=QuoVadis Limited\ , Bermuda,C=NL' Your signing certificate seems not to be a qualified certificate, so you must not include the qualified root certificate ! I guess you can fix that easil

Re: [iText-questions] problem including certificate chain in PDF

2010-09-10 Thread Andreas Kuehne
Hi Christophe, your signature is definitly skrewed up. For example it claims to be a signature containing it's signed content what doesn't make sense for a PDF signature. I'll have a look into the signature structure .. Greetings Andreas - original Nachricht Betr

Re: [iText-questions] problem including certificate chain in PDF

2010-09-10 Thread Andreas Kuehne
Hi Christophe, the chains looks good to me. But maybe the Reader complains about an untrusted root rather than a missing part of the chain ... Could you post an example ? Would like to take a inside .. Greetings Andreas - original Nachricht Betreff: [iText-questions] problem

[iText-questions] ColumnText: Access to the already added elements

2010-09-10 Thread andreas
like the getCompositeElements() in PdfPCell? Kind regards, andreas -- View this message in context: http://itext-general.2136553.n4.nabble.com/ColumnText-Access-to-the-already-added-elements-tp2534001p2534001.html Sent from the iText - General mailing list archive at Nabble.com

Re: [iText-questions] signing a pdf in three different steps

2010-08-12 Thread Andreas Kuehne
rius-sign/files/ ). Good luck Andreas - Original Message From: mkl To: itext-questions@lists.sourceforge.net Sent: Thu, August 12, 2010 11:14:29 AM Subject: Re: [iText-questions] signing a pdf in three different steps Andrea, famagosta wrote: > i was trying to sing a pdf in thr

Re: [iText-questions] '>' not expected at file pointer 558

2010-07-13 Thread Andreas Ebbert-Karroum
ed an acknowledgment in the Log Message: > Great, thanks. Continuous improvement ... one little step after the other :) Andreas -- This SF.net email is sponsored by Sprint What will you do first with EVO, the fi

Re: [iText-questions] '>' not expected at file pointer 558

2010-07-13 Thread Andreas Ebbert-Karroum
Good Morning, Am 12.07.2010 19:53, schrieb 1T3XT info: > Certainly! Thanks for the patch. > I'll try having a look at it tomorrow. > Ok, will you let me know, if you found it useful? Thanks, Andreas

Re: [iText-questions] '>' not expected at file pointer 558

2010-07-12 Thread Andreas Ebbert-Karroum
Hi, Am 12.07.2010 14:00, schrieb 1T3XT info: > Andreas Ebbert-Karroum wrote: > >> Not sure if this is still of interest to the others, who are subscribed >> to the mailing list/group. I hope I don't annoy anybody. With the >> knowledge, I could now probably fix

Re: [iText-questions] Recompressing the iText PDF library jar

2010-07-12 Thread Andreas Kuehne
be beaten easily ;-) Greetings Andreas ---Original Message From: Marko Elezović To: itext-questions@lists.sourceforge.net Sent: Sun, July 11, 2010 6:46:25 PM Subject: [iText-questions] Recompressing the iText PDF library jar Hello everyone! I took the liberty of going through the iT

Re: [iText-questions] '>' not expected at file pointer 558

2010-07-12 Thread Andreas Ebbert-Karroum
Am 12.07.2010 10:48, schrieb Andreas Ebbert-Karroum: > > >endbfchar > endcmap CMapName currentdict /CMap defineresource pop end end > D > ><00p > > The byte array has a length of 561 and the error occurs after reading > byte 558. When I look into the s

Re: [iText-questions] '>' not expected at file pointer 558

2010-07-12 Thread Andreas Ebbert-Karroum
ineresource pop end end D ><00p The byte array has a length of 561 and the error occurs after reading byte 558. When I look into the sources of PRTokeniser, this looks surprising to me, as it seems to throw the error, when there are two consecutive '>'

Re: [iText-questions] '>' not expected at file pointer 558

2010-07-12 Thread Andreas Ebbert-Karroum
Hi, Am 12.07.2010 09:47, schrieb 1T3XT info: > Andreas Ebbert-Karroum wrote: > >> Maybe? >> > You'll have to check. > > I'd love to :) I already installed a trial version of Adobe Acrobat Pro. There's a content tool in Acrobat which allowe

Re: [iText-questions] '>' not expected at file pointer 558

2010-07-12 Thread Andreas Ebbert-Karroum
F file is giving the problem? > > I'm sending it to you in a private E-Mail. Thanks for taking a look! Andreas Ebbert-Karroum -- This SF.net email is sponsored by Sprint What will you do first with EVO

Re: [iText-questions] '>' not expected at file pointer 558

2010-07-12 Thread Andreas Ebbert-Karroum
currently blocked with our automated acceptance tests, since we cannot process the generated PDFs. Thanks, Andreas Am 08.07.2010 18:18, schrieb Andreas Ebbert-Karroum: > Hi, > > I'd like to discuss the problem again, that was mentioned in those > posts on the mailing list: > >

[iText-questions] '>' not expected at file pointer 558

2010-07-08 Thread Andreas Ebbert-Karroum
ehow? Although it seems that this is a known problem, I couldn't find a bug a request for enhancement in the tracker on sourceforge. Shall I create one? Thanks for your help, Andreas Ebbert-Karroum, Full stacktrace: ExceptionConverter: com.itextpdf.text.exceptions.InvalidPdfExceptio

Re: [iText-questions] iText Perfomance Issue on WebLogic 9.2 MP3

2010-06-04 Thread Andreas Kuehne
shouldn't cause too much trouble. Then tell us whether the problem still exists. Good luck Andreas - original Nachricht Betreff: Re: [iText-questions] iText Perfomance Issue on WebLogic 9.2 MP3 Gesendet: Do, 03. Jun 2010 Von: Mark Storer That’s the first I’ve heard ofit. Ca

Re: [iText-questions] Certificate vendors for digital signatures

2010-05-06 Thread Andreas Kuehne
e cheapest ;-) Greetings Andreas From: "msilverbo...@cfglife.com" To: itext-questions@lists.sourceforge.net Sent: Wed, May 5, 2010 10:38:19 PM Subject: [iText-questions] Certificate vendors for digital signatures Hi All, We have purchased a Verisign cl

Re: [iText-questions] Reverted y position when using TextLayout.draw?

2010-04-30 Thread Andreas Wenger
Hi Paulo, thanks for your quick reply. OK, then it's no bug, I just wondered why all the rest of the stuff (and it's a lot, including rotated and scaled images, texts, lines, bezier shapes, ...) work perfectly and just TextLayout.draw fails. If anybody with the same problem reads this, here is

[iText-questions] Reverted y position when using TextLayout.draw?

2010-04-30 Thread Andreas Wenger
Hi, I've created code using Java2D functions that is both used for printing with Java and for creating PDF files with iText. Everything works fine, there is only one problem: When calling for example TextLayout myTextLayout = ... myTextLayout.draw(myGraphics2D, 0, 50); Java2D interprets the 50

  1   2   3   >