Age | Commit message (Collapse) | Author | Files | Lines |
|
7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
|
|
not resolved at signing time (resulting from a BKU that could not resolve the respective OIDs):
e.g. 2.5.4.5=#1306323030383034,CN=Foreigner CA,C=BE
The example shows a RDN "2.5.4.5" which should have been resolved to "serialNumber" at signing time.
Imagine a line break between "Foreigner" and "CA" within the signature block. After text extraction the Name looks like as follows:
2.5.4.5=#1306323030383034, CN=ForeignerCA,C=BE
We recognize that the name shows spaces prior to RDNs and that the space between "Foreigner" and "CA" is missing due to text extraction/reconstruction. The naive approach would be to take the complete RFC2253 name from the certificate, since that name has also been used for signature. But this does not work in some cases because while the BKU was not able to resolve 2.5.4.5 on signing time, the entity invoking pdfas for verification might be at verification time, so that taking the name from certificate on verification time, may not result in the name we had at signing time.
This workaround merges information from text extraction with information from the certificate. The method takes all RDNs from the extracted text and merges them with the values from the certificate (considering the case where the textual version shows BER encoded values (e.g. <code>#1306323030383034</code>).
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@665 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
|
|
more user friendly version is used where escaped Names are already resolved.
Instead of strict RFC2253 name
"serialNumber=xxx,CN=xxx,OU=xxx,O=x\, xx,C=AT"
the following user friendly name ist used:
"serialNumber=xxx,CN=xxx,OU=xxx,O=x, xx,C=AT"
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@664 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
|
|
die der Organisation untergeordnet ist,O=Organisation,C=AT" fixed.
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@663 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
|
|
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@662 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
|
|
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@661 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
|
|
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@660 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
|
|
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@659 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
|
|
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@658 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
|
|
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@657 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
|
|
7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
|
|
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@655 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
|
|
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@654 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
|
|
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@653 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
|
|
7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
|
|
7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
|
|
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@649 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
|
|
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@648 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
|
|
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@647 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
|
|
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@646 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
|
|
7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
|
|
7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
|
|
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@643 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
|
|
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@642 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
|
|
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@641 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
|
|
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@640 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
|
|
improved collections
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@639 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
|
|
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@638 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
|
|
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@637 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
|
|
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@636 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
|
|
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@635 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
|
|
added override properties
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@634 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
|
|
added override properties
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@633 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
|
|
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@632 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
|
|
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@631 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
|
|
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@630 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
|
|
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@629 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
|
|
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@628 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
|
|
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@627 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
|
|
added override properties
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@626 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
|
|
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@625 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
|
|
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@624 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
|
|
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@623 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
|
|
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@622 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
|
|
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@621 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
|
|
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@620 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
|
|
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@619 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
|
|
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@618 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
|
|
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@617 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
|
|
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@616 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
|