Hi Leonard !

> Certs have to be in ASN.1
Yes, of course !

But what about the array ? I miss the info of how to build the 'array' holding 
the certificates.

In Julien's example the CERT object contains a PDFString, not a PDFArray. The 
PDFString is a stream of ASN.1 encoded certificates, afai can guess from the 
code. But this doesn't seem to be the way the Reader expects it to be done ...

Greetings

Andreas

----- original Nachricht --------

Betreff: Re: [iText-questions] Another spec question regarding a PKCS1 detail
Gesendet: Mo, 07. Feb 2011
Von: Leonard Rosenthol<[email protected]>

> Certs have to be in ASN.1
> 
> -----Original Message-----
> From: [email protected] [mailto:[email protected]] 
> Sent: Monday, February 07, 2011 2:37 PM
> To: [email protected]
> Cc: [email protected]
> Subject: [iText-questions] Another spec question regarding a PKCS1 detail
> 
> Hi experts,
> 
> Julien came up with an intersting problem regarding PKCS1 signatures.
> 
> He build the signatures using iText and offered all required cerrtificates
> to the corresponding method. These certificates are included into the cert
> entry, the signing certificate at first. Surprisingly the Acrobat reader
> complains about missing certificate path and shows just the signing
> certificate. 
> A close look into the cert's content shows that all three certificates are
> just padded together, without any container structure. The spec says 'An
> array of byte strings that shall represent the X.509 certificate chain
> [...]' is expected. What does this mean in this special context ? Something
> like an ASN.1 wrapper element ? An 'array' in terms of PDF ?
> 
> Any clue ?
> 
> Thanks in advance,
> 
> Andreas 
> 
> ----------------------------------------------------------------------------
> --
> The modern datacenter depends on network connectivity to access resources
> and provide services. The best practices for maximizing a physical server's
> connectivity to a physical network are well understood - see how these
> rules translate into the virtual world? 
> http://p.sf.net/sfu/oracle-sfdevnlfb
> _______________________________________________
> iText-questions mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> 
> 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://itextpdf.com/themes/keywords.php
> 
> ----------------------------------------------------------------------------
> --
> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
> Pinpoint memory and threading errors before they happen.
> Find and fix more than 250 security defects in the development cycle.
> Locate bottlenecks in serial and parallel code that limit performance.
> http://p.sf.net/sfu/intel-dev2devfeb
> _______________________________________________
> iText-questions mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> 
> 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://itextpdf.com/themes/keywords.php
> 

--- original Nachricht Ende ----


------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

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://itextpdf.com/themes/keywords.php

Reply via email to